PrivateTestCase / check-if-there-is-a-valid-partition-for-the-array.json
DataRepo's picture
Upload part 1 of 2
e9c45f3 verified
[{"file":"testcase_1.txt","input":[331,66,424,258,871,762,663,736,431,987,14,579,740,678,44,893,273,883,811,659,168,683,123,950,973,597,227,838,876,661,542,105,389,872,288,2,735,897,502,672,654,473,585,579,223,881,847,728,292,958,428,885,698,54,358,309,188,216,740,883,972,589,55,320,994,733,675,135,860,803,869,783,782,626,167,329,320,430,943,542,559,808,4,311,558,373,888,181,278,296,193,373,710,639,584,514,454,99,555,516,251,139,791,720,167,423,541,777,614,758,515,139,767,23,340,104,46,185,195,765,351,163,227,467,755,756,15,647,777,587,106,452,261,469,993,211,105,675,730,817,561,772,215,998,594,593,865,96,687,499,928,628,798,17,956,357,984,249,811,553,745,360,493,905,283,316,382,65,295,38,44,314,428,210,843,655,455,667,615,73,293,239,964,58,253,496,254,268,600,544,983,768,225,862,416,997,444,3,131,830,673,547,215,490,29,826,632,211,834,565,384,554,708,36,849,805,995,41,953,563,359,339,824,560,770,847,77,754,68,568,937,753,907,406,655,851,556,412,42,571,161,464,909,449,214,690,871,955,489,525,39,46,103,523,510,819,65,765,433,863,521,161,440,547,963,889,43,224,935,420,985,208,909,832,577,672,351,58,940,934,566,713,321,457,189,109,843,257,961,853,700,408,685,512,220,633,217,45,697,308,193,210,221,454,926,247,721,320,117,69,908,180,140,67,587,137,224,890,681,26,238,692,280,120,801,369,677,820,467,775,814,31,426,694,668,116,704,860,964,929,9,887,928,309,149,662,17,725,240,476,111,404,144,744,889,202,24,126,242,15,850,858,129,949,314,331,790,140,162,1,418,316,35,277,229,587,2,158,255,618,232,150,626,831,237,580,598,96,860,724,650,913,917,729,435,186,475,352,569,278,762,585,912,138,541,683,263,25,245,742,3,262,100,723,519,656,127,131,595,106,163,727,577,432,250,278,609,468,942,25,184,787,807,835,198,368,942,842,595,884,128,925,763,579,231,265,340,196,408,438,409,103,55,225,542,552,145,865,587,69,20,472,954,431,280,352,161,772,5,805,360,434,981,168,65,614,812,974,692,273,831,165,567,477,263,784,223,74,972,259,153,628,210,221,699,172,46,313,405,904,604,315,959,427,541,922,407,629,675,970,570,814,276,540,165,631,326,33,364,549,746,812,805,534,458,563,829,158,549,9,837,195,897,864,92,453,632,370,646,639,729,240,93,501,376,172,965,129,767,2,186,422,683,283,27,321,432,422,249,269,689,400,265,824,774,825,381,506,127,908,30,518,404,320,263,824,744,644,507,120,573,682,914,785,632,865,737,687,54,52,640,437,598,808,174,723,175,173,950,310,877,685,986,166,491,32,946,330,880,451,654,1000,969,645,296,261,604,516,967,528,646,905,249,104,497,661,218,354,326,23,759,31,787,575,648,738,966,9,719,160,627,318,58,416,64,465,16,575,555,194,874,521,535,24,982,448,751,871,84,800,944,591,805,171,957,88,728,139,518,686,367,942,590,419,8,248,16,496,946,264,751,540,207],"output":false},{"file":"testcase_10.txt","input":[527,319,239,673,531,738,192,847,214,296,527,93,848,3,769,534,623,740,546,987,144,548,140,897,506,63,929,5,829,271,786,688,162,275,652,70,130,628,117,747,630,840,70,201,455,951,552,508,992,994,993,590,245,369,40,524,622,755,924,695,694,880,703,958,565,11,265,148,836,796,295,312,493,135,465,56,500,579,332,868,395,229,343,91,500,942,654,222,382,702,310,385,557,665,273,511,416,650,341,792,159,417,576,896,148,933,653,120,700,353,790,282,448,975,20,394,556,264,743,439,995,417,24,413,828,251,520,55,28,212,572,271,819,406,404,185,493,805,236,375,176,408,77,89,476,421,766,704,749,15,551,56,197,652,318,567,640,471,854,83,1000,634,39,698,366,295,40,397,564,826,138,377,379,12,710,865,155,426,35,66,72,826,579,621,429,1000,437,19,443,332,748,331,863,174,910,178,738,888],"output":false},{"file":"testcase_2.txt","input":[793,7,762,959,515,203,581,84,266,718,837,178,282,558,450,803,824,252,694,500,1000,685,411,240,541,680,234,606,835,168,304,718,969,710,768,998,463,790,204,789,827,235,998,682,658,792,863,162,469,799,125,4,845,655,787,108,13,23,206,111,883,238,685,845,575,990,259,38,769,1,550,402,181,33,454,590,289,215,951,781,987,799,444,240,997,376,605,723,686,91,387,879,271,354,691,427,195,514,401,429,981,39,143,928,441,776,690,193,664,984,958,340,263,557,105,593,982,67,319,12,494,590,534,403,260,589,391,370,207,694,617,90,846,800,452,640,288,957,895,398,862,121,692,154,481,869,450,863,69,7,391,435,818,256,369,54,706,678,130,348,167,756,185,265,420,53,366,360,128,529,829,569,124,901,758,758,548,82,184,271,700,870,353,520,126,445,939,700,656,123,476,232,720,138,142,656,773,166,877,304,548,95,100,610,864,477,315,856,467,610,452,802,955,521,428,433,537,437,734,483,516,393,653,450,118,291,575,429,319,929,640,855,6,874,66,880,482,128,110,48,350,875,81,879,843,514,188,845,857,651,664,120,833,108,464,47,324,118,922,20,518,653,440,577,871,613,334,490,232,31,78,93,90,544,376,151,449,107,278,933,768,922,134,421,209,42,561,239,174,795,418,527,161,997,712,843,334,208,941,36,577,847,46,86,782,24,796,914,127,700,264,895,639,181,74,229,458,525,543,463,633,68,222,136,618,191,25,125,709,637,247,813,745,828,359,280,264,808,517,900,490,951,189,458,121,57,392,45,121,608,719,805,100,162,455,106,230,272,549,565,787,185,606,138,738,700,373,884,267,726,344,909,124,574,103,859,182,666,499,778,311,305,66,473,213,45,21,501,881,1,159,114,308,579,513,87,485,117,276,295,886,873,966,410,507,814,764,331,773,851,233,457,77,539,906,697,580,179,822,768,299,142,406,152,844,574,561,195,608,528,443,769,598,80,79,609,394,746,374,911,298,106,511,664,396,312,324,684,526,460,586,955,906,323,956,297,685,46,851,670,57,895,398,474,583,219,904,236,587,718,560,189,620,786,553,50,262,426,305,889,354,986,343,911,90,806,505,377,315,230,356,933,173,454,84,211,418,375,824,140,987,419,743,700,559,223,716,907,82,130,917,916,277,661,261,440,801,985,135,153,331,69,738,231,528,66,183,611,326,818,306,835,824,54,733,723,919,965,713,263,777,683,993,584,61,125,908,690,476,200,408,651,532,882,490,565,4,804,7,403,656,436,48,852,235,515,777,695,89,47,572,126,512,642,504,213,203,648,133,425,28,253,558,783,501,490,619,871,466,346,755,293,529,900,15,520,198,448,796,720,953,853,317,883,787,608,759,963,958,598,868,353,245,382,490,274,429,135,378],"output":false},{"file":"testcase_3.txt","input":[312,146,253,464,366,389,792,32,943,139,844,100,395,748,652,912,55,320,667,724,700,40,465,563,189,542,834,954,724,33,992,453,164,378,130,237,274,150,512,18,197,837,66,61,994,281,713,928,363,846,403,727,911,60,892,321,874,502,193,845,924,121,240,328,680,762,598,343,33,265,617,537,103,578,891,577,792,782,201,142,88,752,931,653,379,267,99,187,572,226,518,804,155,604,470,677,412,274,115,882,710,831,991,166,970,632,375,890,193,275,972,832,315,64,342,820,424,234,489,40,9,901,696,186,508,273,352,423,515,323,54,197,45,264,978,424,744,442,330,730,534,944,384,632,388,17,496,651,952,139,570,161,99,402,546,517,179,938,302,454,255,635,258,800,734,399,362,909,481,575,749,826,176,175,189,419,684,198,704,664,940,924,627,841,293,217,436,808,840,298,475,263,169,775,120,158,262,845,680,466,202,718,607,35,864,43,935,823,93,942,395,34,402,98,78,31,446,675,472,216,984,226,986,199,538,375,122,175,554,33,404,141,443,360,226,761,949,978,588,672,19,47,459,576,548,597,745,210,25,32,545,894,778,646,455,701,826,598,518,12,381,24,915,313,787,312,982,492,428,571,267,648,730,288,219,137,343,577,667,916,622,371,53,118,659,815,991,506,432,766,797,932,983,332,563,447,411,660,869,7,289,307,377,36,463,872,485,51,310,338,996,282,947,334,782,877,18,157,448,763,184,488,960,424,76,238,85,384,262,641,697,48,850,426,818,821,77,263,281,656,229,443,34,791,536,79,818,186,619,694,732,290,274,28,294,711,22,728,8,464,174,94,824,637,700,687,603,528,720,778,901,830,121,301,470,993,514,55,682,647,686,622,812,446,189,900,272,931,301,172,125,812,120,683,543,532,438,613,891,211,313,654,851,100,975,354,177,74,603,742,29,350,77,426,170,389,765,875,215,472,122,683,448,874,701,392,14,558,877,159,675,279,235,174,539,233,655,219,437,538,594,203,691,942,297,401,882,1,542,874,170,657,463,978,621,653,753,798,902,108,605,108,809,836,885,478,45,391,388,498,245,47,673,768,336,678,635,277,24,181,819,46,852,664,46,316,916,936,316,909,718,357,281,579,191,460,241,997,661,413,127,438,757,830,245,163,77,726,39,586,114,564,101,584,222,392,31,982,852,201,689,667,182,207,677,752,357,818,972,729,583,330,361,783,290,935,562,390,119,454,109,520,462,16,47,862,57,156,165,710,355,323,430,294,517,807,91,640,928,171,737,931,138,364,537,373,248,124,576,878,461,293,762,559,729,556,916,88,617,556,625,403,659,740,32,129,838,859,657,111,448,223,296,275,179,38,700,129,564,765,689,218,485,687,393,108,449,939,712,180,113,513,409,325,792,443,467,379,122,882,147,301,782,928,616,671,754,670,353,109,734,260,875,749,17,480,544,993,338,760,660,242,740,913,154,494,431,957,683,777,114,106,804,378,321,232,488,860,944,103,256,794,115,836,673,120,201,728,448,188,974,430,989,17,331,823,754,859,203,299,77,125,683,127,312,245,212,408,423,268,771,391,529,960,573,49,944,269,228,446,309,555,145,332,532,593,4,768,915,995,873,523,133,468,30,172,317,78,564,484,938,293,468,134,251,260,997,723,551,137,947,532,320,128,141,280,552,950,417,254,539,804,181,848,794,768,660,77,974,929,459,376,12,168,231,604,507,246,48,307,316,349,969,286,821,842,429,685,621,584,486,400,285,237,781,539,440,431,633,370,824,484,62,158,582,676,974,579,879,73,727,415,233,557,614,150,718,541,124,54,219,761,2,129,937,27,128,794,909,380,620,917,11,203,26,16,410,83,620,924,795,67,816,981,105,505,346,216,514,709,500,440,155,596,486,264,374,139,103,135,291,254,721,393,798,274,360,226,477,641,421,652,380,76,534,353,692,374,477,658,867,381,94,454,87,34,166,229,232,772,165,172,930,151,398,966,958,770,841,282,974,924,21,85,748,651,790,972,130,98,424,699,118,353,44,669,110,494,726,880,225,580,458,511,373,969,728,167,575,285,298,996,30,806,394,122,14,216,873,579,694,740,832,267,485,111,375,27,634,416,92,298,900,226,743,498,804,392,465,614,858,67,682,768,233,853,329,386,659],"output":false},{"file":"testcase_4.txt","input":[567,70,183,616,172,747,118,491,369,10,385,722,440,19,430,830,852,892,31,384],"output":false},{"file":"testcase_5.txt","input":[112,967,279,128,421,570,340,320,593,564,432,823,146,159,738,175,915,313,737,808,438,371,778,630,100,858,370,975,188,890,588,271,659,136,291,397,689,515,580,443,259,144,347,170,669,1,537,204,437,896,317,920,908,582,129,716,135,806,604,243,595,702,73,805,692,237,207,982,821,943,364,197,481,998,636,581,311,696,846,172,473,462,899,247,332,720,117,323,652,818,545,544,784,65,780,768,183,110,166,209,915,203,452,946,597,696,453,451,536,815,934,14,730,267,486,553,845,477,466,174,611,82,202,231,175,706,944,707,92,650,438,989,709,906,402,891,355,279,740,24,161,383,17,886,859,453,791,611,449,925,21,79,618,742,527,245,305,335,679,350,785,596,490,46,795,611,785,100,826,82,213,153,199,290,257,875,813,385,21,335,81,426,721,522,264,130,932,32,867,761,990,355,379,716,910,901,858,652,908,968,734,890,729,703,605,820,784,337,3,663,408,882,135,457,929,804,586,184,442,6,149,113,838,983,868,778,106,905,617,700,299,218,920,193,836,36,969,218,920,776,238,329,629,630,797,671,1,683,128,529,473,166,85,663,321,89,261,931,11,908,431,293,549,165,637,674,713,211,86,344,500,626,920,386,176,920,962,358,859,275,854,498,138,233,714,322,863,146,103,371,447,766,818,562,955,600,753,180,890,138,368,776,810,438,548,770,321,42,906,619,65,103,490,805,449,715,555,692,253,661,234,896,59,677,159,669,979,68,382,54,664,430,247,734,358,144,916,612,794,937,853,645,442,571,72,391,559,76,872,108,247,605,611,112,373,245,157,192,546,838,671,112,662,9,353,75,862,616,557,231,436,713,614,100,396,374,611,407,471,153,253,596,183,302,211,655,477,167,874,20,692,985,47,285,9,878,860,712,754,785,630,54,819,319,405,101,700,239,245,659,960,148,413,73,940,560,925,982,792,555,295,314,355,826,324,509,410,182,629,672,130,454,655,554,987,445,594,271,399,406,457,739,869,750,669,698,393,810,783,424,619,573,571,636,593,228,368,447,862,603,959,185,88,525,389,825,485,240,756,541,801,623,681,82,187,297,725,199,729,407,890,474,881,713,436,265,643,356,546,622,79,408,983,94,947,265,672,785,597,396,867,96,380,848,567,582,664,461,770,273,31,132,936,609,99,337,5,61,885,159,818,31,836,110,150,770,576,918,808,12,25,30,857,18,134,978,391,376,927,647,363,201,706,167,389,437,155,404,289,848,137,704,57,380,937,938],"output":false},{"file":"testcase_6.txt","input":[648,996,57,300,604,486,194,597,754,70,290,219,621,860,251,408,806,915,846,328,401,559,404,321,391,103,521,826,206,601,67,981,119,539,131,716,394,419,303,501,275,578,665,702,709,134,77,424,177,506,527,881,186,803,171,801,985,245,669,182,240,499,437,581,941,441,900,692,897,338,424,498,61,576,673,230,921,255,738,300,498,716,675,430,620,211,112,275,405,450,125,29,286,814,856,66,499,476,204,460,512,591,943,952,112,18,362,167,305,830,545,18,3,193,181,491,1000,659,152,945,676,956,184,129,639,740,629,607,667,714,656,148,57,554,335,963,672,936,359,908,742,5,302,916,126,898,868,206,732,16,146,913,253,676,257,640,218,21,187,301,25,962,715,643,302,125,454,754,615,937,486,934,707,682,72,114,390,33,289,893,474,854,761,813,314,453,50,156,127,421,739,811,590,187,612,269,737,213,248,779,461,983,665,760,870,618,941,517,597,831,252,206,479,552,504,961,519,788,707,704,837,777,67,641,753,214,900,668,509,7,614,832,177,39,169,953,111,247,659,167,798,11,730,145,816,995,985,798,12,999,437,386,734,377,989,271,638,65,777,373,856,766,394,552,453,146,347,660,167,243,618,895,947,78,185,154,835,664,467,506,548,545,648,328,658,539,673,443,439,454,978,345,324,250,944,340,565,778,410,917,498,291,824,869,700,779,754,797,400,968,475,897,100,375,785,571,432,230,90,864,442,80,320,540,7,348,560,627,870,220,904,796,54,502,975,965,79,432,559,226,704,377,160,361,279,206,548,237,461,235,586,211,931,538,446,889,632,340,348,811,447,896,812,86,689,212,231,861,916,907,966,609,890,936,276,698,786,772,626,438,466,954,972,192,602,20,523,884,766,592,195,888,289,993,688,328,508,868,525,429,815,163,437,59,856,28,237,710,257,687,982,756,984,621,849,741,272,48,859,634,663,851,414,531,569,785,605,322,227,428,566,114,714,637,448,17,756,365,770,341,268,567,359,553,564,560,455,321,446,932,124,608,39,159,740,731,273,759,206,872,570,324,918,214,9,808,14,140,200,734,489,649,980,117,610,427,593,618,961,363,845,109,240,470,565,439,872,821,274,353,179,257,27,526,156,687,803,548,390,289,294,998,501,710,980,13,744,539,32,432,197,471,140,36,855,854,274,846,280,408,14,236,379,605,90,166,508,29,431,950,861,304,371,523,851,301,29,880,397,177,693,541,400,778,129,869,386,850,945,360,216,332,492,633,152,553,801,536,423,167,101,81,543,64,617,931,808,96,869,327,273,187,460,86,51,490,809,884,931,342,529,500,319,249,681,162,221,331,926,250,333,362,13,44,784,671,732,514,478,624,366,71,998,791,250,862,997,947,773,142,780,295,824,618,113,237,214,700,805,301,478,401,215,903,52,618,906,494,167,708,170,14,348,266,198,749,813,958,713,263,757,381,626,704,538,50,410,895,65,700,531,537,949,274,48,475,293,598,661,748,33,185,949,982,494,623,715,888,747,758,693,239,863,751,724,718,26,384,754,404,906,398,491,526,595,911,517,329,781,339,424,840,771,170,634,117,718,705,923,188,568,384,239,123,545,277,542,569,102,127,727,751,563,98,839,759,791,226,751,638,834,862,444,964,302,175,956,190,741,625,62,546,138,859,64,808,373,492,626,429,556,490,447,419,744,871,680,366,818,156,501,766,309,809,353,503,459,622,870,263,444,409,12,773,725,625,169,287,255,884,520,140,298,289,513,301,946,285,455,881,974,329,285,793,253,736,445,994,756,575,262,673],"output":false},{"file":"testcase_7.txt","input":[572,270,896,783,226,146,489,669,618,624,287,379,831,275,338,657,900,168,879,83,138,14,401,929,948,822,876,80,744,968,36,441,814,799,521,653,79,96,552,226,651,16,623,705,974,709,535,801,67,891,743,827,85,747,870,12,745,367,44,935,175,489,19,419,240,916,659,270,291,554,634,819,975,998,228,411,850,1000,692,652,232,125,278,973,241,40,377,550,717,496,50,587,947,400,152,443,494,661,282,392,294,439,417,796,455,78,928,557,526,126,626,117,886,536,172,221,679,542,450,366,198,662,573,309,676,584,401,719,366,39,683,181,48,676,385,814,134,907,783,259,335,1,14,155,512,899,893,12,190,211,279,146,959,514,734,86,483,31,852,976,189,956,991,932,870,405,901,91,367,579,986,257,249,935,656,950,193,285,707,141,933,851,81,523,698,465,29,436,215,433,499,205,796,636,513,5,394,364,866,299,76,736,884,404,409,841,219,407,210,623,601,158,364,257,983,240,696,877,581,519,594,856,372,809,391,748,190,776,747,257,865,239,507,158,323,649,19,703,410,42,273,757,777,727,183,862,983,427,892,306,641,905,3,769,184,892,244,448,504,994,72,945,987,779,481,784,629,374,299,640,354,549,49,814,976,568,847,190,880,317,316,612,749,612,216,582,545,463,907,531,2,119,358,119,612,181,136,13,944,385,174,287,51,714,150,63,498,19,842,588,953,345,373,691,303,330,308,762,740,450,2,868,594,753,15,948,272,818,923,386,4,230,329,723,668,464,832,718,514,583,85,534,58,869,692,515,457,803,896,573,919,225,452,441,651,39,443,151,323,362,741,227,955,952,439,902,355,913,790,22,496,295,863,988,418,291,631,552,957,984,500,585,560,365,507,701,480,126,511,628,570,372,434,160,181,738,874,996,107,398,676,44,349,224,10,423,880,872,350,414,543,680,698,501,732,309,326,426,882,15,210,821,701,913,199,290,423,99,312,697,168,610,980,115,395,510,545,255,20,930,454,410,260,317,944,702,764,861,746,829,420,881,692,399,96,903,310,192,519,964,533,531,402,501,900,999,240,758,960,669,243,601,983,380,379,956,767,305,857,247,134,61,589,716,561,90,883,393,738,223,631,357,592,215,230,307,85,28,392,109,68,507,306,668,965,749,916,860,720,813,435,685,485,851,650,568,612,807,931,598,466,305,253,412,813,558,838,788,605,555,899,781,614,391,142,799,915,55,70,401,596,340,825,919,357,487,515,374,793,475,199,549,667,343,380,853,130,533,785,78,422,131,401,826,456,525,582,69,193,147,679,725,385,61,344,502,160,682,288,850,979,750,218,1000,766,658,410,582,756,866,669,291,181,850,825,418,674,150,878,625,533,190,295,354,872,45,676,95,842,589,705,922,343,952,433,734,184,215,434,600,724,309,158,335],"output":false},{"file":"testcase_8.txt","input":[619,819,474,181,182,569,668,531,849,413,496,154,302,912,323,430,524,874,707,108,748,903,861,692,914,759,669,327,963,399,309,234,259,965,831,720,863,494,684,701,459,20,226,865,323,375,969,622,281,270,533,680,658,605,223,199,598,46,560,311,835,965,728,301,994,311,511,265,515,326,972,955,334,24,990,387,591,777,138,529,829,692,676,555,279,220,23,863,704,992,442,550,414,825,508,496,751,77,153,817,648,621,61,750,483,732,936,901,744,153,375,680,891,522,56,363,525,791,650,214,388,205,183,859,908,684,174,464,601,509,857,636,678,245,562,403,93,342,198,143,698,685,214,737,154,329,709,689,678,213,367,909,217,778,541],"output":false},{"file":"testcase_9.txt","input":[123,212,105,71,313,521,87,27,999,537,288,740,474,337,570,181,31,103,829,953,48,237,806,618,62,664,25,21,960,192,463,110,859,447,210,622,301,819,662,996,162,828,485,226,362,234,524,1,417,759,454,748,369,824,956,131,588,180,375,519,545,563,714,143,98,136,707,82,756,741,831,940,405,376,607,908,873,531,297,192,805,496,622,862,43,586,410,869,308,326,801,249,830,550,793,252,470,255,705,855,627,442,939,206,752,334,894,632,13,153,300,196,713,274,973,197,17,129,839,209,320,230,828,906,638,893,53,245,968,468,382,698,241,408,818,963,29,6,895,123,569,771,224,494,636,638,52,652,382,410,849,726,722,403,262,392,515,130,964,813,723,17,421,900,584,420,710,9,25,947,795,742,508,11,992,119,496,939,82,460,467,857,11,46,71,718,644,418,52,433,668,779,951,502,426,241,476,454,67,484,760,482,850,728,592,310,792,837,445,481,412,202,469,790,168,443,245,475,949,457,254,411,553,693,334,981,13,648,789,864,84,392,357,197,868,408,364,677,312,928,759,957,16,447,574,464,426,132,93,369,636,976,415,795,430,219,855,51,226,886,474,901,273,705,783,579,624,996,1000,198,672,58,624,33,43,402,1000,568,653,955,508,151,730,278,553,311,262,3,379,71,866,768,485,694,174,880,774,467,704,184,46,938,542,983,364,622,899,768,192,342,196,675,734,821,813,83,505,92,509,892,674,308,280,605,479,111,785,494,465,825,523,911,821,503,837,13,61,854,216,876,324],"output":false}]