# | Test Case input | Expected | Received | Status |
---|
1. | 3, 3, {17,2,7}, {13,16,3,4} | 7 | 3 | Wrong |
2. | 12, 6, {254,57,141,350,172,160,228}, {39
,38,140,382,358,136,293,222,125,114,42,3
,255,139,302} | 35 | Exception occured when executing test ArrayIndexOutOfBoundsException: 25 | Error |
3. | 16, 7, {422,465,260,145,611,589,667,163,
155,90,33,211,584}, {49,190,290,466,698,
78,575,208,18,146,102,714,445,450} | 39 | Exception occured when executing test ArrayIndexOutOfBoundsException: 33 | Error |
4. | 19, 6, {696,674,932,70,902,388,402}, {88
1,814,526,581,768,15,223,537,207,898,491
,285,259,833,444,811,607,546,655,14} | 63 | Exception occured when executing test ArrayIndexOutOfBoundsException: 39 | Error |
5. | 12, 4, {217,94,102,58,88}, {107,142} | 20 | Exception occured when executing test ArrayIndexOutOfBoundsException: 25 | Error |
6. | 12, 1, {320,319}, {272,306,200,11,230,37
0,256,6,117,224,71,243,170,347,52,371,29
0} | 17 | Exception occured when executing test ArrayIndexOutOfBoundsException: 25 | Error |
7. | 16, 2, {419,171}, {429,110,715,608,199,2
91,190,702,124,340,449,28,132,445,46,348
,618,653,434,295,527,649,399,204,230,532
,372} | 23 | Exception occured when executing test ArrayIndexOutOfBoundsException: 33 | Error |
8. | 9, 1, {136,203}, {167,26,181,13,110,64,1
13,35,175,24,14,72,16,37,98,216,92,109,1
62,79,140,151,155,107,215,212,209,183,3}
| 10 | Exception occured when executing test ArrayIndexOutOfBoundsException: 19 | Error |
9. | 15, 1, {487,428,247,66,346,354,81}, {208
,123,469,507} | 12 | Exception occured when executing test ArrayIndexOutOfBoundsException: 31 | Error |
10. | 13, 6, {419,35,216,84,180,46,10}, {12,46
6,441,51,226,406} | 37 | Exception occured when executing test ArrayIndexOutOfBoundsException: 27 | Error |
11. | 13, 4, {165,467,340,277,140}, {448,111,2
63,377,353,308,273,232,444,244,348,459,8
5,434,118,17,465,443,55,350,23,370} | 24 | Exception occured when executing test ArrayIndexOutOfBoundsException: 27 | Error |
12. | 11, 2, {207,161,127}, {171,69,162,132,20
0,116} | 14 | Exception occured when executing test ArrayIndexOutOfBoundsException: 23 | Error |
13. | 7, 3, {11,6,114,52,60,55,33}, {109,51,91
,79,69,64,87,58,88,3,32} | 9 | Exception occured when executing test ArrayIndexOutOfBoundsException: 15 | Error |
14. | 8, 3, {69,153,25}, {48,81,54,136,142,124
,41,110,57,23,131,33,135,9,80,125,67,145
,24,62,12,143,50,32} | 20 | Exception occured when executing test ArrayIndexOutOfBoundsException: 17 | Error |
15. | 9, 6, {116,214,153,174,65,4,200,33,216,1
41}, {44,35,90,71,198,123,50,79,14,72,80
,118,96,197,151,51,127,132,86} | 24 | Exception occured when executing test ArrayIndexOutOfBoundsException: 19 | Error |
16. | 10, 1, {77}, {21,139,123,168,225,170,192
,211,2} | 6 | Exception occured when executing test ArrayIndexOutOfBoundsException: 21 | Error |
17. | 4, 2, {25,14,31,4,8,35,26}, {34,21,23,5}
| 4 | Exception occured when executing test ArrayIndexOutOfBoundsException: 9 | Error |
18. | 14, 4, {395,333,502,29,217,510,150}, {17
4,260,183,391,294,401,72,432,131,323,446
,202,93,97,208,127,363,161,236,487} | 28 | Exception occured when executing test ArrayIndexOutOfBoundsException: 29 | Error |
19. | 7, 1, {98,51,96,101,61,120,33,17,97,68,9
9,48}, {100,76,38,67,29,103} | 2 | Exception occured when executing test ArrayIndexOutOfBoundsException: 15 | Error |
20. | 6, 3, {33,38,32,75,73,56}, {11,28,31,17,
67,12,19,59,88} | 8 | Exception occured when executing test ArrayIndexOutOfBoundsException: 13 | Error |
21. | 14, 10, {123,489,360,421,66,217,433,132,
197,491,526}, {69,195,40,16,72,398,221,1
34} | 47 | Exception occured when executing test ArrayIndexOutOfBoundsException: 29 | Error |
22. | 15, 3, {368,363,428}, {322,237,422,187,2
43,587,287,303} | 30 | Exception occured when executing test ArrayIndexOutOfBoundsException: 31 | Error |
23. | 3, 2, {5,2}, {13,6,8} | 2 | 2 | Correct |
24. | 15, 5, {487,207,443,254,187,505,485,300,
466}, {307,331,605,218,85,53,334,603,454
} | 24 | Exception occured when executing test ArrayIndexOutOfBoundsException: 31 | Error |
25. | 19, 2, {816,274,911}, {623,284,607,315,1
008,127,491,404,216,406,981,573,802,671,
31,848,979,561,507,698,71,965} | 31 | Exception occured when executing test ArrayIndexOutOfBoundsException: 39 | Error |
26. | 14, 3, {195,152,4,537}, {124,429,133,134
,142,492,400,497,425,240,119,368,470} | 15 | Exception occured when executing test ArrayIndexOutOfBoundsException: 29 | Error |
27. | 14, 3, {67,500,141}, {393,391,340,179,37
2,400,28,225,488,344,188} | 36 | Exception occured when executing test ArrayIndexOutOfBoundsException: 29 | Error |
28. | 12, 2, {85,307,316,367,266,181,30}, {351
,102,350,129,152,151,193,179,180,94,146,
4,192,199,163,186,354,243,379,200,134,20
7,124,392,340,234,15} | 14 | Exception occured when executing test ArrayIndexOutOfBoundsException: 25 | Error |
29. | 17, 10, {341,115,774,214,437,226,404,319
,11,348,50,224}, {278,243,118,142,198,74
6,445,109,173,326,333,419,485,484,603,94
,161,668,189,48,355,649,187,788,422,672}
| 46 | Exception occured when executing test ArrayIndexOutOfBoundsException: 35 | Error |
30. | 14, 5, {40,496,261,73,301,467,138,497,40
3,457,419,357,415}, {39,402,41,469,173,4
22,177,350,539,2,161,418,150,166,74,136,
439,20,502,349,253,429,260,77,483,110,44
4,487} | 28 | Exception occured when executing test ArrayIndexOutOfBoundsException: 29 | Error |
31. | 19, 1, {845,370,570}, {954,162,778,144,7
6,223,977,638,448,727,353,646} | 14 | Exception occured when executing test ArrayIndexOutOfBoundsException: 39 | Error |
32. | 19, 11, {661,909,328,1023,41,436,5,935,8
1,760,370}, {352,425,95,575,868,189,416,
347,925,318,883,282,711,234,947,799,808,
274,452,238,833,628,260,2,559,1005,973,9
50,301} | 95 | Exception occured when executing test ArrayIndexOutOfBoundsException: 39 | Error |
33. | 7, 1, {100,38}, {2,107,85,71,126,61,86,9
9,63,75,6,116,59,110} | 4 | Exception occured when executing test ArrayIndexOutOfBoundsException: 15 | Error |
34. | 11, 5, {97,148,226,166,330,258,59,159,20
}, {33,70,247,304,101,318,61,189,198,54,
187,12,190} | 23 | Exception occured when executing test ArrayIndexOutOfBoundsException: 23 | Error |
35. | 16, 1, {514,457,38,415,671}, {434,638,35
1,650,158,197,339,692,369,565,618,716,58
8,475,28,579,353,312,153,623,530,456,269
,414,83,396,583,212} | 4 | Exception occured when executing test ArrayIndexOutOfBoundsException: 33 | Error |
36. | 13, 7, {89,427,229,54,315,441,203,422},
{204,434,337,162,86,93,111,11,412,130,57
,247,468,29,306} | 47 | Exception occured when executing test ArrayIndexOutOfBoundsException: 27 | Error |
37. | 12, 4, {193,221,363,280}, {117,198,104,4
6,137,262,192,43,339,149,27,97,231,66,87
,148,55,320,366,242,319,70} | 26 | Exception occured when executing test ArrayIndexOutOfBoundsException: 25 | Error |
38. | 18, 4, {455,752,362,859,404,811,649,591,
737}, {502,182,236,739,424,338,616,903,7
64,206} | 32 | Exception occured when executing test ArrayIndexOutOfBoundsException: 37 | Error |
39. | 17, 5, {765,700,800,464,281,753,40,319,1
31,678,624}, {525,763,61,784,379,461,795
,629,602,564,517,801,262,814,732,197,522
,748,636,616,436,282,163,460,749,627,182
,283,594} | 34 | Exception occured when executing test ArrayIndexOutOfBoundsException: 35 | Error |
40. | 8, 2, {145,168,44,94,151,130,126}, {132,
56,52,78,119,157,61,22,92,110,71,65} | 11 | Exception occured when executing test ArrayIndexOutOfBoundsException: 17 | Error |
41. | 10, 4, {226,237,246,163,41,141}, {51,197
,124,91,147,169,46,109} | 24 | Exception occured when executing test ArrayIndexOutOfBoundsException: 21 | Error |
42. | 8, 1, {32,51,136,118,11,119,84}, {64,163
,122,38,54,125,68,20,76,139,128,50,17,13
4,4,111,53,92,131,26,60} | 2 | Exception occured when executing test ArrayIndexOutOfBoundsException: 17 | Error |
43. | 6, 2, {40,25}, {18,13,74,88} | 9 | Exception occured when executing test ArrayIndexOutOfBoundsException: 13 | Error |
44. | 17, 1, {341,34,492,438,391,166,169,313},
{89,736,146,591,378,404,496,774,316,317
,531,65,96,444,701,526,137,550,64,618,61
9,742,134,205,196,785} | 8 | Exception occured when executing test ArrayIndexOutOfBoundsException: 35 | Error |
45. | 17, 3, {373,125,752,258,769,121}, {588,3
58,332} | 18 | Exception occured when executing test ArrayIndexOutOfBoundsException: 35 | Error |
46. | 13, 8, {148,461,468,247,443,90,390,455},
{169,208,157,323,134,299,234,110,359,36
1,6,34,222,277,382,257,352} | 54 | Exception occured when executing test ArrayIndexOutOfBoundsException: 27 | Error |
47. | 15, 2, {110,201,460,55,331,446,462,108,6
8,296,14}, {} | 6 | Exception occured when executing test ArrayIndexOutOfBoundsException: 31 | Error |
48. | 15, 1, {170,282,230,248,179,380,397,453}
, {410,591,246,84,617,342,511,419,475,24
1,512,625,18,429,9,514,575,58,69} | 9 | Exception occured when executing test ArrayIndexOutOfBoundsException: 31 | Error |
49. | 15, 4, {84,296,542,63}, {414,189,409,462
,568,408,149,140,571,124,268,600,511} | 36 | Exception occured when executing test ArrayIndexOutOfBoundsException: 31 | Error |
50. | 3, 2, {3,8,11}, {13,15,7} | 4 | 2 | Wrong |
51. | 9, 3, {136,50,170,211,200,82,191,81,198,
20,47,12,151}, {119,70,15,111,212,203,88
,108,63,114,103,178,94,120,33,56,28,65,5
4,184,62,48,85,80,10,177} | 9 | Exception occured when executing test ArrayIndexOutOfBoundsException: 19 | Error |
52. | 18, 2, {910,139,358,603}, {463,365,46,64
5,511,150,291,373,606,262,582,89,841,289
} | 23 | Exception occured when executing test ArrayIndexOutOfBoundsException: 37 | Error |
53. | 11, 8, {144,157,35,120,330,146,59,119,10
6,179}, {193,191,173,308,28,12,96,324,68
,174,217,320,310,250} | 28 | Exception occured when executing test ArrayIndexOutOfBoundsException: 23 | Error |
54. | 19, 4, {261,880,945,570,63,259,819,760},
{759,437,935,918,655,370} | 41 | Exception occured when executing test ArrayIndexOutOfBoundsException: 39 | Error |
55. | 4, 2, {5,6,15}, {23,26,34,19,7,29,2,14} | 2 | Exception occured when executing test ArrayIndexOutOfBoundsException: 9 | Error |
56. | 5, 1, {9,49,2}, {25,20,24,22,47,34,18} | 1 | Exception occured when executing test ArrayIndexOutOfBoundsException: 11 | Error |
57. | 19, 8, {33,506,156,48,828,643,1016,293,8
49,805,918}, {254,784,45,458,139,436,588
,77,1026,121,336,553,218,852,309,548,161
,424,333,913,289,746,726} | 62 | Exception occured when executing test ArrayIndexOutOfBoundsException: 39 | Error |
58. | 18, 3, {123,887,716,271,164}, {417,554,8
65,355,907,599,736,719,38,546,301,65,40,
749,13,510} | 29 | Exception occured when executing test ArrayIndexOutOfBoundsException: 37 | Error |
59. | 17, 3, {104,34,118,651,23,592,184,457,73
0,550,134,667}, {453,109,813,513} | 17 | Exception occured when executing test ArrayIndexOutOfBoundsException: 35 | Error |
60. | 14, 1, {172}, {400,444,505,80} | 9 | Exception occured when executing test ArrayIndexOutOfBoundsException: 29 | Error |
61. | 8, 2, {94,102,50}, {26,152,86,18,146,66,
15,44,41,47} | 15 | Exception occured when executing test ArrayIndexOutOfBoundsException: 17 | Error |
62. | 17, 2, {71,2,525}, {81,426,82,735,239,52
,30,671,203} | 16 | Exception occured when executing test ArrayIndexOutOfBoundsException: 35 | Error |
63. | 19, 3, {359,828,1017,156,588,485,151,189
,329,397,826,945}, {463,152,761,762,308,
670,926,888,870,241,203,859,542,48,198,7
16,137,404,191,120,623,451,697} | 16 | Exception occured when executing test ArrayIndexOutOfBoundsException: 39 | Error |
64. | 5, 7, {6,55,35,53,30,39,10,29}, {45,3,25
,33,7,34,8,2,46} | 14 | Exception occured when executing test ArrayIndexOutOfBoundsException: 11 | Error |
65. | 13, 7, {41,48,211,43,218,304,276,324,69,
12,437,420,319}, {433,144,122,77,395,252
,189,162,290,316,184,14,447,278,272,409,
115} | 30 | Exception occured when executing test ArrayIndexOutOfBoundsException: 27 | Error |
66. | 18, 2, {289,15,258}, {247} | 13 | Exception occured when executing test ArrayIndexOutOfBoundsException: 37 | Error |
67. | 15, 4, {518,45,73,355,56,21,486,541}, {3
59,183,454,571,557,227,566,585,288,97} | 17 | Exception occured when executing test ArrayIndexOutOfBoundsException: 31 | Error |
68. | 5, 4, {40,50,36,42}, {30,32,49,54,20,51,
4,56,14,9,41,28,11} | 15 | Exception occured when executing test ArrayIndexOutOfBoundsException: 11 | Error |
69. | 6, 2, {90,41,57,29,15,39,60}, {11,71,72,
43,65,73,52,81,48,47,58,5,74,32,76,36,38
,18,88,17} | 6 | Exception occured when executing test ArrayIndexOutOfBoundsException: 13 | Error |
70. | 14, 5, {284,531,212,172,473,117,150,464,
192,314,267,50}, {410,214,307,503,429,33
9,361,218,519,379,109,383,376,27,397,143
,164,491,540,108,291,213,419,188,94,67,4
81,29,175} | 17 | Exception occured when executing test ArrayIndexOutOfBoundsException: 29 | Error |
71. | 13, 1, {135,355,419,137,277}, {337,45,30
1,95,265,270,319,381,59,148,304,455,182,
369,413,283,377,436,234,306,255,459,34,1
10,426,368,152,124} | 8 | Exception occured when executing test ArrayIndexOutOfBoundsException: 27 | Error |
72. | 5, 4, {53,46,37,12,59,45,51,43,2,16,23,3
2}, {28,14,10,22} | 6 | Exception occured when executing test ArrayIndexOutOfBoundsException: 11 | Error |
73. | 8, 5, {51,5,31,159,123,144,156,71,168,13
9,143,23}, {87,85,24,127,110,122,68,167,
28,113,45,37,3,8,135,124,66,103,153,88,4
2,119,145,29,77,80} | 15 | Exception occured when executing test ArrayIndexOutOfBoundsException: 17 | Error |
74. | 15, 11, {467,292,145,575,8,103,371,94,17
,271,521}, {224} | 64 | Exception occured when executing test ArrayIndexOutOfBoundsException: 31 | Error |
75. | 12, 3, {345,230,81,314,135,64}, {241,296
,10,139,110,348,288,6,242,114} | 13 | Exception occured when executing test ArrayIndexOutOfBoundsException: 25 | Error |
76. | 14, 3, {234,292,423,382,122,250,361,286,
228,522,507,140,352}, {520,226,128,110,1
57,173,206,285,37,29,516,2,478,389,454,1
63,22,209,162,197,312,103,326,89,68} | 24 | Exception occured when executing test ArrayIndexOutOfBoundsException: 29 | Error |
77. | 6, 2, {86,21,81}, {46,12,39,24,30,70,33,
35,8,45,66,37,26,58,80,73} | 12 | Exception occured when executing test ArrayIndexOutOfBoundsException: 13 | Error |
78. | 9, 1, {22,159}, {188,149,179,182,130,158
,9,216,86,88,183,155,122,101,38,135} | 2 | Exception occured when executing test ArrayIndexOutOfBoundsException: 19 | Error |
79. | 16, 1, {521,253,31,378,184,209,432,73,41
0,636,396,463,661}, {345,689,653,202,700
,124,331,626,606,250,186,87,704,677,249}
| 4 | Exception occured when executing test ArrayIndexOutOfBoundsException: 33 | Error |
80. | 8, 4, {12,164,65,10}, {137,29,74} | 18 | Exception occured when executing test ArrayIndexOutOfBoundsException: 17 | Error |
81. | 10, 1, {248,113,68,3,260,56}, {133,207,1
64,167,24,14,32} | 2 | Exception occured when executing test ArrayIndexOutOfBoundsException: 21 | Error |
82. | 7, 3, {51,111,88,40,25,29}, {119,30,87,6
1,34,23,104,37,89,63,118,8,116,120,71,10
2,117,81,27,35,95,75,49,114,96,121} | 6 | Exception occured when executing test ArrayIndexOutOfBoundsException: 15 | Error |
83. | 6, 4, {81,36,18,17,77}, {86,29,46,82,83,
51,65,61,16,48,47,49,7,89,43,57,53,4} | 12 | Exception occured when executing test ArrayIndexOutOfBoundsException: 13 | Error |
84. | 12, 2, {95,194}, {157,376,203,37,285,20,
83} | 13 | Exception occured when executing test ArrayIndexOutOfBoundsException: 25 | Error |
85. | 14, 5, {9,55,395,108,3}, {484,445,356,20
8,466,514,362,280,132,369,545,11,434,444
} | 27 | Exception occured when executing test ArrayIndexOutOfBoundsException: 29 | Error |
86. | 8, 4, {61,55,17,161,123,29,45,96,38,141,
100}, {87,163,59,151,111,168,35,67,135,1
13,103,90,162,129,84,14,104,47,148,74} | 11 | Exception occured when executing test ArrayIndexOutOfBoundsException: 17 | Error |
87. | 17, 8, {1,728,198,90,498,683,18,374}, {4
86,656,509,108,654,504,710,186,394,541,7
5,52,239,307} | 48 | Exception occured when executing test ArrayIndexOutOfBoundsException: 35 | Error |
88. | 8, 13, {142,74,120,121,100,45,97,47,4,50
,71,72,38}, {39,63} | 37 | Exception occured when executing test ArrayIndexOutOfBoundsException: 17 | Error |
89. | 3, 3, {16,17,8,1}, {4,7,11} | 5 | 3 | Wrong |
90. | 6, 3, {39,25,58,5}, {13,44,54,12,88,84,8
0,33,59,52,89,23,37,74,73,46,50,34} | 10 | Exception occured when executing test ArrayIndexOutOfBoundsException: 13 | Error |
91. | 15, 1, {569,111,122,64,243,395,298,596,3
33,487}, {176,273,93} | 6 | Exception occured when executing test ArrayIndexOutOfBoundsException: 31 | Error |
92. | 3, 2, {5,8,2}, {12,13,18,9} | 2 | 2 | Correct |
93. | 5, 1, {32}, {47,2,55,43,53,33,28,10} | 5 | Exception occured when executing test ArrayIndexOutOfBoundsException: 11 | Error |
94. | 5, 6, {10,8,59,42,13,51,31,14,57,25,22},
{27,12,50,52,9,58,60,56,38,28,49,17,7} | 10 | Exception occured when executing test ArrayIndexOutOfBoundsException: 11 | Error |
95. | 3, 1, {18}, {5,10,9,12,11} | 5 | 1 | Wrong |
96. | 5, 2, {33,44,29,31,45,4}, {51,11,42,38,1
0,32,22,20,47,43,27,48,15} | 6 | Exception occured when executing test ArrayIndexOutOfBoundsException: 11 | Error |
97. | 8, 8, {152,53,55,67,62,77,16,162,119,41,
28,148}, {47,52,166,8,140,141,144,92,98,
84,123,128,24,115,36,113,83,10,147,112} | 21 | Exception occured when executing test ArrayIndexOutOfBoundsException: 17 | Error |
98. | 3, 2, {9,3}, {8,17,15,7} | 5 | 2 | Wrong |
99. | 7, 4, {31,105,103,12,10,52,69,29,117}, {
90,95,82,32,79,123,109,99,22,48,67,121,5
7,38,63,56,4,93,124,14,41,92,60,89,84,74
} | 8 | Exception occured when executing test ArrayIndexOutOfBoundsException: 15 | Error |
100. | 20, 2, {2,1000}, {552,553,554,555,556,55
7,558,559,560,561,562,563,564,565,566,56
7,568,569,570,571,572,573,574,575,576,57
7,578,579,580,581,582,583,584,585,586,58
7,588,589,590} | -1 | Exception occured when executing test ArrayIndexOutOfBoundsException: 41 | Error |