Upload part 1 of 2
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- add-edges-to-make-degrees-of-all-nodes-even.json +1 -0
- alice-and-bob-playing-flower-game.json +1 -0
- alternating-groups-i.json +1 -0
- alternating-groups-ii.json +1 -0
- alternating-groups-iii.json +1 -0
- ant-on-the-boundary.json +1 -0
- append-characters-to-string-to-make-subsequence.json +1 -0
- append-k-integers-with-minimal-sum.json +1 -0
- apple-redistribution-into-boxes.json +1 -0
- apply-bitwise-operations-to-make-strings-equal.json +1 -0
- apply-discount-to-prices.json +1 -0
- apply-operations-on-array-to-maximize-sum-of-squares.json +1 -0
- apply-operations-to-an-array.json +1 -0
- apply-operations-to-make-all-array-elements-equal-to-zero.json +1 -0
- apply-operations-to-make-string-empty.json +1 -0
- apply-operations-to-make-two-strings-equal.json +1 -0
- apply-operations-to-maximize-frequency-score.json +1 -0
- apply-operations-to-maximize-score.json +1 -0
- assign-elements-to-groups-with-constraints.json +1 -0
- average-value-of-even-numbers-that-are-divisible-by-three.json +1 -0
- beautiful-towers-i.json +1 -0
- beautiful-towers-ii.json +1 -0
- best-poker-hand.json +1 -0
- bitwise-xor-of-all-pairings.json +1 -0
- buy-two-chocolates.json +1 -0
- calculate-delayed-arrival-time.json +1 -0
- calculate-digit-sum-of-a-string.json +1 -0
- categorize-box-according-to-criteria.json +1 -0
- cells-in-a-range-on-an-excel-sheet.json +1 -0
- check-distances-between-same-letters.json +1 -0
- check-if-array-is-good.json +1 -0
- check-if-bitwise-or-has-trailing-zeros.json +1 -0
- check-if-digits-are-equal-in-string-after-operations-i.json +1 -0
- check-if-digits-are-equal-in-string-after-operations-ii.json +1 -0
- check-if-every-row-and-column-contains-all-numbers.json +1 -0
- check-if-grid-can-be-cut-into-sections.json +1 -0
- check-if-grid-satisfies-conditions.json +1 -0
- check-if-it-is-possible-to-split-array.json +1 -0
- check-if-matrix-is-x-matrix.json +1 -0
- check-if-number-has-equal-digit-count-and-digit-value.json +1 -0
- check-if-point-is-reachable.json +1 -0
- check-if-strings-can-be-made-equal-with-operations-i.json +1 -0
- check-if-strings-can-be-made-equal-with-operations-ii.json +1 -0
- check-if-there-is-a-valid-parentheses-string-path.json +1 -0
- check-if-there-is-a-valid-partition-for-the-array.json +1 -0
- check-if-two-chessboard-squares-have-the-same-color.json +1 -0
- circular-sentence.json +1 -0
- clear-digits.json +1 -0
- closest-equal-element-queries.json +1 -0
- closest-prime-numbers-in-range.json +1 -0
add-edges-to-make-degrees-of-all-nodes-even.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[597,[[470,583],[372,524],[128,581],[288,408],[248,344],[16,205],[248,362],[145,526],[378,557],[242,306],[117,531],[6,187],[14,527],[40,436],[423,564],[36,304],[404,578],[87,404],[219,425],[53,411],[211,439],[5,352],[30,98],[184,440],[449,585],[166,553],[96,247],[188,321],[208,388],[321,594],[106,529],[379,526],[93,330],[246,289],[384,479],[201,385],[395,506],[176,486],[80,85],[46,120],[345,514],[260,299],[135,286],[94,523],[164,331],[533,570],[51,310],[232,340],[516,535],[387,390],[237,293],[570,591],[102,257],[28,317],[126,205],[320,345],[105,524],[5,171],[117,260],[123,581],[287,433],[497,499],[278,478],[6,266],[181,545],[357,469],[88,183],[114,473],[144,334],[92,571],[281,321],[292,507],[469,530],[10,16],[69,587],[117,246],[6,549],[143,545],[139,273],[221,312],[11,591],[265,498],[69,205],[474,519],[52,381],[248,283],[8,460],[14,116],[381,556],[32,170],[320,564],[87,451],[58,326],[27,311],[374,544],[149,435],[235,358],[112,562],[433,468],[245,417],[293,326],[130,287],[157,560],[170,597],[36,535],[476,569],[220,454],[145,451],[112,512],[295,475],[120,394],[235,591],[339,410],[355,382],[451,526],[55,251],[192,275],[18,211],[87,329],[110,452],[507,524],[163,571],[204,352],[48,522],[1,410],[81,528],[227,591],[391,443],[156,549],[22,231],[144,184],[29,383],[37,323],[251,432],[264,523],[72,429],[106,202],[135,476],[330,343],[12,442],[152,327],[79,581],[91,308],[310,593],[232,274],[220,565],[419,545],[314,352],[189,568],[212,481],[296,313],[421,573],[276,502],[137,167],[202,287],[31,405],[363,488],[151,321],[56,587],[272,486],[189,204],[387,436],[70,351],[25,218],[127,247],[459,577],[308,426],[314,320],[182,448],[6,362],[26,200],[136,310],[174,184],[381,495],[316,524],[25,357],[181,497],[380,545],[291,314],[85,218],[54,249],[550,565],[400,486],[120,212],[97,210],[460,555],[20,530],[562,584],[394,591],[67,480],[7,438],[170,325],[122,388],[157,355],[49,273],[35,100],[10,354],[174,444],[333,468],[107,134],[520,541],[47,330],[121,563],[191,222],[70,350],[188,244],[384,555],[202,389],[210,509],[123,370],[447,449],[93,338],[152,424],[201,564],[48,434],[539,541],[248,468],[443,573],[228,419],[221,380],[149,373],[124,438],[76,550],[57,546],[245,337],[154,326],[111,355],[97,200],[223,425],[61,125],[53,279],[128,282],[289,388],[36,217],[146,187],[125,411],[141,239],[38,263],[24,99],[194,501],[6,450],[99,120],[159,409],[156,483],[153,594],[499,575],[137,250],[149,215],[99,385],[155,295],[110,116],[164,343],[101,165],[323,516],[242,290],[311,551],[240,509],[501,550],[59,443],[504,546],[49,240],[207,588],[524,533],[346,365],[53,548],[214,465],[72,390],[159,404],[78,568],[147,411],[2,438],[52,533],[421,543],[265,286],[400,569],[274,362],[29,442],[329,554],[294,596],[260,454],[439,444],[459,511],[13,174],[324,475],[194,594],[285,385],[213,464],[305,309],[1,446],[81,326],[477,564],[308,472],[137,343],[58,199],[310,423],[354,368],[368,541],[195,451],[309,473],[178,389],[305,439],[175,500],[97,153],[394,516],[191,462],[2,19],[512,526],[12,60],[88,226],[211,525],[222,525],[316,489],[172,286],[69,221],[403,475],[115,426],[160,577],[203,557],[175,486],[7,255],[26,506],[263,428],[245,541],[60,486],[103,466],[242,243],[64,227],[62,294],[429,505],[238,403],[392,461],[195,432],[64,339],[36,268],[578,587],[123,272],[2,400],[448,468],[351,563],[394,515],[121,375],[377,453],[39,58],[324,545],[45,236],[272,364],[320,413],[266,442],[171,479],[124,129],[114,591],[82,477],[102,217],[93,159],[239,442],[217,320],[247,321],[26,334],[151,594],[210,253],[355,528],[351,387],[133,335],[140,194],[112,550],[262,327],[415,569],[171,456],[102,347],[201,326],[290,565],[132,217],[89,246],[455,480],[348,506],[128,341],[341,494],[205,332],[180,406],[143,231],[270,281],[189,445],[165,362],[355,370],[79,462],[482,586],[49,546],[78,115],[397,506],[230,240],[236,561],[308,577],[313,503],[310,339],[205,421],[280,344],[11,308],[81,543],[365,540],[203,478],[9,384],[133,163],[15,198],[181,221],[369,519],[232,541],[11,155],[233,524],[175,263],[211,356],[51,138],[300,303],[392,526],[19,33],[198,502],[195,515],[292,466],[402,588],[37,203],[84,275],[131,368],[219,490],[420,489],[160,511],[502,540],[233,254],[305,359],[122,139],[114,562],[512,581],[539,544],[181,481],[445,509],[197,425],[466,568],[307,413],[55,597],[217,376],[367,482],[527,583],[68,167],[101,591],[217,232],[261,329],[101,438],[393,485],[146,199],[52,573],[445,504],[326,413],[428,442],[138,371],[14,564],[316,377],[344,466],[490,520],[550,580],[265,429],[405,589],[186,285],[143,314],[42,128],[220,543],[34,35],[286,488],[9,198],[316,498],[71,429],[595,596]]],"output":false},{"file":"testcase_10.txt","input":[610,[[322,511],[236,386],[225,505],[394,435],[302,480],[274,388],[123,594],[11,14],[139,172],[483,592],[63,180],[376,466],[364,583],[379,437],[52,216],[322,568],[337,376],[568,590],[177,192],[86,321],[46,404],[378,575],[229,260],[84,125],[326,403],[37,474],[203,204],[132,217],[394,549],[198,464],[232,551],[27,365],[230,462],[5,142],[300,368],[317,558],[434,542],[399,410],[152,243],[36,114],[189,271],[18,142],[400,601],[430,517],[136,329],[41,357],[314,540],[151,598],[62,407],[226,259],[140,308],[128,462],[248,387],[298,525],[238,544],[21,482],[26,386],[163,529],[246,545],[7,327],[333,403],[259,438],[51,509],[403,540],[178,376],[138,523],[288,318],[173,361],[169,220],[93,554],[85,376],[233,485],[19,321],[414,442],[328,402],[505,535],[486,494],[29,490],[62,441],[180,186],[213,491],[198,417],[194,230],[66,484],[118,256],[309,400],[287,342],[31,117],[240,547],[398,456],[556,576],[48,517],[457,490],[496,573],[62,107],[101,242],[357,421],[235,242],[269,372],[406,508],[48,327],[25,542],[297,604],[78,215],[215,321],[150,350],[136,241],[538,584],[40,606],[299,329],[373,571],[154,338],[273,319],[64,499],[13,283],[52,189],[276,513],[1,555],[216,544],[264,593],[244,450],[231,361],[179,458],[111,433],[240,336],[514,521],[186,493],[295,388],[243,414],[29,137],[43,154],[128,497],[26,275],[175,392],[131,541],[340,587],[17,37],[21,599]]],"output":false},{"file":"testcase_2.txt","input":[206,[[10,162],[18,35],[109,150],[99,127],[44,191],[21,46],[41,51],[142,192],[19,121],[19,130],[94,133],[14,24],[40,162],[22,37],[41,136],[103,129],[114,138],[106,134],[47,66],[44,168],[105,184],[2,162],[40,45],[65,138],[3,172],[89,175],[36,178],[42,109],[48,152],[28,183],[47,205],[30,134],[19,134],[32,64],[84,102],[84,111],[195,198],[112,200],[198,203],[10,152],[54,186],[64,132],[56,137],[17,66],[139,153],[188,204],[17,75],[149,185],[128,162],[117,162],[43,185],[97,165],[3,158],[129,145],[10,26],[59,166],[121,150],[119,198],[111,194],[28,187],[6,150],[13,64],[64,109],[24,73],[128,130],[180,186],[15,91],[157,202],[113,123],[21,49],[8,79],[26,127],[27,92],[99,197],[39,66],[31,71],[112,154],[53,86],[45,91],[50,206],[10,133],[27,204],[53,122],[97,128],[32,157],[38,88],[67,133],[23,206],[58,84],[32,193],[43,193],[96,196],[55,176],[29,124],[12,62],[31,75],[60,129],[74,131],[42,197],[187,197],[46,69],[22,111],[25,144],[68,87],[20,187],[88,169],[171,203],[30,87],[131,139],[36,167],[47,167],[115,140],[194,204],[64,76],[124,145],[34,90],[108,137],[14,93],[20,173],[23,169],[120,129],[4,174],[38,87],[12,187],[67,123],[64,197],[148,196],[1,186],[99,191],[5,147],[4,30],[100,165],[83,94],[31,56],[82,129],[133,180],[80,186],[164,167],[30,185],[62,165],[114,175],[19,203],[47,112],[149,178],[98,105],[36,121],[82,88],[56,188],[119,137],[17,144],[6,107],[21,105],[1,28],[18,197],[2,109],[15,48],[5,25],[7,44],[103,179],[87,162],[70,91],[27,40],[106,193],[13,151],[147,203],[18,89],[40,86],[88,172],[21,82],[77,144],[12,33],[3,204],[33,65],[112,129],[33,83],[115,134],[72,74],[93,106],[105,108],[137,167],[11,189],[97,103],[23,163],[33,195],[4,168],[95,188],[48,67],[117,185],[46,143],[27,53],[48,85],[129,168],[171,183],[37,192],[80,135],[140,186],[10,76],[2,72],[74,97],[30,170],[54,146],[21,198],[38,49],[126,134],[60,198],[33,181],[17,120],[129,181],[18,155],[42,122],[70,193],[59,202],[50,144],[25,78],[39,143],[40,197],[7,20],[95,142],[20,148],[7,29],[47,74],[128,166],[170,181],[88,139],[9,93],[49,129],[28,106],[111,113],[121,154],[148,180],[47,204],[133,155],[40,174],[125,169],[23,112],[14,54],[26,28],[67,75],[45,136],[117,152],[88,125],[28,83],[5,90],[28,92],[14,157],[43,202],[68,146],[97,191],[70,174],[25,32],[98,174],[48,164],[103,118],[33,148],[16,86],[147,151],[29,43],[65,127],[68,123],[74,203],[46,141],[151,157],[172,189],[151,166],[49,146],[27,136],[32,53],[59,205],[110,152],[28,199],[92,202],[6,162],[155,169],[64,130],[35,94],[45,126],[49,96],[10,177],[121,139],[169,188],[27,95],[184,195],[165,172],[14,21],[28,203],[35,89],[65,90],[65,99],[57,95],[64,143],[28,68],[3,133],[12,200],[86,149],[14,151],[169,174],[90,128],[132,143],[161,179],[184,190],[79,146],[194,203],[51,56],[75,112],[32,61],[131,183],[40,172],[4,97],[176,200],[44,160],[12,195],[57,108],[85,188],[120,155],[18,98],[130,187],[50,78],[118,194],[182,206],[16,192],[10,32],[23,60],[131,160],[58,176],[17,184],[72,92],[42,186],[124,157],[14,105],[13,164],[126,202],[142,165],[101,136],[39,72],[91,119],[50,194],[50,203],[124,152],[114,196],[12,176],[26,83],[130,159],[59,126],[89,148],[28,129],[19,80],[131,132],[69,157],[23,50],[32,37],[127,134],[61,198],[22,90],[62,172],[8,201],[122,186],[74,155],[18,65],[18,74],[130,163],[79,99],[28,115],[98,112],[160,185],[48,93],[142,146],[11,53],[142,164],[26,181],[69,161],[4,50],[64,82],[51,121],[12,148],[14,90],[52,202],[24,131],[95,182],[14,108],[24,140],[63,86],[47,132],[16,163],[80,147],[12,40],[33,81],[141,181],[105,106],[25,86],[64,68],[37,60],[73,144],[43,112],[14,76],[37,78],[54,158],[20,156],[85,136],[64,171],[99,138],[178,193],[99,147],[30,38],[159,198],[45,185],[44,58],[92,144],[163,195],[57,186],[145,146],[193,204],[22,84],[143,203],[52,201],[147,191],[128,187],[68,145],[20,25],[3,192],[67,195],[132,184],[112,126],[125,145],[80,155],[104,122],[39,114],[45,54],[19,163],[145,159],[29,204],[3,75],[18,36],[72,165],[15,58],[17,77],[25,179],[36,90],[40,69],[18,166],[3,43],[110,178],[83,161],[159,174],[52,200],[5,97],[151,169],[25,30],[121,165],[113,170],[102,133],[2,55],[83,138],[82,182],[85,98],[3,56]]],"output":false},{"file":"testcase_3.txt","input":[639,[[426,486],[385,448],[311,428],[64,151],[177,446],[58,86],[168,208],[126,391],[137,239],[329,589],[401,605],[498,519],[62,492],[283,469],[98,167],[253,288],[323,370],[214,225],[38,503],[402,541],[72,388],[314,437],[298,569],[84,493],[6,555],[113,398],[202,637],[369,485],[74,79],[11,368],[191,335],[291,422],[534,567],[491,623],[509,519],[59,548],[494,628],[17,75],[11,507],[453,623],[50,108],[236,625],[55,195],[211,299],[331,480],[347,583],[4,598],[279,317],[1,592],[82,526],[70,570],[11,493],[271,480],[147,255],[205,224],[331,466],[356,550],[145,196],[503,569],[3,103],[220,635],[78,542],[113,509],[222,415],[61,80],[207,301],[154,164],[270,613],[102,382],[131,427],[471,612],[261,375],[233,304],[102,638],[315,355],[452,589],[423,562],[530,554],[264,565],[286,422],[530,639],[406,505],[65,441],[226,395],[205,223],[43,53],[115,158],[108,119],[325,382],[459,471],[20,173],[297,320],[89,141],[465,550],[4,448],[207,282],[276,629],[303,506],[72,475],[92,408],[127,374],[254,326],[100,268],[5,30],[452,579],[117,357],[79,501],[11,446],[194,549],[82,506],[375,481],[124,243],[52,474],[198,528],[569,593],[510,553],[47,377],[195,550],[266,601],[218,286],[290,531],[14,209],[334,345],[522,554],[18,615],[260,368],[65,458],[86,490],[22,69],[250,440],[110,191],[276,489],[6,628],[185,203],[15,48],[96,567],[9,508],[485,626],[340,360],[75,453],[8,54],[115,516],[295,483],[90,361],[290,544],[273,473],[265,469],[206,392],[401,497],[63,618],[190,304],[166,203],[41,617],[154,485],[441,578],[282,414],[205,576],[86,368],[421,447],[381,392],[50,549],[305,519],[177,351],[143,587],[61,167],[154,633],[415,417],[151,554],[235,297],[103,425],[112,492],[266,559],[132,568],[474,597],[159,460],[37,196],[80,377],[43,248],[246,446],[365,555],[235,427],[249,600],[45,56],[166,184],[103,146],[208,437],[192,340],[229,478],[227,459],[69,498],[157,620],[328,520],[206,256],[319,389],[315,437],[114,514],[429,526],[41,301],[543,557],[338,515],[376,389],[64,293],[22,49],[385,626],[407,623],[196,458],[218,369],[165,223],[74,599],[119,512],[350,372],[444,537],[270,510],[258,554],[373,504],[4,256],[170,288],[421,544],[274,345],[214,461],[56,549],[286,584],[32,359],[37,136],[191,194],[307,396],[393,585],[476,601],[202,361],[180,459],[63,548],[163,406],[160,471],[124,307],[324,332],[469,570],[56,288],[114,360],[13,76],[411,485],[119,493],[105,168],[87,132],[224,357],[109,165],[129,143],[120,412],[121,377],[70,591],[18,126],[209,517],[104,333],[55,440],[563,618],[265,506],[292,380],[353,637],[256,457],[2,577],[298,310],[98,532],[51,182],[427,451],[325,440],[203,414],[98,379],[166,294],[87,477],[489,557],[270,351],[161,444],[541,576],[24,466],[19,360],[152,633],[62,578],[12,330],[225,474],[137,370],[193,243],[236,312],[281,463],[11,639],[483,616],[48,279],[309,329],[394,516],[157,451],[9,324],[236,433],[15,385],[358,468],[347,477],[63,380],[32,47],[152,201],[402,483],[166,410],[483,602],[115,444],[2,387],[193,256],[570,579],[9,54],[251,481],[385,542],[426,589],[76,619],[166,531],[190,461],[31,315],[186,347],[23,338],[149,563],[13,312],[279,520],[147,611],[207,424],[103,196],[48,498],[339,543],[177,243],[489,497],[405,525],[630,634],[254,621],[110,594],[26,195],[420,518],[142,263],[101,243],[334,451],[481,631],[114,200],[233,575],[189,230],[323,468],[349,615],[298,402],[134,398],[296,316],[203,524],[66,546],[203,533],[214,264],[15,73],[380,571],[10,632],[147,210],[170,459],[73,279],[64,459],[120,238],[35,252],[249,370],[221,299],[543,597],[125,429],[317,617],[111,292],[176,269],[510,523],[101,336],[64,207],[245,368],[45,203],[171,190],[106,298],[160,507],[332,372],[295,570],[50,403],[136,326],[174,200],[9,240],[15,548],[83,463],[113,562],[477,502],[153,369],[105,240],[271,501],[264,385],[277,413],[42,556],[193,599],[511,616],[352,452],[495,510],[46,284],[139,335],[610,613],[545,614],[402,565],[367,446],[286,610],[146,496],[383,408],[339,621],[208,574],[261,311],[291,599],[81,618],[196,465],[108,581],[104,629],[304,394],[233,352],[439,457],[170,183],[107,383],[191,215],[175,536],[461,475],[507,591],[109,191],[169,205],[213,257],[500,588],[564,600],[1,486],[627,638],[11,140],[85,98],[150,493]]],"output":false},{"file":"testcase_4.txt","input":[792,[[449,640],[361,667],[64,551],[388,630],[1,95],[292,415],[461,623],[333,712],[99,356],[329,571],[249,471],[295,438],[46,786],[139,410],[92,762],[81,725],[310,548],[101,154],[249,336],[98,414],[211,709],[42,361],[115,583],[295,312],[335,506],[281,624],[466,697],[83,160],[100,240],[384,664],[450,609],[181,286],[254,545],[209,632],[22,131],[102,249],[689,720],[187,244],[65,785],[458,460],[128,167],[259,498],[163,372],[594,729],[107,620],[433,641],[487,621],[306,420],[130,222],[365,744],[127,714],[293,737],[305,321],[466,674],[44,536],[413,668],[656,673],[359,566],[347,750],[122,613],[3,293],[232,354],[338,372],[285,518],[193,255],[247,510],[227,275],[336,429],[639,714],[478,531],[249,281],[105,682],[281,511],[258,357],[693,712],[61,337],[122,505],[184,426],[102,536],[420,675],[458,549],[514,737],[191,721],[243,731],[350,476],[280,399],[630,768],[493,552],[58,206],[281,623],[419,575],[286,311],[200,546],[42,207],[12,602],[645,676],[284,405],[677,745],[432,541],[159,392],[333,517],[658,713],[310,524],[66,173],[230,690],[167,234],[456,507],[48,551],[188,711],[101,377],[22,242],[5,598],[354,761],[201,766],[129,243],[245,674],[68,730],[448,624],[367,398],[95,366],[491,604],[340,780],[38,79],[230,438],[242,650],[522,695],[310,766],[9,555],[687,771],[10,254],[542,789],[383,625],[102,764],[637,770],[286,692],[41,763],[399,480],[227,624],[93,544],[514,574],[391,494],[260,401],[51,547],[744,761],[332,426],[196,273],[208,238],[441,598],[89,555],[363,517],[437,466],[319,590],[559,599],[260,293],[294,673],[525,713],[457,569],[40,784],[721,755],[177,789],[191,306],[32,282],[6,153],[265,502],[230,383],[42,183],[310,653],[59,272],[516,767],[66,131],[347,568],[1,550],[717,766],[372,750],[446,699],[332,677],[594,686],[116,635],[95,185],[105,644],[403,737],[507,776],[241,675],[550,756],[133,733],[282,685],[79,344],[118,424],[55,395],[543,744],[157,281],[253,505],[35,682],[60,339],[412,678],[387,743],[684,719],[30,585],[360,460],[321,398],[422,728],[273,330],[344,390],[45,103],[391,749],[334,453],[351,533],[234,613],[151,758],[159,619],[230,243],[19,706],[143,256],[114,458],[249,512],[186,712],[425,756],[345,736],[446,788],[535,735],[74,251],[50,559],[387,720],[16,664],[433,458],[213,293],[292,357],[560,675],[379,752],[198,411],[340,742],[385,655],[277,304],[195,271],[3,348],[137,437],[127,643],[300,562],[164,274],[203,629],[289,552],[220,291],[118,661],[21,91],[123,776],[23,33],[507,622],[281,566],[104,781],[200,251],[103,300],[327,682],[539,709],[56,704],[576,758],[146,378],[16,668],[2,77],[613,667],[184,252],[662,690],[213,535],[3,487],[444,449],[80,670],[226,245],[93,371],[353,685],[14,572],[138,388],[175,526],[25,618],[591,742],[244,387],[378,476],[214,791],[313,523],[7,596],[300,660],[14,455],[237,631],[39,121],[169,487],[154,215],[37,731],[189,599],[194,516],[265,338],[40,238],[60,454],[37,587],[382,752],[649,678],[99,391],[273,427],[46,156],[247,573],[478,576],[232,682],[498,554],[4,684],[216,585],[265,715],[146,197],[276,474],[439,599],[201,569],[408,782],[431,747],[523,592],[51,346],[396,637],[445,502],[644,711],[339,493],[12,135],[283,360],[422,555],[57,295],[37,326],[325,613],[509,532],[739,747],[41,436],[430,486],[247,303],[412,599],[34,168],[250,308],[494,659],[63,320],[410,427],[76,411],[120,454],[64,702],[583,602],[73,351],[574,791],[208,414],[611,700],[80,655],[1,511],[118,767],[271,619],[259,654],[660,669],[310,690],[437,651],[318,560],[716,740],[296,392],[71,719],[156,668],[250,294],[94,266],[153,352],[123,738],[479,513],[302,453],[307,657],[470,693],[84,249],[585,778],[416,591],[124,303],[158,305],[499,616],[375,568],[18,666],[7,675],[616,630],[242,578],[172,742],[318,564],[172,333],[447,547],[101,300],[256,323],[72,413],[458,476],[253,672],[78,591],[69,106],[278,765],[288,648],[417,533],[342,539],[15,391],[159,274],[36,194],[62,759],[72,516],[396,595],[347,501],[242,308],[704,738],[328,478],[149,345],[60,407],[77,478],[468,736],[55,72],[6,445],[344,422],[459,507],[206,488],[425,523],[593,754],[365,481],[157,214],[149,210],[62,727],[92,350],[76,652],[475,496],[523,545],[601,721],[161,458],[182,252],[352,425],[522,586],[101,425],[42,623],[257,422],[379,546],[515,717],[56,112],[215,285],[13,565],[426,734],[62,201],[47,301],[717,788],[131,718],[259,724],[79,775],[29,51],[132,790],[27,90],[85,449],[462,683],[114,494],[421,749],[78,437],[232,733],[167,762],[364,614],[704,710],[53,749],[87,751],[371,519],[422,503],[333,654],[407,612],[544,599],[59,698],[205,743],[35,313],[81,191],[208,659],[232,589],[406,625],[592,752],[179,452],[612,739],[272,689],[102,250],[12,195],[364,506],[417,518],[89,396],[161,412],[30,99],[421,506],[128,253],[684,718],[73,573],[151,245],[374,659],[394,399],[97,292],[155,639],[654,713],[619,755],[349,504],[321,680],[59,122],[216,514],[38,337],[131,537],[400,442],[448,491],[49,355],[373,726],[39,292],[620,692],[370,419],[10,265],[30,94],[67,656],[57,206],[467,617],[149,707],[432,650],[8,341],[5,415],[382,411],[80,189],[12,82],[550,651],[191,560],[163,489],[677,710],[413,502],[262,449],[566,613],[83,227],[234,387],[298,780],[307,609],[114,443],[265,603],[333,756],[241,682],[531,768],[50,324],[123,546],[400,693],[195,562],[23,468],[64,240],[196,396],[71,612],[145,570],[451,515],[344,779],[326,591],[273,737],[485,764],[585,613],[204,247],[13,289],[64,325],[429,594],[376,439],[131,662],[47,510],[170,361],[212,754],[456,458],[498,720],[658,709],[34,613],[268,276],[235,755],[421,455],[750,792],[469,504],[291,754],[326,483],[65,173],[465,790],[144,735],[200,227],[241,515],[63,347],[249,537],[418,733],[73,540],[357,555],[300,448],[288,721],[465,655],[192,506],[87,313],[152,204],[115,402],[423,518],[38,713],[360,498],[15,55],[208,230],[34,581],[396,439],[488,531],[531,740],[202,564],[392,563],[133,321],[423,639],[236,404],[152,581],[10,497],[249,779],[151,207],[75,325],[53,477],[22,709],[52,332],[79,624],[108,749],[33,328],[199,778],[306,486],[197,341],[323,328],[286,517],[246,490],[15,459],[36,491],[336,374],[132,724],[62,647],[188,634],[436,470],[498,692],[86,348],[414,568],[124,640],[164,685],[550,748],[51,399],[341,574],[133,545],[142,383],[124,725],[152,567],[61,547],[385,769],[287,621],[16,643],[326,729],[83,315],[174,582],[453,662],[24,674],[402,449],[462,500],[257,607],[646,657],[102,166],[195,641],[163,707],[146,474],[20,407],[334,454],[429,435],[230,473],[508,737],[417,726],[112,517],[160,237],[328,379],[186,286],[261,716],[442,499],[2,483],[479,566],[588,720],[198,376],[480,629],[52,331],[355,378],[130,516],[79,443],[340,725],[452,539],[258,445],[494,554],[71,439],[313,390],[76,526],[251,424],[277,534],[264,753],[332,479],[207,475],[646,782],[350,631],[91,291],[27,526],[370,609],[240,679],[89,190],[99,658],[107,671],[271,523],[185,581],[263,757],[294,497],[357,791],[664,701],[734,787],[110,178],[122,381],[168,775],[106,562],[66,108],[52,173],[110,681],[78,320],[631,789],[122,655],[491,638],[48,715],[250,292],[150,354],[79,550],[16,381],[197,267],[285,389],[341,577],[402,654],[125,126],[525,743],[317,714],[271,518],[526,717],[408,743],[7,399],[688,788],[156,778],[313,353],[8,144],[384,642]]],"output":false},{"file":"testcase_5.txt","input":[803,[[308,393],[687,798],[253,521],[625,704],[434,453],[350,719],[175,385],[10,717],[719,729],[58,504],[267,422],[285,674],[469,593],[133,351],[357,788],[470,567],[214,406],[343,655],[389,533],[245,540],[286,337],[282,559],[26,206],[74,475],[600,716],[404,512],[518,534],[163,733],[600,734],[56,213],[253,480],[669,696],[268,779],[198,315],[400,743],[223,274],[162,389],[141,177],[120,362],[303,456],[232,350],[125,477],[238,375],[101,211],[137,570],[543,776],[294,590],[87,496],[156,165],[40,692],[389,791],[605,714],[146,591],[316,413],[338,761],[433,623],[38,722],[378,586],[295,326],[427,664],[75,341],[466,528],[224,784],[677,684],[402,772],[384,495],[56,80],[203,645],[35,652],[184,531],[96,439],[108,493],[572,731],[13,124],[316,680],[155,226],[364,470],[305,787],[370,788],[114,261],[234,626],[97,254],[268,621],[317,761],[355,635],[85,719],[411,578],[278,726],[75,117],[689,724],[358,780],[474,616],[476,534],[266,779],[158,569],[54,524],[162,633],[481,749],[548,595],[279,706],[329,481],[79,263],[131,691],[426,432],[680,760],[535,769],[195,355],[12,801],[299,348],[510,669],[449,781],[371,517],[437,791],[445,466],[174,463],[84,289],[234,493],[325,577],[221,523],[213,400],[187,207],[246,586],[61,284],[84,481],[230,425],[225,383],[187,463],[113,340],[291,392],[124,672],[157,739],[20,444],[586,617],[71,462],[458,761],[165,661],[362,461],[143,157],[179,724],[52,82],[153,595],[275,624],[268,499],[288,350],[182,277],[34,299],[428,726],[345,591],[381,422],[90,267],[25,394],[69,610],[462,468],[74,536],[417,564],[297,602],[351,756],[194,644],[84,467],[451,788],[670,707],[388,610],[55,284],[268,547],[145,797],[489,726],[134,776],[287,472],[500,735],[146,149],[63,389],[563,800],[64,570],[266,406],[268,522],[602,639],[192,466],[141,393],[259,739],[210,514],[147,778],[49,600],[337,713],[428,767],[462,799],[591,803],[90,436],[231,658],[332,506],[448,699],[501,766],[305,745],[10,711],[219,650],[57,350],[104,764],[182,610],[276,321],[497,741],[76,491],[348,587],[232,513],[306,590],[58,406],[91,766],[555,785],[349,753],[123,142],[111,787],[249,620],[516,546],[147,389],[371,555],[407,520],[496,607],[207,742],[91,375],[187,654],[630,705],[497,679],[526,541],[62,159],[30,789],[158,209],[111,753],[32,609],[592,614],[283,682],[108,208],[762,796],[393,780],[375,774],[477,739],[361,784],[385,391],[387,638],[75,351],[610,784],[295,354],[1,166],[69,264],[551,606],[475,632],[101,424],[541,790],[87,718],[395,660]]],"output":false},{"file":"testcase_6.txt","input":[208,[[12,123],[174,194],[18,26],[1,104],[47,71],[105,180],[64,151],[139,154],[117,154],[9,90],[51,208],[26,142],[50,109],[44,47],[67,198],[154,166],[20,86],[25,52],[11,117],[173,188],[74,75],[12,109],[23,109],[83,160],[64,128],[64,137],[53,146],[25,173],[65,120],[93,191],[136,171],[68,116],[180,205],[37,147],[45,160],[40,54],[129,141],[129,150],[86,179],[70,162],[55,173],[59,171],[101,149],[90,149],[71,145],[101,158],[102,123],[112,200],[104,196],[143,178],[62,190],[41,167],[128,135],[62,199],[135,183],[10,170],[33,172],[21,27],[85,182],[21,36],[86,165],[3,158],[101,126],[21,54],[27,88],[153,173],[184,188],[42,95],[142,182],[82,158],[94,123],[165,174],[60,130],[112,177],[4,86],[53,100],[112,186],[34,105],[81,198],[115,200],[137,197],[28,52],[46,97],[31,197],[12,193],[147,161],[29,35],[129,131],[36,150],[39,57],[47,159],[36,168],[29,129],[77,187],[92,185],[52,112],[146,165],[41,121],[141,208],[83,136],[106,119],[33,144],[164,200],[81,202],[116,169],[5,54],[139,143],[149,184],[69,75],[150,158],[101,116],[15,122],[118,196],[71,121],[31,48],[9,146],[5,157],[11,88],[110,121],[119,188],[40,133],[12,80],[77,200],[60,129],[10,110],[52,125],[87,101],[37,82],[62,184],[57,78],[156,200],[128,129],[97,123],[51,165],[22,129],[24,157],[106,208],[78,137],[1,164],[70,133],[88,178],[43,188],[76,185],[69,164],[31,70],[12,66],[38,204],[183,204],[175,200],[16,36],[61,187],[35,58],[33,125],[54,166],[8,208],[76,86],[157,160],[26,67],[23,169],[156,204],[31,182],[201,203],[68,91],[1,150],[31,200],[42,48],[107,168],[79,106],[65,171],[24,179],[96,195],[75,81],[23,52],[41,97],[50,164],[69,186],[8,167],[69,195],[30,176],[50,191],[22,83],[108,123],[14,79],[102,201],[94,206],[84,171],[46,77],[4,160],[118,154],[114,202],[15,89],[26,89],[53,192],[7,85],[87,203],[119,146],[141,170],[5,160],[183,185],[25,84],[175,190],[19,162],[16,35],[1,46],[10,122],[52,195],[138,146],[97,108],[72,182],[106,193],[126,171],[47,125],[8,63],[151,191],[52,78],[15,178],[49,180],[6,120],[77,171],[121,205],[122,142],[82,204],[30,166],[116,117],[185,189],[39,153],[91,191],[22,91],[51,136],[1,117],[76,147],[22,176],[45,196],[23,28],[151,186],[69,144],[27,138],[68,188],[80,153],[26,182],[204,207],[44,78],[141,178],[54,137],[3,64],[31,135],[174,193],[60,180],[21,198],[3,82],[32,136],[84,174],[88,144],[5,100],[76,151],[99,162],[128,198],[50,126],[44,64],[52,77],[43,86],[6,195],[23,126],[103,146],[95,142],[36,92],[65,137],[48,66],[109,171],[29,62],[88,148],[121,145],[65,155],[45,186],[42,108],[55,190],[77,138],[73,86],[151,176],[151,185],[47,195],[133,146],[104,110],[25,64],[28,200],[14,36],[19,151],[54,118],[107,138],[157,206],[99,143],[9,88],[121,140],[100,117],[121,167],[8,110],[101,170],[31,93],[3,22],[103,109],[3,31],[114,136],[24,99],[139,156],[93,198],[77,92],[58,88],[24,193],[192,195],[161,189],[36,176],[58,124],[61,120],[7,149],[113,167],[59,196],[103,104],[66,73],[40,173],[72,116],[103,131],[114,131],[135,163],[7,14],[62,188],[10,159],[108,164],[64,139],[107,119],[54,202],[6,27],[108,182],[149,192],[67,150],[38,123],[13,188],[26,130],[121,148],[7,126],[132,148],[25,31],[28,167],[20,83],[102,134],[12,79],[71,165],[84,104],[35,62],[124,149],[146,195],[6,193],[1,87],[35,89],[34,121],[93,170],[36,63],[88,101],[156,208],[10,172],[9,64],[97,149],[22,155],[29,51],[49,118],[121,134],[89,163],[67,172],[88,204],[134,180],[75,103],[83,116],[162,180],[102,138],[58,190],[77,203],[60,141],[69,208],[17,18],[143,157],[53,102],[44,133],[42,200],[64,120],[36,49],[62,196],[136,145],[57,99],[168,186],[13,160],[57,117],[149,191],[58,82],[32,182],[32,200],[31,46],[101,141],[23,60],[77,180],[63,142],[39,86],[17,184],[183,207],[52,114],[146,167],[58,194],[176,186],[2,122],[85,147],[138,159],[31,185],[39,198],[49,81],[43,159],[32,159],[84,197],[31,203],[14,132],[43,168],[27,62],[150,151],[126,193],[9,148],[57,197],[183,184],[60,104],[175,180],[69,171],[21,122],[24,29],[69,180],[123,160],[152,196],[131,173],[40,153],[16,43],[22,86],[58,207],[108,135],[62,177],[19,206],[65,84],[114,187],[34,115],[122,200],[26,74],[114,205],[167,208],[4,181],[26,92],[69,72],[66,174],[24,168],[90,113],[111,145],[36,151],[65,196],[111,163],[28,156],[28,165],[63,132],[112,164],[6,155],[133,196],[110,194],[5,10],[133,205],[125,201],[73,172],[83,204],[43,131],[20,175],[24,136],[87,183],[16,141],[88,157],[4,185],[23,198],[64,199],[98,112],[19,57],[34,195],[47,137],[22,202],[111,149],[118,197],[77,147],[30,75],[9,138],[134,160],[46,187],[76,200],[94,105],[144,173],[61,184],[193,205],[34,87],[31,152],[102,203],[60,197],[38,57],[74,141],[7,51],[130,149],[27,38],[114,204],[67,129],[53,203],[134,137],[100,135],[100,144],[69,156],[69,165],[45,46],[34,55],[133,177],[145,151],[114,154],[97,101],[4,148],[12,170],[27,33],[7,64],[84,186],[87,173],[25,198],[24,144],[90,98],[40,79],[109,197],[171,190],[163,186],[112,113],[129,184],[141,158],[151,202],[81,125],[38,191],[175,178],[41,89],[34,50],[54,117],[10,92],[91,166],[19,168],[26,45],[94,198],[23,156],[87,159],[126,141],[106,172],[18,59],[10,204],[96,155],[120,183],[38,141],[5,116],[121,166],[29,92],[148,192],[92,139],[78,204],[141,162],[110,165],[61,160],[20,119],[62,134],[185,186],[91,179],[51,115],[174,204],[70,74],[18,36],[33,174],[12,151],[159,179],[178,192],[65,135],[10,199],[17,104],[109,178],[129,156],[56,193],[61,119],[3,196],[21,92],[2,51],[133,153],[154,185],[81,124],[48,176],[3,34],[14,34],[3,52],[51,101],[158,173],[11,163],[44,169],[143,202],[18,49],[28,81],[139,177],[30,32],[136,190],[63,66],[37,166],[28,108],[129,160],[57,153],[6,80],[52,56],[101,159],[62,88],[55,201],[20,91],[82,191]]],"output":false},{"file":"testcase_7.txt","input":[366,[[140,281],[84,313],[206,345],[83,302],[27,59],[158,305],[13,106],[72,329],[105,363],[36,254],[106,340],[161,285],[170,178],[71,248],[211,252],[175,177],[59,103],[152,175],[16,22],[57,276],[44,47],[184,207],[127,182],[144,207],[133,280],[39,172],[282,351],[348,351],[21,167],[274,292],[231,351],[84,363],[1,145],[35,284],[101,165],[16,170],[250,282],[111,206],[25,182],[285,306],[177,215],[12,102],[203,298],[193,241],[84,127],[231,243],[129,342],[166,242],[164,272],[172,218],[20,90],[7,343],[81,292],[101,359],[108,255],[264,276],[97,108],[135,229],[205,282],[2,157],[17,66],[110,211],[148,195],[21,91],[6,102],[41,69],[18,46],[74,200],[273,345],[18,55],[99,138],[115,308],[7,64],[197,270],[55,296],[34,240],[163,223],[261,291],[278,307],[100,130],[88,229],[40,42],[23,264],[131,300],[93,316],[192,286],[300,310],[92,281],[53,292],[96,162],[1,272],[231,252],[185,264],[3,318],[194,349],[147,182],[75,212],[59,280],[115,257],[71,254],[276,296],[71,318],[100,244],[85,234],[200,340],[12,21],[174,330],[214,366],[48,169],[34,91],[123,245],[196,315],[21,234],[159,360],[8,26],[118,267],[152,180],[329,359],[115,314],[215,282],[152,244],[47,289],[57,92],[40,195],[63,197],[64,323],[148,359],[61,245],[224,260],[223,325],[141,283],[86,347],[281,321],[144,169],[218,301],[22,173],[288,354],[263,364],[140,284],[156,280],[59,122],[32,296],[3,324],[222,298],[314,317],[10,128],[64,282],[102,147],[119,282],[18,294],[221,348],[173,216],[42,279],[143,175],[162,289],[25,37],[81,154],[13,166],[44,297],[41,365],[72,343],[273,278],[202,309],[10,212],[20,125],[242,272],[14,127],[114,278],[37,141],[58,328],[22,152],[81,247],[227,246],[106,121],[115,133]]],"output":false},{"file":"testcase_8.txt","input":[301,[[74,281],[92,241],[84,212],[133,205],[59,82],[105,253],[55,148],[113,181],[93,141],[99,246],[6,48],[188,278],[138,268],[119,178],[99,264],[51,217],[57,212],[27,107],[101,145],[178,212],[48,93],[98,231],[189,230],[54,207],[118,133],[90,181],[144,216],[103,111],[51,137],[33,205],[201,262],[231,241],[86,250],[146,271],[62,76],[24,101],[260,265],[27,136],[28,190],[81,299],[48,177],[76,266],[254,291],[89,239],[56,117],[36,114],[99,161],[26,274],[134,247],[193,198],[134,192],[54,83],[49,169],[272,281],[121,148],[61,161],[1,259],[18,71],[33,273],[8,164],[119,132],[126,235],[118,231],[51,116],[69,76],[185,287],[158,215],[201,250],[218,229],[64,235],[105,117],[150,204],[62,265],[179,219],[97,204],[114,284],[26,107],[61,138],[203,249],[81,134],[70,296],[148,172],[31,78],[3,7],[155,205],[200,237],[84,227],[52,137],[115,129],[30,42],[96,164],[5,116],[65,222],[155,189],[123,163],[272,280],[98,200],[1,75],[17,157],[51,216],[199,249],[146,167],[206,236],[174,213],[24,171],[257,293],[101,180],[134,150],[56,93],[82,121],[64,170],[90,143],[148,160],[154,274],[9,109],[5,248],[220,237],[25,117],[17,79],[161,297],[14,98],[48,130],[19,277],[219,286],[246,249],[55,272],[242,245],[126,268],[7,241],[208,231],[82,189],[227,244],[225,265],[9,168],[237,294],[95,210],[115,158],[62,207],[233,281],[238,277],[88,116],[21,279],[108,256],[271,292],[77,225]]],"output":false},{"file":"testcase_9.txt","input":[190,[[87,126],[35,97],[44,164],[47,80],[72,164],[5,83],[49,117],[5,92],[132,133],[86,166],[76,143],[3,159],[109,177],[22,181],[97,184],[7,138],[2,32],[39,81],[125,130],[7,156],[48,157],[173,188],[63,164],[125,148],[146,180],[94,160],[41,163],[36,57],[45,124],[72,150],[124,188],[1,108],[25,173],[2,180],[34,160],[22,158],[29,54],[3,154],[32,190],[78,166],[49,139],[21,68],[101,140],[79,140],[18,142],[134,183],[20,72],[113,160],[73,87],[8,116],[19,116],[51,59],[101,176],[131,177],[30,134],[71,172],[66,84],[143,169],[115,187],[35,78],[52,149],[105,161],[76,88],[4,118],[56,119],[136,139],[25,168],[64,150],[61,72],[97,156],[6,47],[36,164],[78,179],[102,109],[42,104],[110,122],[94,114],[2,40],[30,120],[17,187],[4,68],[82,167],[60,130],[43,59],[94,141],[43,77],[81,180],[34,114],[9,39],[36,65],[9,48],[109,135],[21,40],[18,105],[7,105],[27,92],[62,68],[98,152],[48,133],[162,173],[54,82],[32,45],[35,41],[123,163],[61,188],[124,137],[127,142],[73,171],[34,100],[115,186],[85,145],[73,189],[120,121],[6,10],[50,53],[74,172],[68,110],[101,116],[134,159],[90,134],[36,163],[28,159],[91,108],[47,172],[32,40],[29,142],[6,149],[21,147],[13,54],[108,124],[64,99],[10,137],[137,178],[122,189],[17,42],[15,72],[57,96],[14,125],[160,179],[58,79],[55,144],[107,182],[13,175],[1,173],[134,145],[98,133],[100,152],[91,103],[92,166],[31,70],[6,135],[154,159],[24,31],[115,140],[80,173],[64,76],[21,142],[112,171],[62,152],[54,148],[37,77],[73,161],[34,90],[37,86],[31,164],[20,164],[114,180],[57,73],[17,37],[108,155],[51,151],[5,44],[14,120],[50,61],[19,55],[118,177],[88,173],[8,82],[39,60],[91,98],[49,181],[9,154],[6,139],[41,106],[25,89],[34,67],[19,167],[145,154],[52,115],[125,185],[104,162],[39,154],[16,49],[122,170],[37,81],[11,181],[108,132],[14,88],[86,104],[20,168],[15,62],[3,106],[149,160],[36,121],[119,137],[47,130],[100,133],[55,143],[182,184],[40,91],[5,124],[52,74],[40,127],[45,53],[16,17],[123,152],[33,97],[62,133],[27,175],[108,109],[25,102],[3,65],[39,158],[34,89],[9,14],[87,162],[12,168],[12,177],[18,71],[88,145],[67,122],[45,174],[35,151],[30,45],[36,134],[134,139],[28,130],[4,11],[17,139],[69,140],[92,142],[11,68],[57,184],[68,184],[104,116],[62,119],[115,134],[73,128],[74,93],[56,57],[102,173],[8,166],[54,133],[137,149],[23,136],[12,136],[122,178],[15,52],[11,189],[38,54],[35,119],[84,170],[7,57],[24,137],[64,173],[11,18],[100,114],[45,178],[111,114],[48,85],[120,190],[37,183],[68,179],[33,69],[90,185],[104,129],[42,145],[8,161],[15,20],[43,100],[11,166],[7,25],[4,127],[75,178],[87,152],[72,163],[89,94],[53,159],[11,13],[70,99],[107,148],[159,186],[88,144],[107,157],[76,160],[14,185],[61,126],[26,168],[81,122],[3,32],[44,82],[81,131],[122,132],[73,127],[54,123],[25,87],[125,174],[94,168],[122,150],[155,184],[24,91],[85,110],[135,187],[35,109],[1,107],[13,109],[70,76],[53,154],[89,98],[118,134],[13,127],[64,163],[46,124],[159,190],[57,133],[38,138],[50,103],[120,189],[9,102],[151,167],[21,76],[33,41],[121,163],[49,156],[73,86],[8,124],[90,175],[7,168],[102,149],[54,109],[31,107],[22,58],[30,160],[37,56],[41,157],[15,28],[23,130],[84,155],[35,113],[99,116],[47,87],[139,170],[92,95],[121,149],[98,156],[98,165],[33,54],[165,182],[154,182],[32,67],[137,138],[174,187],[106,132],[87,128],[88,93],[72,148],[95,150],[28,60],[2,160],[64,144],[59,75],[72,157],[1,115],[68,114],[68,132],[58,97],[79,147],[7,140],[30,105],[27,118],[61,129],[71,161],[94,135],[95,100],[60,142],[66,73],[83,144],[43,80],[6,189],[35,85],[53,121],[95,136],[93,166],[116,177],[76,104],[44,170],[37,122],[28,64],[3,138],[22,151],[28,82],[65,131],[117,169],[97,172],[10,15],[101,133],[90,133],[8,91],[113,144],[97,190],[47,171],[11,105],[47,189],[42,120],[13,53],[115,180],[166,173],[21,182],[108,150],[143,180],[87,127],[117,137],[9,64],[58,78],[121,125],[77,100],[98,132],[58,96],[140,147],[50,92],[90,128],[27,99],[8,95],[20,60],[119,182],[63,138],[131,165],[35,39],[84,90],[131,183],[87,95],[124,144],[72,106],[123,188],[87,113],[105,149],[135,162],[36,49],[62,187],[6,8],[88,96],[136,145],[51,168],[109,137],[136,154],[117,150],[120,146],[69,73],[43,173],[160,182],[21,33],[43,182],[113,116],[121,129],[150,165],[27,85],[134,166],[20,55],[17,157],[142,179],[71,128],[5,173],[75,107],[94,120],[23,87],[27,188],[13,61],[85,138],[5,29],[56,120],[93,169],[68,94],[149,168],[12,190],[109,141],[138,186],[15,115],[98,131],[89,162],[40,117],[36,165],[39,72],[13,29],[92,182],[29,144],[35,38],[32,51],[116,121],[64,83],[13,47],[104,165],[5,15],[5,33],[74,160],[46,89],[6,16],[68,89],[97,134],[109,136],[101,104],[149,190],[150,164],[82,109],[29,103],[82,118],[111,154],[39,58],[29,121],[6,119],[115,133],[29,139],[104,142],[77,188],[112,155],[64,78],[45,74],[105,125],[81,167],[17,21],[2,121],[5,19],[20,166],[9,26],[46,75],[138,158],[38,80],[86,129],[19,39],[96,170],[126,183],[82,95],[48,93],[42,59],[55,150],[90,117],[16,177],[5,158],[94,105],[5,167],[104,137],[27,164],[141,186],[64,73],[164,169],[116,129],[19,187],[74,141],[84,173],[68,79],[126,160],[71,72],[55,118],[111,126],[4,189],[5,117],[134,137],[48,106],[99,188],[151,189],[112,118],[57,182],[80,147],[69,156],[52,85],[113,190],[21,116],[34,46],[33,90],[16,19],[144,186],[22,71],[42,175],[145,160],[45,82],[2,111],[15,41],[75,181],[138,139],[32,130],[18,64],[18,73],[71,85],[37,181],[77,128],[65,163],[119,152],[121,171],[92,135],[52,62],[68,168],[112,122],[46,186],[18,167],[58,151],[77,164],[54,117],[22,57],[22,66],[2,97],[2,106],[43,116],[41,183],[126,132],[15,54],[12,156],[138,143],[36,86],[24,121],[96,137],[53,166],[13,139],[27,46],[46,136],[99,151],[87,186],[63,76],[5,116],[69,119],[69,137],[49,168],[121,184],[104,113],[42,129],[90,178],[141,162],[80,155],[152,171],[125,154],[74,81],[101,187],[7,180],[53,58],[125,163],[22,52],[144,176],[81,138],[63,179],[22,61],[23,133],[24,98],[13,98],[70,74],[67,87],[130,134],[178,183],[24,125],[34,166],[121,152],[40,78],[58,123],[5,129],[29,96],[18,148],[77,145],[21,92],[129,183],[26,161],[50,146],[91,156],[74,85],[93,107],[122,152],[137,150],[59,60],[51,119],[83,188],[33,169],[52,182],[53,147],[1,109],[34,143],[87,158],[96,136],[118,145],[92,93],[37,157],[49,122],[132,147],[63,75],[163,171],[21,87],[27,121],[70,190],[141,152],[165,180],[63,160],[42,137],[81,119],[101,186],[29,167],[91,151],[73,115],[94,147],[51,78],[165,189],[30,153],[60,154],[72,128]]],"output":false}]
|
alice-and-bob-playing-flower-game.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[543,979],"output":265798},{"file":"testcase_10.txt","input":[891,74],"output":32967},{"file":"testcase_2.txt","input":[758,117],"output":44343},{"file":"testcase_3.txt","input":[781,929],"output":362774},{"file":"testcase_4.txt","input":[87,530],"output":23055},{"file":"testcase_5.txt","input":[981,947],"output":464503},{"file":"testcase_6.txt","input":[905,316],"output":142990},{"file":"testcase_7.txt","input":[922,345],"output":159045},{"file":"testcase_8.txt","input":[750,517],"output":193875},{"file":"testcase_9.txt","input":[284,743],"output":105506}]
|
alternating-groups-i.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[0],[0],[1],[1],[0],[0],[1],[1],[1],[1],[1],[0],[1],[1],[0],[0],[0],[1],[0],[1],[0],[0],[0],[0],[1],[0],[1],[1],[1],[0],[0],[1],[1],[0],[1],[1],[0],[0],[0],[1],[0],[0],[0],[1],[0],[0],[1],[0],[1],[1],[1],[1],[0],[0],[0],[0],[1],[0],[1],[0],[1],[0],[1],[1],[0],[0],[1],[1],[0],[1],[1],[1],[0],[1],[1],[0],[0],[1],[1],[1],[0],[1],[1],[0],[0],[1],[1],[0],[1],[0],[1],[0],[1],[1],[1]],"output":25},{"file":"testcase_2.txt","input":[[1],[1],[1],[0],[0],[0],[0],[0],[0],[1],[1],[0],[0],[0],[1],[0],[1],[1],[0],[0],[0],[1],[0],[1],[1],[0],[1],[0],[0],[0],[0],[0],[0],[0],[1],[0],[1],[1],[1],[0],[0],[1],[1],[0],[1],[1],[0],[1],[0],[1],[1],[0],[0],[0],[0],[1],[1],[0],[1],[1],[1],[0],[0],[0],[1],[1],[0],[1],[1],[0],[1],[0],[1],[1],[0],[1],[1],[1],[1],[1],[0],[0],[1],[0],[1],[1],[1],[1],[1],[1],[0],[1],[1],[1],[0],[1]],"output":22},{"file":"testcase_3.txt","input":[[1],[1],[1],[1],[0],[1],[1],[0],[1],[1],[0],[1],[0],[1],[1],[1],[0],[0],[1],[1],[1],[1],[0],[1],[1],[1],[0],[0],[1],[1],[1],[0],[1],[0],[0],[0],[1],[1],[0],[1],[1],[0],[0],[1],[1],[0],[0],[1],[1],[0],[0],[0],[0],[1],[1],[1],[0],[1],[0],[0],[1],[1],[1],[1],[0]],"output":12},{"file":"testcase_4.txt","input":[[1],[0],[1],[1],[0],[0],[0],[0],[0],[1],[0],[0],[1],[0],[0],[1],[1],[1],[1],[0],[0],[0],[1],[1],[1],[1],[0],[0],[1],[1],[0],[1],[0],[0],[0]],"output":6},{"file":"testcase_5.txt","input":[[0],[0],[0],[1],[0],[1],[0],[0],[1],[0],[1],[0],[1],[1],[1],[1],[0],[1],[1],[1],[1],[0],[1],[0],[1],[1],[0],[0],[1],[0],[0],[0],[0],[0],[0],[0],[1],[1],[0],[1],[1],[1],[1],[0],[1],[0],[1],[0],[0],[0],[0],[0],[0],[0],[1],[1],[1],[0],[1],[1],[0]],"output":18},{"file":"testcase_6.txt","input":[[1],[0],[1],[0],[0],[1],[1],[1],[1]],"output":2},{"file":"testcase_7.txt","input":[[1],[1],[1],[1],[1],[0],[0],[0],[0],[1],[0],[0],[1],[1],[0],[0],[1],[1],[1],[0],[1],[1],[1],[0],[0],[0],[1],[0],[1],[0],[0],[1],[1],[0],[0],[1],[1],[1],[1],[0],[0],[0],[1],[1],[0],[1],[0],[0],[1],[0],[0],[1],[0],[1],[1],[0],[0],[0],[1],[1],[1],[0],[0],[1],[0],[0],[1],[1],[0],[1],[1],[1],[0],[0],[0],[1],[0],[1],[0],[0],[1],[0],[1],[0],[0]],"output":18},{"file":"testcase_8.txt","input":[[1],[1],[1],[1],[0],[1],[0],[0],[0],[0],[0],[0],[0],[1],[0],[1],[0],[0],[0],[0],[0],[0],[1],[0],[0],[0],[1],[0],[1],[1],[0],[0],[0],[1],[1],[0],[1],[1],[0],[0],[0],[1],[1],[1],[0],[1],[0],[1],[0],[1],[1],[0],[0],[1],[0],[0],[1],[0],[1],[1],[1],[0],[0],[0],[0],[1],[0],[0],[1],[1],[0],[0],[1]],"output":18}]
|
alternating-groups-ii.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[0,0,0,1,0,1,1,0,1,1,1,1,1,1,1,0,0,0,1,1,1,0,0,0,0,0,0,1,0,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,1,0,0,1,0,1,0,0,0,1,1,0,0,0,0,0,0,1,0,0,1,0,1,0,0,0,0,0,1,0,0,0,0,1,0,1,0,1,1,0,1,0,0,1,0,1,0,1,1,0,0,1,1,1,1,1,0,0,1,1,1,0,1,0,1,0,0,0,0,0,1,1,1,1,0,0,0,1,0,0,1,0,0,0,1,0,1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,1,1,0,0,1,0,0,1,0,1,0,1,1,0,0,1,1,1,1,0,0,1,1,1,1,1,0,1,0,0,0,0,0,0,1,0,1,1,1,0,1,0,0,0,0,1,1,0,1,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,1,1,1,0,1,0,0,0,0,0,0,1,0,0,0,1,0,0,0],[[1,632],[1,516],[2,725,1],[2,527,1],[1,289],[1,900],[1,264],[1,586],[1,582],[2,552,1],[2,506,0],[2,934,0],[1,449],[1,931],[1,905],[2,103,1],[1,909],[1,62],[1,819],[1,67],[1,924],[1,38],[2,229,1],[1,650],[1,757],[2,598,0],[2,358,1],[2,669,1],[1,777],[2,543,1],[1,385],[1,274],[2,382,1],[1,432],[2,939,0],[1,888],[1,164],[1,275],[2,44,1],[2,950,0],[2,570,0],[1,634],[2,331,0],[1,216],[1,387],[1,361],[1,147],[2,542,0],[2,531,0],[1,739],[2,972,0],[2,636,1],[2,778,1],[2,61,0],[1,71],[2,38,0],[1,608],[1,304],[2,76,1],[1,860],[2,576,0],[2,189,0],[2,777,1],[1,262],[1,294],[1,917],[1,967],[2,756,1],[2,518,1],[1,289],[1,436],[2,931,0],[2,268,0],[2,559,0],[2,765,1],[2,564,1],[1,646],[2,283,1],[1,583],[1,543],[2,412,0],[2,734,1],[2,626,1],[1,37],[2,616,0],[1,248],[2,448,1],[2,463,0],[2,929,0],[2,512,0],[2,611,0],[1,872],[2,351,1],[1,595],[2,957,0],[2,707,0],[2,955,0],[1,52],[2,35,0],[1,896],[1,908],[1,191],[1,602],[2,584,1],[1,500],[2,752,1],[2,778,0],[1,335],[1,331],[2,974,0],[1,943],[1,732],[1,618],[2,675,0],[1,36],[1,222],[2,362,1],[1,548],[1,854],[1,730],[2,358,1],[1,643],[2,947,0],[1,272],[1,940],[2,134,0],[1,357],[2,332,0],[1,501],[2,249,1],[2,552,1],[2,870,0],[1,151],[1,242],[2,576,0],[1,389],[2,521,0],[2,492,0],[1,316],[2,18,0],[1,198],[1,657],[1,391],[2,287,1],[1,117],[2,318,0],[2,481,1],[2,70,1],[2,117,1],[2,824,0],[2,497,1],[2,614,1],[1,379],[2,399,1],[1,532],[2,737,0],[2,235,1],[1,90],[2,291,0],[1,834],[2,69,0],[1,642],[2,671,1],[1,878],[1,141],[1,956],[2,851,0],[2,508,1],[1,321],[1,953],[2,527,0],[2,580,0],[1,545],[2,905,1],[1,210],[2,967,0],[2,662,1],[1,933],[1,550],[1,162],[1,347],[1,477],[1,272],[2,898,1],[1,696],[2,776,0],[2,661,0],[1,662],[2,866,1],[2,115,1],[1,620],[2,624,1],[1,502],[1,155],[1,273],[1,206],[2,408,0],[2,792,1],[2,791,0],[2,541,1],[2,516,0],[1,930],[2,775,0],[2,738,1],[1,691],[1,391],[1,187],[1,93],[1,775],[2,852,1],[1,74],[2,687,1],[2,408,0],[1,40],[2,103,0],[2,727,0],[1,511],[1,422],[1,134],[2,977,0],[1,803],[2,572,1],[2,847,0],[1,507],[1,924],[2,458,1],[1,384],[2,0,0],[1,36],[2,385,0],[2,367,1],[1,298],[1,976],[2,709,0],[1,69],[2,826,0],[2,593,1],[1,174],[2,197,1],[1,819],[2,442,0],[2,75,0],[2,632,0],[2,635,0],[1,211],[2,500,0],[2,632,0],[1,294],[2,936,0],[1,704],[2,879,0],[1,879],[1,202],[1,948],[1,354],[1,688],[1,384],[1,594],[2,856,0],[1,934],[2,341,1],[1,42],[1,896],[1,629],[2,241,0],[2,245,1],[2,745,1],[2,46,1],[2,120,1],[2,7,0],[2,438,1],[2,52,1],[2,218,1],[2,425,0],[1,102],[1,415],[1,664],[1,462],[1,227],[1,79],[2,776,0],[1,884],[1,605],[2,594,1],[1,834],[1,394],[2,547,0],[1,886],[2,171,0],[1,15],[2,215,1],[2,798,1],[2,535,1],[1,114],[1,403],[2,520,0],[2,138,0],[1,493],[1,339],[2,581,1],[1,465],[1,114],[1,870],[1,866],[1,761],[2,904,1],[2,455,1],[2,831,0],[1,27],[1,203],[1,400],[1,572],[1,321],[1,974],[2,510,0],[1,236],[2,400,0],[1,373],[2,159,0],[1,435],[1,683],[2,409,0],[1,412],[2,355,0],[2,534,1],[2,582,0],[2,53,1],[1,258],[1,45],[1,518],[2,353,1],[1,263],[2,100,1],[2,316,1],[2,669,0],[1,477],[1,759],[2,402,0],[1,443],[2,230,1],[1,908],[1,684],[2,339,1],[2,540,1],[2,715,0],[1,312],[1,553],[1,685],[2,315,1],[1,421],[2,789,0],[1,16],[2,360,0],[1,252],[2,770,1],[2,792,0],[2,560,0],[1,803],[2,164,1],[1,170],[1,214],[1,179],[2,230,0],[2,63,1],[1,564],[2,477,1],[1,45],[2,227,0],[2,839,1],[1,310],[2,56,1],[1,54],[2,179,1],[2,599,0],[1,662],[1,308],[1,138],[1,509],[1,181],[2,444,0],[2,653,0],[2,250,0],[2,606,1],[2,588,0],[2,771,0],[1,759],[1,370],[1,430],[1,709],[2,390,0],[1,183],[2,670,1],[2,449,0],[1,27],[2,154,0],[1,762],[1,760],[2,855,1],[2,560,0],[2,600,0],[1,918],[2,18,1],[1,426],[1,583],[1,654],[2,818,1],[1,735],[2,110,0],[2,291,0],[1,718],[1,97],[2,651,0],[1,395],[2,392,1],[2,341,0],[2,153,0],[2,223,1],[2,169,1],[2,630,0],[1,711],[1,303],[2,704,1],[2,645,1],[1,169],[1,728],[2,524,1],[2,135,0],[1,718],[2,801,0],[1,33],[1,827],[2,637,0],[2,67,1],[2,650,1],[1,203],[2,831,1],[1,55],[2,207,0],[2,866,1],[2,214,1],[1,898],[2,826,1],[1,801],[1,523],[1,466],[1,826],[2,548,1],[1,153],[1,85],[2,356,1],[1,675],[2,938,0],[1,146],[1,849],[1,473],[1,787],[1,680],[2,836,1],[2,85,1],[2,264,0],[1,924],[1,650],[2,47,1],[1,632],[1,137],[2,598,0],[1,519],[2,843,1],[1,548],[1,419],[1,844],[1,28],[2,92,0],[1,50],[1,429],[1,164],[2,449,1],[2,51,1],[1,638],[2,15,0],[1,226],[2,820,1],[1,518],[2,83,1],[1,114],[2,465,0],[2,53,1],[1,254],[2,680,0],[1,955],[1,287],[2,319,1],[1,852],[1,593],[2,320,0],[2,419,1],[1,863],[2,55,0],[1,427],[1,970],[2,395,1],[1,589],[1,357],[1,600],[2,709,0],[1,915],[2,971,1],[1,676],[2,512,1],[2,470,1],[1,624],[1,929],[1,963],[2,970,0],[2,800,1],[2,244,0],[1,603],[1,408],[2,468,0],[2,360,0],[1,955],[2,670,0],[1,492],[2,876,0],[2,892,0],[1,90],[2,803,0],[1,682],[1,972],[2,314,1],[1,237],[2,109,0],[1,472],[2,463,1],[2,744,1],[2,964,1],[1,482],[2,343,1],[2,187,1],[1,722],[1,918],[1,230],[2,909,1],[1,339],[1,235],[2,500,0],[1,238],[1,539],[2,15,0],[2,108,1],[1,907],[1,641],[2,176,0],[2,751,0],[2,170,0],[2,442,1],[2,603,0],[2,244,1],[1,677],[2,453,0],[1,684],[1,838],[1,785],[2,753,0],[2,196,1],[1,542],[1,719],[2,972,0],[2,34,1],[1,54],[2,189,0],[2,47,1],[1,305],[1,421],[1,430],[2,672,0],[1,309],[2,663,0],[1,584],[1,491],[1,836],[2,476,0],[1,820],[1,898],[1,279],[1,340],[1,165],[1,141],[1,311],[1,142],[2,936,1],[1,926],[1,698],[2,276,0],[1,847],[1,696],[1,504],[1,315],[1,478],[2,274,1],[1,457],[2,559,1],[2,586,1],[2,734,1],[1,83],[1,334],[2,958,1],[2,24,0],[2,360,1],[2,278,1],[2,599,0],[2,533,0],[1,95],[1,587],[2,685,1],[1,547],[2,483,1],[2,848,1],[1,874],[2,601,1],[2,569,1],[1,323],[2,56,1],[2,859,1],[2,366,1],[2,287,0],[1,5],[2,289,0],[1,425],[1,197],[2,517,1],[2,39,1],[1,203],[1,666],[1,472],[1,85],[2,529,1],[1,374],[2,67,0],[1,141],[1,842],[2,323,1],[1,47],[1,371],[2,522,1],[2,724,1],[2,864,0],[2,174,0],[2,618,0],[2,770,0],[1,872],[2,571,0],[2,272,1],[2,716,0],[2,388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,1,0,0,1,1,0,0,1,1,1],[[1,88],[2,53,1],[2,74,1],[2,75,1],[1,10],[2,61,1],[2,127,0],[2,43,1],[2,138,0],[2,110,1],[1,90],[1,46],[2,32,0],[2,39,0],[1,49],[2,39,1],[1,88],[2,108,0],[1,81],[1,91],[2,123,0],[2,72,1],[1,100],[1,141],[2,97,1],[2,133,0],[2,155,1],[1,118],[1,113],[1,9],[2,122,0],[2,18,1],[2,158,0],[2,125,1],[1,66],[1,77],[1,147],[1,65],[2,130,1],[1,142],[2,48,1],[1,116],[1,142],[1,41],[1,56],[2,32,1],[1,125],[2,124,1],[1,94],[1,137],[2,34,0],[2,130,0],[1,67],[2,101,0],[2,11,0],[2,153,0],[2,125,0],[2,159,1],[1,41],[1,34],[2,35,1],[1,114],[2,120,1],[2,161,1],[2,124,0],[1,74],[2,87,1],[1,97],[1,56],[2,125,1],[2,154,0],[1,111],[1,113],[1,147],[1,71],[1,26],[2,30,1],[1,39],[1,35],[2,148,1],[2,157,0],[2,149,0],[2,77,1],[1,70],[2,22,1],[2,159,1],[2,72,0],[2,32,0],[2,126,1],[1,105],[2,0,0],[1,70],[1,43],[1,59],[2,157,0],[2,119,0],[1,114],[2,126,1],[2,28,1],[1,52],[2,129,1],[2,97,0],[2,101,1],[2,55,0],[1,124],[2,159,0],[1,143],[2,105,1],[1,94],[1,61],[2,59,0],[1,10],[2,135,0],[2,147,1],[2,98,0],[2,121,0],[1,15],[2,120,1],[1,140],[1,51],[2,92,0],[2,46,1],[2,54,1],[1,16],[1,125],[2,99,1],[1,100],[1,50],[1,40],[1,65],[1,105],[2,141,0],[2,83,0],[1,138],[2,137,1],[2,137,1],[1,16],[2,6,0],[2,88,1],[2,144,0],[2,145,1],[1,160],[1,141],[1,132],[2,56,1],[2,50,0],[1,42],[1,41],[2,159,1],[1,116],[1,74],[1,147],[2,138,0],[2,28,1],[2,160,1],[2,101,1],[1,156],[2,69,1],[1,146],[1,116],[2,12,0],[1,13],[2,24,0],[2,87,0],[2,49,1],[2,53,0],[1,24],[1,149],[2,86,1],[2,88,0],[1,113],[2,51,1],[1,134],[1,85],[1,113],[2,147,0],[2,146,1],[2,54,1],[1,98],[1,60],[1,128],[1,127],[2,28,1],[1,158],[1,50],[1,67],[1,136],[2,68,1],[1,129],[2,127,1],[2,89,1],[1,17],[1,28],[2,21,1],[1,160],[2,71,1],[1,40],[1,18],[2,125,1],[2,125,1],[1,16],[1,16],[1,17]]],"output":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{"file":"testcase_3.txt","input":[[0,0,1,1,0,0,0,0,1,1,1,1,1,0,0,1,1,0,0,1,1,1,0,0,0,0,0,1,0,0,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,1,1,1,1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,0,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1,1,1,0,1,0,1,1,1,0,0,0,1,1,0,1,1,0,0,1,1,1,1,0,1,0,0,1,0,0,1,0,0,0,1,1,0,0,1,1,1,0,1,1,1,0,0,1,1,0,0,0,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,1,1,0,1,0,0,0,0,1,0,0,1,1,0,1,1,0,1,1,1,1,0,1,0,0,0,1,0,1,0,0,1,1,0,1,1,1,1,1,0,0,1,1,1,0,0,1,0,0,1,0,0,0,0,1,1,1,0,0,1,0,0,1,1,1,1,0,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,1,1,0,0,1,0,0,1,0,0,1,0,0,1,1,1,1,0,0,1,1,0,0,1,0,1,0,0,0,1,1,1,0,1,0,1,1,1,1,0,1],[[1,150],[1,178],[1,178],[2,148,1],[2,130,1],[1,175],[2,59,0],[2,263,0],[1,36],[1,275],[2,165,1],[1,53],[2,69,0],[2,122,0],[1,87],[1,78],[2,211,0],[1,234],[2,158,1],[2,190,0],[1,193],[2,18,0],[1,74],[1,97],[2,3,1],[2,220,1],[2,23,1],[2,268,1],[1,55],[2,45,0],[1,238],[1,50],[2,57,0],[2,71,1],[1,21],[1,12],[1,35],[1,128],[1,81],[2,174,0],[2,137,0],[2,202,1],[2,172,1],[2,41,0],[2,167,1],[2,229,0],[1,115],[2,32,1],[2,234,0],[1,140],[2,89,1],[1,106],[2,238,0],[2,197,1],[1,274],[1,246],[1,244],[1,95],[1,38],[1,273],[2,58,0],[2,251,0],[2,74,1],[1,46],[2,146,0],[1,115],[1,236],[2,200,0],[1,196],[2,69,1],[2,88,1],[1,86],[2,48,0],[1,216],[1,130],[1,180],[1,49],[2,252,1],[2,13,1],[2,94,1],[2,72,1],[1,124],[2,249,1],[1,18],[1,76],[2,192,0],[1,137],[1,265],[2,275,0],[2,200,1],[1,54],[2,262,1],[1,277],[2,66,0],[2,95,0],[1,270],[1,278],[2,58,1],[2,181,0],[2,11,0],[2,141,0],[1,214],[2,117,0],[2,69,0],[2,231,0],[2,119,0],[1,183],[2,213,0],[1,11],[2,198,0],[2,110,1],[1,3],[2,51,1],[2,69,0],[1,210],[2,117,1],[2,42,0],[2,223,1],[1,275],[1,103],[1,215],[2,192,1],[1,190],[1,278],[2,239,1],[1,274],[2,201,1],[2,78,0],[1,83],[2,187,0],[1,102],[2,126,1],[1,176],[1,277],[2,201,0],[2,200,0],[1,107],[2,89,0],[2,31,1],[2,164,0],[2,267,0],[2,97,0],[2,86,0],[2,72,1],[1,69],[1,26],[1,128],[1,40],[2,214,1],[2,142,0],[1,258],[1,261],[1,74],[2,213,1],[2,243,1],[1,82],[1,103],[2,184,0],[1,52],[1,271],[2,2,1],[1,64],[2,85,1],[2,132,0],[1,94],[1,220],[2,260,0],[1,256],[2,81,1],[1,77],[1,202],[1,28],[1,266],[2,233,0],[2,73,1],[2,168,1],[2,212,0],[1,238],[1,201],[2,13,1],[1,34],[1,87],[1,81],[1,231],[1,140],[1,196],[1,127],[2,259,1],[2,98,1],[1,271],[1,194],[1,158],[2,121,0],[2,90,1],[1,42],[1,200],[1,265],[2,240,0],[1,187],[1,17],[2,247,0],[1,148],[1,222],[2,125,1],[2,130,0],[2,151,1],[2,174,1],[2,264,1],[2,211,0],[1,99],[2,275,1],[2,274,1],[2,225,0],[2,43,1],[2,155,1],[1,136],[2,13,0],[2,12,0],[1,87],[2,188,1],[1,53],[2,156,1],[2,144,0],[2,130,1],[2,117,0],[1,185],[1,90],[2,65,1],[2,190,1],[1,239],[1,18],[2,78,1],[2,220,0],[2,38,1],[1,278],[1,168],[1,260],[1,205],[1,177],[1,169],[2,2,1],[1,180],[1,163],[2,108,0],[2,92,0],[2,30,1],[1,8],[1,206],[1,31],[1,198],[1,61],[1,17],[2,184,0],[1,181],[1,57],[1,152],[2,48,0],[2,209,1],[2,156,0],[2,40,0],[1,260],[1,188],[2,269,1],[2,190,1],[2,69,0],[2,254,1],[1,82],[2,217,1],[1,13],[2,276,1],[1,57],[1,162],[2,47,1],[2,136,0],[1,212],[1,277],[2,13,0],[1,232],[2,253,1],[2,4,0],[1,138],[1,207],[1,238],[2,99,0],[2,227,0],[1,187],[1,53],[1,241],[1,280],[1,247],[1,136],[2,217,0],[1,25],[2,80,0],[2,264,0],[1,5],[2,99,1],[1,201],[2,205,0],[1,252],[1,274],[1,113],[1,159],[2,2,1],[1,32],[2,250,1],[2,121,0],[2,207,1],[2,71,0],[1,258],[1,26],[2,43,0],[1,26],[2,52,1],[1,121],[1,84],[2,92,1],[1,249],[1,72],[1,122],[1,230],[1,19],[2,68,1],[2,142,0],[2,203,1],[1,60],[1,103],[1,177],[2,217,1],[1,265],[2,250,0],[2,171,1],[1,223],[1,240],[1,209],[2,114,0],[1,108],[1,110],[1,161],[2,181,0],[2,240,1],[1,8],[2,140,1],[1,230],[2,261,0],[1,47],[1,58],[1,111],[1,132],[1,127],[2,106,0],[2,22,0],[1,67],[1,92],[2,256,0],[1,96],[2,250,1],[2,226,1],[2,82,1],[1,68],[2,16,1],[2,59,1],[1,17],[2,13,0],[2,250,1],[1,272],[2,108,1],[1,15],[2,113,1],[1,247],[2,207,0],[1,142],[2,14,0],[1,242],[2,78,1],[1,28],[1,37],[1,23],[2,9,1],[2,17,0],[1,139],[2,169,1],[2,278,0],[2,19,1],[2,121,1],[1,204],[1,176],[1,64],[2,114,0],[2,101,1],[2,12,1],[1,207],[2,255,1],[2,167,0],[2,146,0],[1,121],[2,215,0],[1,40],[2,259,1],[2,106,1],[1,129],[2,192,1],[1,222],[2,252,1],[1,225],[2,200,1],[1,33],[1,263],[2,159,0],[2,51,0],[1,168],[1,174],[2,100,0],[1,166],[2,171,1],[1,60],[1,87],[1,246],[1,103],[1,254],[1,204],[1,187],[2,86,1],[1,43],[2,32,1],[2,23,0],[2,178,0],[2,179,0],[1,20],[2,262,1],[2,214,0],[1,155],[2,48,1],[1,89],[2,19,1],[1,60],[2,59,1],[1,15],[1,147],[1,167],[1,263],[2,231,1],[1,133],[1,204],[1,246],[2,250,0],[2,11,1],[2,202,0],[1,76],[1,216],[2,188,1],[1,183],[1,20],[2,42,0],[1,184],[1,237],[2,12,1],[1,109],[1,146],[2,232,0],[1,166],[2,264,1],[2,68,0],[2,68,1],[1,5],[1,169],[2,87,1],[1,75],[2,162,1],[2,197,1],[2,158,0],[1,253],[2,60,1],[1,161],[2,52,0],[1,189],[2,67,0],[2,21,1],[1,206],[1,124],[2,210,1],[2,246,1],[1,159],[2,199,0],[1,235],[1,59],[2,209,1],[2,25,0],[1,101],[2,47,1],[1,162],[2,224,0],[2,138,1],[2,74,1],[1,149]]],"output":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,61,0,0,0,0,0,0,0,0,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135],[1,74],[2,44,1],[1,236],[1,143],[1,25],[1,24],[1,189],[1,11],[1,81],[1,241],[1,135],[2,235,0],[2,74,0],[2,256,1],[2,159,1],[1,187],[1,74],[1,22],[1,202],[1,74],[1,175],[1,176],[2,210,1],[1,141],[1,137],[2,194,1],[2,72,0],[2,82,1],[2,71,1],[2,227,0],[2,185,1],[2,39,1],[1,26],[2,240,0],[2,131,0],[2,246,1],[2,225,0],[2,241,1],[2,234,0],[2,88,1],[2,125,0],[1,220],[1,40],[2,190,0],[1,101],[2,235,1],[2,30,0],[1,92],[1,90],[1,199],[2,118,0],[1,201],[1,235],[2,19,0],[2,80,1],[1,231],[1,47],[2,136,1],[1,4],[2,171,1],[1,106],[1,130],[2,18,0],[2,162,0],[2,0,0],[2,261,0],[1,234],[1,142],[1,95],[1,251],[2,61,1],[2,202,0],[2,133,1],[1,244],[2,109,1],[1,128],[1,215],[1,58],[1,36],[1,152],[2,171,1],[1,266],[1,24],[1,100],[1,17],[1,200],[1,102],[2,265,1],[2,223,0],[1,13],[1,141],[2,38,1],[2,212,1],[1,219],[2,113,1],[2,112,0]]],"output":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{"file":"testcase_5.txt","input":[[0,1,1,0,1,0,1,1,1,1,1,1,0,0,1,1,1,1,0,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,1,1,1,0,0,0,1,1,1,1,0,1,1,1,0,1,0,0,1,1,0,0,1,1,0,1,0,1,1,0,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,1,1,1,1,1,0,0,0,1,1,0,1,1,1,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,1,0,1,1,1,1,0,0,0,1,0,1,1,1,1,0,1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1,0,1,1,0,0,1,0,0,0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,0,0,0,1,0,1,1,0,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,0,1,1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0,1,1,0,1,1,1,1,1,1,0,1,1,0,1,0,0,1,1,0,0,1,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,0,1,0,0,1,0,1,1,1,1,1,0,0,1,0,1,0,1,0,0,1,1,0,1,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,1,0,1,1,0,0,1,0,0,1,0,0,0,0,0,1,1,0,1,1,1,0,1,0,0,1,1,1,1,1,0,0,0,0,1,0,0,0,0,1,1,1,0,0,1,0,1,0,0,0,0,0,0,1,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,1,1,1,1,0,1,0,1,0,0,0,0,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,1,1,0,0,0,0,1],[[2,232,0],[2,484,1],[1,355],[1,63],[2,201,0],[1,244],[1,112],[2,449,1],[2,72,1],[1,367],[1,675],[2,217,0],[1,260],[2,527,0],[1,678],[1,455],[1,61],[1,160],[1,615],[2,308,0],[2,473,0],[2,621,1],[1,113],[1,85],[1,10],[1,456],[1,9],[2,9,1],[2,506,1],[1,174],[1,235],[2,6,0],[2,363,0],[1,559],[1,494],[2,461,1],[1,396],[1,403],[1,177],[2,280,1],[1,300],[2,602,0],[1,118],[2,471,1],[1,601],[2,419,1],[1,668],[2,210,0],[1,233],[2,557,0],[1,547],[2,446,1],[1,602],[2,9,0],[2,251,1],[1,545],[1,514],[2,601,0],[2,286,0],[1,151],[1,671],[2,324,1],[2,208,1],[1,77],[1,231],[1,596],[1,182],[2,8,0],[2,197,1],[1,356],[1,363],[1,46],[1,336],[1,255],[2,321,1],[1,308],[2,397,0],[1,646],[1,649],[2,599,0],[2,306,0],[2,196,0],[1,526],[2,354,0],[2,554,1],[1,110],[2,152,1],[2,441,0],[1,313],[1,193],[1,430],[1,145],[2,353,1],[1,110],[1,23],[2,88,0],[1,635],[2,587,0],[2,209,0],[1,650],[1,552],[2,610,0],[2,217,0],[2,72,0],[2,606,1],[2,43,1],[2,3,0],[1,467],[2,289,1],[1,12],[2,164,0],[2,22,0],[2,666,0],[1,225],[2,318,1],[1,270],[2,629,0],[2,526,1],[2,233,0],[1,603],[2,193,0],[1,14],[1,529],[1,277],[2,515,1],[2,541,0],[1,238],[2,559,0],[1,676],[1,362],[1,28],[2,484,1],[2,627,1],[2,140,0],[1,318],[1,275],[1,194],[1,408],[2,191,0],[1,36],[1,277],[1,191],[1,390],[2,337,0],[2,174,0],[1,317],[1,138],[1,238],[2,677,0],[2,605,1],[1,518],[1,401],[2,420,0],[1,79],[2,554,0],[1,531],[2,283,1],[2,166,1],[2,635,1],[1,375],[2,138,1],[2,502,0],[2,481,1],[1,569],[2,211,1],[2,332,0],[2,417,0],[2,455,0],[2,473,1],[1,660],[2,578,0],[2,254,0],[1,636],[1,437],[1,28],[2,160,0],[1,486],[2,558,1],[2,338,1],[1,329],[1,68],[1,115],[2,260,0],[2,112,0],[2,663,1],[2,514,1],[1,265],[2,478,1],[2,316,1],[1,91],[2,295,0],[2,242,1],[1,27],[1,360],[1,402],[2,454,0],[2,153,1],[2,291,1],[2,566,1],[1,573],[1,246],[1,355],[1,309],[1,512],[1,178],[1,651],[1,612],[2,129,1],[2,503,0],[1,60],[1,450],[1,278],[1,610],[2,136,1],[2,224,0],[2,353,0],[2,509,0],[1,65],[1,483],[1,101],[2,11,0],[2,60,0],[2,325,1],[1,524],[2,62,0],[2,616,0],[1,549],[1,408],[1,5],[2,64,1],[1,557],[2,135,1],[2,435,0],[1,317],[1,107],[1,425],[2,542,1],[1,195],[2,6,1],[1,404],[1,148],[1,96],[1,546],[1,362],[2,264,1],[1,361],[2,584,1],[2,235,1],[1,455],[2,337,1],[1,87],[1,653],[2,374,0],[1,104],[2,62,1],[1,232],[1,624],[2,41,1],[2,531,1],[1,366],[2,641,0],[1,94],[1,554],[2,469,0],[2,102,0],[1,611],[2,414,0],[1,144],[1,59],[2,124,1],[1,488],[1,33],[1,426],[1,651],[1,49],[2,510,1],[2,222,1],[2,192,1],[1,334],[2,487,0],[2,9,1],[2,474,1],[1,206],[1,489],[2,58,0],[2,179,0],[2,122,1],[2,631,0],[1,312],[2,580,1],[2,672,1],[1,340],[1,282],[1,546],[2,11,1],[2,207,1],[1,273],[1,214],[2,122,0],[2,147,0],[1,167],[2,367,1],[1,330],[1,297],[1,548],[2,134,1],[1,660],[2,172,1],[1,177],[2,55,1],[2,529,0],[1,475],[2,317,0],[1,230],[2,47,1],[2,433,1],[1,292],[2,173,1],[1,485],[2,621,0],[2,482,0],[2,632,0],[1,211],[1,254],[1,474],[1,646],[1,384],[1,505],[1,672],[2,559,1],[2,391,0],[2,140,0],[2,267,1],[2,472,1],[1,363],[2,475,0],[2,254,1],[1,458],[1,328],[1,448],[2,510,1],[1,280],[1,52],[1,292],[1,513],[1,151],[2,228,0],[2,558,0],[1,243],[2,474,1],[2,631,0],[2,342,1],[2,473,0],[1,337],[2,535,0],[2,465,0],[2,50,0],[2,85,1],[2,357,1],[2,159,0],[1,648],[1,674],[2,444,0],[1,66],[2,583,0],[1,346],[1,119],[1,520],[1,200],[2,371,1],[2,570,0],[1,414],[2,201,0],[1,609],[2,5,1],[2,421,0],[1,38],[1,619],[1,610],[2,510,1],[1,463],[1,303],[2,603,0],[1,424],[2,653,1],[1,162],[1,572],[2,596,0],[2,104,0],[2,100,0],[2,247,0],[2,236,1],[2,542,1],[2,528,1],[1,416],[2,58,0],[1,143],[2,186,1],[2,433,1],[1,657],[1,139],[1,260],[1,641],[1,152],[2,520,1],[2,248,0],[2,173,1],[2,122,0],[1,534],[2,73,0],[2,247,0],[2,120,1],[1,164],[1,203],[1,76],[2,545,0],[1,289],[2,429,0],[2,535,1],[2,462,0],[1,556],[2,83,1],[1,256],[1,677],[1,347],[2,132,0],[1,665],[2,310,1],[2,520,0],[2,104,0],[2,243,0],[1,597],[1,405],[2,553,1],[2,427,1],[1,374],[2,247,1],[1,653],[1,244],[2,20,0],[1,435],[1,521],[2,347,0],[1,255],[1,537],[2,210,0],[1,128],[2,618,0],[1,662],[1,169],[2,281,1],[2,343,1],[2,266,1],[1,50],[2,158,1],[2,345,1],[1,300],[2,653,0],[1,493],[1,439],[2,212,1],[2,387,1],[1,595],[1,520],[1,546],[1,304],[1,314],[2,67,0],[2,622,1],[1,145],[2,610,1],[2,393,0],[1,484],[1,190],[2,139,0],[1,571],[1,527],[2,97,1],[1,489],[2,286,1],[1,145],[2,580,1],[1,63],[1,669],[1,536],[2,630,1],[2,50,0],[1,343],[1,614],[1,587],[1,340],[2,200,0],[1,596],[1,32],[1,502],[1,14],[2,367,1],[2,6,1],[2,648,0],[2,242,0],[1,379],[2,152,0],[2,15,1],[2,251,0],[1,193],[1,549],[1,605],[2,655,0],[1,569],[1,167],[1,397],[1,260],[2,598,0],[1,547],[1,566],[1,320],[2,344,0],[1,378],[1,309],[2,354,0],[1,551],[2,69,0],[1,466],[2,40,0],[2,65,0],[2,611,0],[2,203,0],[2,23,0],[1,278],[2,284,0],[2,546,0],[2,647,0],[1,6],[2,574,0],[1,515],[2,580,0],[2,147,1],[1,637],[1,427],[2,374,0],[2,111,0],[2,401,0],[1,89],[2,504,0],[1,549],[1,582],[1,26],[2,47,1],[2,438,1],[2,274,0],[2,646,0],[1,179],[1,79],[1,218],[1,393],[2,364,0],[1,328],[2,58,0],[2,630,0],[2,52,1],[2,483,0],[2,392,0],[2,356,0],[2,255,0],[1,601],[2,533,1],[2,93,0],[2,46,0],[1,231],[2,519,1],[2,253,1],[1,627],[1,72],[1,109],[2,276,1],[2,181,1],[1,487],[1,581],[1,456],[1,86],[2,503,1],[2,84,0],[1,442],[1,406],[2,27,1],[2,283,1],[1,375],[2,11,0],[1,92],[1,476],[1,216],[2,468,1],[2,634,0],[2,298,1],[1,90],[1,172],[2,501,1],[1,313],[1,377],[2,156,1],[1,519],[2,188,1],[2,47,1],[1,544],[1,417],[1,441],[2,72,0],[2,262,1],[1,443],[2,107,0],[2,381,0],[1,549],[1,670],[2,81,0],[2,531,1],[1,169],[2,589,0],[1,297],[1,402],[1,424],[1,409],[1,626],[2,615,0],[2,215,1],[2,544,1],[2,407,1],[2,420,0]]],"output":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},{"file":"testcase_7.txt","input":[[0,1,0,0,0,1,0,1,1,0,1,1,1,0,1,1,1,1,1,1,1,0,1,0,0,1,0,0,1,0,0,0,1,1,1,0,0,0,1,1,1,1,1,0,1,0,1,0,1,1,1,0,0,1,0,1,1,0,1,0,1,1,1,1,1,0,1,0,0,0,0,1,0,0,0,1,0,0,1,1,1,1,1,1,0,1,1,0,0,1,1,0,1,1,0,1,0,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,1,1,1,1,0,0,1,1,0,1,0,0,1,1,1,0,1,0,0,1,1,1,1,1,1,1,1,0,0,1,0,1,1,0,0,0,1,0,1,1,1,1,1,1,0,0,1,1,1,0,1,1,1,1,1,1,0,0,1,0,0,0,0,0,1,0,0,1,0,0,1,1,1,1,1,0,0,1,0,1,0,1,1,1,0,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,1,1,0,0,0,1,1,1,0,1,0,1,1,1,0,0,1,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,0,1,0,1,0,1,1,1,0,1,1,0,1,0,1,1,0,0,1,1,0,1,0,1,0,0,1,0,0,0,1,1,0,0,1,0,1,0,0,0,0,1,0,0,1,1,1,1,0,1,0,0,1,0,1,1,1,0,0,1,1,0,1,1,1,1,1,0,0,0,1,1,0,1,1,1,0,1,0,1,1,0,1],[[2,164,1],[2,130,0],[1,91],[2,211,0],[1,11],[2,97,1],[1,290],[1,205],[2,194,0],[2,42,1],[1,204],[1,238],[2,43,1],[1,141],[2,78,0],[1,174],[1,72],[2,324,1],[1,224],[1,72],[2,208,0],[1,206],[1,178],[1,99],[1,281],[1,141],[1,286],[1,183],[1,216],[2,179,0],[2,87,0],[1,126],[2,268,1],[1,133],[1,308],[1,258],[2,230,1],[2,43,0],[2,238,1],[2,39,1],[1,259],[1,294],[1,6],[2,90,1],[2,299,1],[1,143],[2,226,0],[2,88,0],[1,262],[2,17,0],[1,191],[2,30,0],[2,305,1],[1,224],[2,170,0],[2,225,1],[2,17,1],[2,265,0],[1,133],[1,22],[2,255,1],[1,198],[1,200],[2,161,0],[1,223],[2,283,0],[2,279,1],[2,95,1],[2,38,0],[1,123],[2,164,0],[2,167,1],[1,95],[2,45,0],[2,47,1],[2,208,1],[1,50],[1,143],[2,72,1],[1,182],[2,246,0],[1,179],[1,84],[1,237],[2,309,1],[2,21,1],[2,36,0],[2,232,0],[2,125,0],[2,264,1],[1,221],[1,5],[2,96,0],[1,60],[1,221],[1,170],[1,153],[1,54],[1,97],[1,224],[2,289,1],[2,79,0],[1,83],[1,213],[2,317,0],[1,323],[1,177],[1,232],[2,125,1],[2,113,1],[2,167,0],[1,232],[1,261],[2,226,1],[1,238],[1,282],[1,38],[2,179,0],[2,10,0],[1,268],[1,71],[2,151,0],[1,278],[2,77,0],[2,246,0],[2,226,1],[1,73],[2,113,1],[2,42,1],[2,312,0],[1,223],[1,241],[2,59,0],[1,69],[1,25],[1,73],[1,90],[2,247,0],[1,247],[2,257,1],[2,221,0],[2,151,1],[1,279],[2,242,1],[1,233],[2,90,0],[2,292,1],[1,115],[1,151],[2,38,1],[1,26],[1,18],[2,260,1],[1,85],[2,100,0],[1,311],[1,321],[2,269,0],[1,27],[1,205],[2,167,0],[1,248],[1,73],[2,310,1],[1,79],[1,293],[1,71],[2,197,0],[2,119,1],[2,183,1],[1,235],[2,6,0],[2,208,1],[2,191,1],[2,144,1],[2,302,0],[1,86],[2,79,0],[2,24,0],[1,203],[2,97,0],[1,31],[2,23,1],[2,273,1],[1,54],[2,207,0],[1,263],[1,309],[2,303,0],[1,72],[1,101],[2,131,0],[1,65],[2,121,0],[2,21,0],[2,44,0],[2,161,1],[1,67],[2,39,1],[1,186],[2,74,0],[2,181,1],[1,151],[1,277],[2,246,1],[1,321],[1,225],[1,99],[1,292],[1,323],[1,249],[2,147,0],[2,322,1],[2,269,1],[1,223],[1,285],[2,251,1],[1,124],[2,297,0],[1,130],[1,160],[1,135],[1,152],[1,189],[2,285,0],[2,64,1],[2,164,1],[1,12],[2,124,1],[1,110],[2,273,0],[1,173],[2,223,0],[2,326,0],[2,106,0],[1,93],[1,30],[2,213,1],[2,163,1],[1,284],[1,54],[1,17],[1,214],[1,167],[1,306],[1,85],[2,252,1],[2,53,1],[1,262],[1,157],[1,50],[1,255],[1,278],[1,217],[1,154],[1,326],[1,119],[1,129],[1,171],[2,128,0],[1,207],[1,194],[1,9],[1,190],[2,120,1],[2,326,0],[1,276],[1,276],[2,27,0],[1,241],[2,134,1],[1,217],[1,131],[1,196],[1,228],[1,167],[1,165],[2,220,0],[1,52],[1,118],[2,47,0],[1,158],[1,228],[1,106],[2,59,0],[1,262],[1,73],[2,159,1],[2,217,1],[1,43],[1,39],[1,221],[2,254,0],[1,142],[1,121],[2,276,1],[1,57],[1,324],[2,37,0],[1,218],[2,234,1],[2,227,0],[1,151],[2,14,1],[1,324],[1,62],[2,119,1],[2,216,0],[2,194,1],[2,315,1],[2,114,1],[1,240],[1,246],[1,234],[1,175],[1,197],[1,243],[2,323,0],[2,92,1],[1,131],[2,288,0],[1,139],[2,257,0],[2,90,0],[2,325,0],[2,262,0],[2,12,0],[2,141,0],[2,181,0],[2,108,0],[1,134],[1,146],[1,19],[1,104],[1,89],[2,253,0],[2,167,1],[2,184,1],[2,297,1],[1,273],[2,99,1],[2,42,0],[1,193],[2,79,1],[1,268],[2,83,1],[1,308],[2,61,1],[1,11],[2,10,1],[1,319],[2,296,0],[1,287],[2,4,0],[2,52,0],[2,178,1],[1,288],[2,210,0],[1,105],[1,178],[2,267,0],[1,204],[1,39],[2,12,1],[1,168],[2,287,0],[1,272],[1,170],[2,323,0],[2,68,1],[2,294,1],[2,208,1],[2,117,0],[1,178],[2,269,0],[1,251],[1,192],[2,124,0],[1,195],[2,16,1],[1,95],[1,167],[2,116,0],[2,224,1],[1,94],[2,23,0],[2,127,1],[1,128],[1,74],[1,325],[2,195,1],[1,294],[2,189,0],[2,128,0],[1,275],[1,111],[2,126,1],[1,49],[1,169],[2,145,1],[2,90,1],[1,250],[1,111],[1,229],[1,271],[2,137,1],[1,230],[2,47,0],[2,178,1],[1,90],[2,52,0],[1,291],[1,23],[2,118,0],[2,156,0],[1,180],[1,310],[2,325,1],[1,213],[2,47,0],[1,118],[1,242],[1,287],[1,163],[1,44],[2,44,1],[2,81,1],[1,207],[1,310],[2,247,0],[2,250,1],[2,66,1],[2,257,1],[1,79],[1,12],[1,185],[2,64,1],[1,155],[1,244],[1,177],[2,156,1],[1,271],[2,29,0],[1,135],[2,210,0],[2,130,0],[2,135,1],[2,42,1],[2,192,1],[2,55,1],[2,12,1],[1,258],[2,78,1],[2,283,0],[1,22],[1,208],[1,141],[2,95,1],[1,162],[1,117],[1,262],[1,124],[2,191,0],[1,230],[2,37,0],[1,325],[2,68,0],[2,69,0],[2,76,0],[1,83],[2,280,0],[1,228],[2,115,1],[2,40,1],[1,326],[2,249,0],[2,293,0],[1,35],[1,171],[1,179],[1,148],[2,185,1],[2,314,0],[2,12,0],[2,187,1],[1,272],[1,16],[2,72,0],[1,136],[1,233],[2,222,1],[2,203,0],[2,217,0],[1,153],[2,254,1],[2,275,1],[2,116,1],[1,144],[1,174],[1,97],[2,29,0],[1,20],[2,224,1],[2,220,1],[1,163],[2,179,0],[1,165],[1,183],[1,305],[1,149],[2,89,1],[2,311,1],[1,26],[2,224,1],[2,72,0],[2,291,1],[1,132],[1,19],[1,9],[2,138,1],[2,198,1],[1,151],[2,108,1],[1,84],[1,3],[2,128,0],[2,25,1],[1,39],[2,208,1],[1,181],[1,18],[2,126,1],[2,293,0],[1,12],[1,125],[1,240],[2,249,0],[1,154],[2,12,1],[1,327],[2,229,1],[1,86],[1,283],[1,232],[1,30],[2,1,1],[1,189],[1,142],[2,244,1],[1,235],[1,39],[1,99],[2,229,1],[2,282,0],[2,84,0],[2,143,0],[2,271,1],[2,71,1],[2,271,1],[2,196,1],[2,57,0],[2,126,1],[2,175,0],[2,228,0],[1,97],[1,231],[1,315],[1,153],[2,97,1],[1,248],[1,250],[2,102,1],[1,39],[2,178,0],[2,154,1],[1,167],[1,308],[1,73]]],"output":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,1,1,0,0,0,0,1,1,0,1,0,1,0,0,1,1,1,1,1,0,1,0,1,1,0,0,1,1,0,1,0,1,1,0,0,0,1,0,1,1,1,0,0,1,1,1,1,0,0,1,0,1,1,1,1,0,1,0,1,0,0,1,1,1,1,1,0,0,0,0,1,1,0,1,1,1,1,1,0,0,1,0,0,1,0,1,0,0,1,1,0,1,1,0,1,1,1,1,0,0,0,1,1,0,0,1,1,1,0,1,0,0,0,1,0,1,1,1,1,1,0,0,0,0,1,0,0,1,0,1,1,0,0,0,1,0,0,0,0,1,1,1,0,1,0,0,0,1,1,0,1,0,0,1,1,0,0,1,0,0,0,0,0,0,1,0,1,0,1,1,0,0,0,0,1,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,0,1,0,0,0,1,1,1,0,1,1,0,0,1,1,1,0,1,0,1,1,1,0,1,1,0,0,0,1,1,1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0,0,0,0,1,0,0,1,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,0,0,1,1,1,0,1],[[2,274,1],[1,267],[2,352,0],[1,210],[2,276,0],[2,537,1],[1,405],[2,398,0],[2,521,0],[2,111,1],[1,96],[2,461,0],[2,524,0],[1,119],[2,149,1],[1,169],[2,369,0],[2,528,0],[2,34,1],[1,508],[2,492,0],[2,398,1],[1,501],[2,304,0],[2,515,0],[1,322],[2,178,1],[1,85],[2,395,1],[1,331],[2,53,1],[2,39,1],[2,274,0],[1,112],[1,293],[2,11,1],[2,152,0],[1,117],[2,255,1],[2,523,0],[1,522],[2,54,0],[1,376],[2,508,0],[2,318,0],[1,388],[2,229,0],[1,105],[1,417],[2,408,0],[1,516],[2,59,1],[2,141,0],[1,549],[2,49,1],[1,442],[1,211],[2,141,1],[2,331,0],[1,312],[2,32,1],[2,104,0],[1,203],[2,437,0],[1,419],[1,325],[2,312,1],[1,207],[2,204,0],[2,222,1],[1,421],[2,178,1],[2,531,0],[1,211],[2,270,0],[1,534],[1,305],[2,474,1],[1,105],[1,408],[2,64,1],[1,497],[1,245],[2,392,1],[1,291],[1,308],[1,263],[1,356],[2,148,1],[2,295,1],[1,247],[2,317,1],[2,444,1],[1,14],[2,520,0],[1,338],[2,129,1],[1,308],[1,35],[2,483,0],[1,53],[1,403],[1,275],[2,474,1],[1,334],[2,127,0],[1,506],[2,27,0],[2,376,1],[2,8,1],[1,363],[2,142,0],[2,286,1],[1,299],[1,368],[1,411],[2,308,1],[2,406,1],[2,184,1],[2,128,0],[1,532],[2,256,1],[2,319,0],[2,293,0],[2,269,1],[2,487,1],[1,190],[2,34,1],[2,57,0],[1,282],[2,548,1],[1,384],[2,444,0],[1,31],[1,123],[1,343],[1,508],[2,375,0],[2,364,0],[1,374],[2,171,1],[2,339,1],[2,289,1],[2,349,0],[2,211,1],[2,99,1],[1,110],[1,69],[2,529,0],[2,295,0],[2,501,0],[1,422],[1,338],[2,395,1],[1,225],[1,260],[1,370],[1,165],[2,261,1],[2,54,0],[1,55],[2,492,1],[2,145,1],[2,61,0],[1,439],[2,316,1],[2,191,1],[1,466],[1,437],[1,537],[1,458],[2,490,1],[1,491],[2,433,1],[1,493],[1,494],[1,4],[2,295,0],[1,62],[1,161],[2,344,0],[2,10,0],[2,60,0],[1,506],[2,421,0],[1,295],[2,511,1],[2,102,1],[2,289,1],[1,145],[2,360,0],[1,432],[2,33,1],[1,70],[1,166],[1,116],[2,221,1],[2,11,0],[2,445,0],[1,311],[2,103,0],[1,353],[2,498,1],[2,502,0],[2,306,0],[1,225],[2,387,1],[1,236],[1,465],[1,294],[2,131,0],[1,309],[2,317,1],[1,506],[2,322,0],[1,515],[2,419,1],[1,171],[2,44,1],[1,433],[2,493,1],[2,9,0],[2,341,1],[1,230],[1,203],[2,256,0],[1,467],[2,534,1],[2,47,1],[2,212,0],[2,29,1],[2,7,0],[2,168,1],[2,398,1],[2,108,0],[2,137,1],[2,58,0],[1,235],[1,148],[1,346],[1,185],[1,519],[1,48],[1,177],[2,541,0],[2,523,0],[2,43,0],[1,418],[1,261],[2,5,0],[1,500],[1,368],[1,211],[1,476],[1,298],[1,32],[2,173,0],[1,539],[2,243,1],[2,0,1],[1,401],[2,85,1],[1,473],[2,172,1],[2,11,0],[1,37],[2,272,1],[2,532,1],[1,502],[1,484],[1,546],[2,75,0],[2,288,0],[2,460,0],[1,378],[1,56],[2,23,0],[1,59],[2,367,0],[2,290,0],[2,470,1],[1,535],[2,228,0],[1,425],[1,357],[2,48,1],[1,493],[1,62],[2,94,0],[1,264],[2,477,0],[2,118,0],[1,288],[1,444],[1,535],[2,185,1],[2,488,1],[2,327,1],[2,377,1],[1,209],[1,534],[1,482],[2,475,1],[2,537,0],[1,234],[2,348,1],[2,90,0],[1,45],[2,15,0],[1,479],[1,153],[1,217],[1,100],[1,190],[1,237],[2,300,1],[2,79,0],[1,119],[2,423,0],[2,9,1],[2,276,1],[2,406,0],[1,176],[1,445],[1,309],[2,6,0],[1,117],[2,424,1],[1,418],[1,416],[2,104,0],[2,351,0],[1,155],[2,288,1],[2,279,0],[1,18],[1,287],[1,278],[2,64,1],[1,482],[1,356],[1,105],[2,187,1],[1,263],[1,414],[1,500],[1,539],[1,156],[2,221,1],[2,236,1],[2,101,1],[2,355,1],[2,502,0],[1,89],[2,414,1],[2,436,1],[1,519],[1,153],[1,446],[2,112,1],[1,372],[2,262,0],[1,103],[2,386,1],[1,492],[1,350],[1,172],[2,329,0],[1,474],[2,550,0],[2,205,1],[2,111,1],[1,546],[2,181,1],[1,8],[2,236,0],[2,251,0],[1,474],[2,133,1],[1,336],[1,519],[2,215,1],[1,403],[2,280,0],[1,133],[2,329,1],[1,221],[2,527,0],[2,486,0],[1,523],[2,441,1],[1,62],[2,218,1],[1,273],[1,356],[1,171],[2,376,0],[2,495,1],[1,494],[1,306],[2,459,1],[2,199,1],[1,411],[2,19,0],[1,224],[1,367],[2,331,1],[2,5,0],[2,549,1],[1,23],[1,262],[2,423,0],[1,512],[2,108,1],[2,396,0],[1,475],[2,337,1],[1,272],[1,319],[2,543,1],[1,293],[1,424],[1,388],[2,34,0],[2,163,1],[2,427,0],[1,202],[2,376,1],[1,138],[2,449,1],[1,128],[1,444],[1,510],[2,420,1],[2,335,0],[2,356,1],[1,402],[2,155,1],[2,299,0],[2,181,1],[1,349],[1,506],[1,196],[1,262],[1,332],[2,499,1],[1,487],[1,19],[1,135],[2,35,0],[1,541],[2,407,0],[1,18],[1,472],[1,88],[1,110],[1,452],[2,453,1],[1,77],[2,502,0],[2,493,0],[2,145,1],[2,126,0],[2,410,1],[1,69],[1,374],[2,355,1],[2,436,0],[1,349],[2,182,0],[2,221,0],[1,13],[1,140],[2,457,0],[1,333],[2,515,1],[1,315],[2,234,0],[2,449,1],[1,361],[1,494],[1,552],[1,473],[1,483],[2,23,0],[1,349],[1,301],[1,129],[2,520,0],[1,202],[2,283,1],[1,415],[2,488,0],[2,549,1],[1,403],[1,11],[1,433],[2,24,0],[1,419],[2,388,0],[1,509],[2,537,1],[2,163,0],[1,384],[2,11,0],[2,167,1],[1,507],[1,97],[1,317],[1,391],[2,61,0],[1,212],[1,457],[1,223],[1,264],[2,308,1],[2,353,0],[2,151,1],[2,200,0],[1,327],[1,507],[2,299,1],[1,423],[1,533],[2,228,0],[1,395],[2,143,1],[2,321,1],[2,116,0],[1,450],[1,438],[2,184,0],[1,542],[2,528,1],[2,128,1],[2,36,1],[2,208,1],[1,359],[2,458,0],[1,383],[1,366],[1,105],[1,365],[2,261,1],[1,214],[2,187,0],[2,31,1],[2,163,0],[1,196],[2,60,0],[1,306],[1,85],[1,505],[2,337,1],[1,4],[1,261],[2,6,1],[1,546],[2,546,0],[2,545,0],[1,172],[1,299],[2,526,1],[1,206],[1,491],[2,102,1],[1,103],[1,374],[1,505],[2,150,0],[2,223,1],[1,537],[2,436,0],[1,469],[2,289,1],[1,420],[2,383,0],[1,455],[2,98,0],[2,457,1],[2,278,1],[1,76],[2,322,0],[1,28],[1,248],[1,99],[2,164,0],[2,446,0],[1,164],[1,270],[1,461],[2,413,0],[2,488,1],[2,479,0],[2,291,0],[2,215,1],[1,416],[2,203,0],[2,149,0],[2,509,1],[1,380],[2,380,1],[2,253,1],[2,66,0],[1,292],[2,12,1],[2,477,0],[2,40,1],[1,175],[2,175,1],[1,463],[2,366,0],[1,230],[2,548,1],[2,441,0],[2,276,0],[1,457],[1,180],[1,278],[1,227],[2,394,1],[1,106],[1,57],[2,8,0],[2,237,0],[1,366],[2,512,1],[2,217,1],[1,456],[2,343,1],[2,418,1],[2,316,0],[2,341,1],[1,384],[2,307,0],[1,379],[1,329],[1,527],[1,312],[2,238,1],[1,218],[1,378],[1,381],[2,235,0],[1,354],[2,418,1],[1,453],[2,110,0],[1,19],[2,298,1],[2,449,1],[2,487,0],[2,349,1],[1,366],[1,372],[1,515],[2,144,1],[2,475,0],[1,234],[2,236,0],[1,262],[2,514,0],[2,304,0],[2,176,1],[1,22],[1,137],[1,238],[2,218,1],[1,367],[1,122],[1,262],[1,430],[1,280],[1,142],[2,55,1],[2,465,0],[2,130,0],[2,401,1],[1,446],[1,475],[1,424],[2,244,0],[1,404],[2,484,1],[2,526,0],[1,437],[2,289,0],[1,472],[1,527],[2,175,1],[2,332,0],[1,299],[2,513,0],[2,147,0],[1,421],[1,216],[2,37,1],[1,354],[1,387],[1,405],[2,497,0],[1,544],[2,166,0],[1,49],[1,342],[1,516],[2,280,0],[1,470],[2,58,1],[2,470,0],[2,83,0],[1,21],[1,333],[2,114,1],[1,94],[2,129,1],[1,498],[2,176,1],[1,148],[1,306],[1,425],[2,81,0],[1,276],[2,20,0],[2,299,0],[2,39,0],[1,342],[2,508,0],[2,316,1],[1,400],[1,237],[2,420,0],[1,541],[1,374],[1,275],[1,278],[1,70],[1,135],[1,169],[2,543,0],[2,236,1],[2,545,0],[1,437],[2,137,1],[1,194],[2,306,0],[1,341],[2,216,1],[1,462],[1,324],[2,141,0],[2,192,0],[2,443,0],[1,382],[1,273],[1,521],[2,288,0],[1,355],[1,131],[1,189],[1,126],[1,453],[2,418,0],[2,190,0],[1,53],[2,166,1],[2,223,0],[2,115,1],[2,282,0],[2,70,0],[1,273],[1,89],[2,361,0],[2,361,0],[2,505,1],[1,420],[1,123],[2,405,0],[1,232],[1,102],[1,99],[1,486],[2,246,0],[1,240],[1,377],[2,533,0],[1,294],[1,288],[2,360,1],[1,324],[1,526],[1,382],[2,186,1],[2,41,0],[1,421],[1,216],[1,412],[1,188],[2,50,1],[1,209],[1,259],[2,529,1],[2,53,0],[1,257],[1,518],[2,232,0],[2,272,0],[2,310,1],[1,66],[2,268,1],[1,358],[1,113],[2,15,1],[1,293],[2,371,0],[1,273],[2,444,0],[1,201],[1,283],[1,368],[1,334],[1,175],[1,450],[2,542,1],[2,114,0],[1,194],[2,152,1],[2,226,0],[1,37],[2,402,1],[2,140,1],[2,439,1],[2,228,1],[2,265,0],[2,113,0],[2,135,0],[1,93],[1,470],[1,242],[1,242],[2,527,1],[1,447],[2,518,0],[2,118,1],[2,52,0],[1,483],[2,395,0],[1,378],[1,389],[2,50,0],[2,289,0],[1,73],[2,327,1],[1,104],[2,431,0],[1,427],[1,550],[2,241,0],[1,447],[1,235],[2,234,0],[1,116],[2,517,0],[1,291],[1,90],[2,370,0],[1,272],[1,20],[1,36],[1,60],[2,76,0],[2,410,0],[2,382,1],[2,291,1],[2,524,1],[1,434],[2,411,0],[1,191],[2,204,1],[1,30],[1,103],[2,370,1],[1,34],[2,71,1],[1,264],[2,134,0],[1,230],[2,239,0],[1,414],[1,393],[2,241,0],[1,527],[1,341],[1,401],[1,431],[2,222,1],[1,135],[1,288],[1,178],[2,130,0],[1,525],[2,272,1],[2,510,0],[2,153,1],[1,262],[2,87,0],[2,462,1],[1,444],[2,438,1],[2,237,1],[2,361,1],[2,390,1],[2,198,0],[1,132],[2,62,0],[2,181,0],[2,14,0],[1,33],[1,166],[2,138,1],[1,540],[2,122,0],[1,371],[2,463,1],[2,4,1],[1,170],[2,379,1],[1,172],[1,473],[1,470],[1,308],[1,481],[2,237,0],[1,505],[2,22,1],[2,237,1],[1,230],[2,307,1],[2,121,1],[1,144],[2,457,0],[1,415],[1,385],[2,259,1],[2,82,1],[1,125],[2,464,0],[1,316],[2,359,1],[2,153,1],[2,32,1],[2,104,0],[2,194,0],[1,79],[2,299,1],[2,310,0],[2,53,1],[1,208],[1,541],[1,398],[1,143],[2,444,0],[1,373],[2,527,1],[1,239],[2,405,0],[1,426],[1,22],[1,198],[2,429,0],[1,414],[2,233,1],[1,243],[2,419,1],[2,536,1],[1,27],[2,486,0],[2,327,0],[2,39,0],[1,531],[2,298,0],[2,495,1],[2,457,0],[1,385],[1,359],[1,463]]],"output":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,90,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,87,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}]
|
ant-on-the-boundary.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[-7,2,-5,8,-1,7,-5,9,3,7,-7,5,-6,6,-1,5,-7,-9,-2,2,6,7,4,-5,2,1,8,4,-7,8,10,-10,5,9,1,-3,10,-4,6,-1,3,-7,3,10,10,-1,3,1,-1,3,-4,1,9,-3,-4,-5,-1,-2,-4,-7,6,1,10,2,-9,-3,-6,-2,3,-8,10,3,4,-9,6,-2,1,4,6,-5,4,-2],"output":0},{"file":"testcase_10.txt","input":[-4,7,4,-8,1,7,7,4,9,-1,7,-3,7,-7,1,-6,10,-2,3,-1,3,-3,-9,-4,3,-5,-8,5,-5,3,-1,6,-9,-5,8,-7,1,4,8,2,2,-3,-7,5,-4,6,10,-10,3,-5,4,9,-4,-9],"output":1},{"file":"testcase_2.txt","input":[5,1,7,10,6,-4,-1,10,-4,-10,7,4,6,10,-4,-10,4,-7,-9,4,10,2,4,-1,-3,8,-6,6,-8,7,4,1,9,-5,-6,5,-8,-5,-8,3,1,7,5,8,4,-3,10,-4,2,7,2,4,4,2,8,-7,-6,-6,5,-7,-2,-6,3,1,6,9,7,8,6,6,3,-1,-2],"output":0},{"file":"testcase_3.txt","input":[-2,10,6,1,7,10,-2,6,-5,-7,1,-4,9,9,-7,-6,-4,-6,10,-3,6,-3,3,-10,-8,-6,-8,-10,2,2,2,-2,-1,4,9,10,1,-1,-9,-2,8,-9,5,7,10,9,6,5,-8,8,-6,-10,-1,6,-8,5],"output":0},{"file":"testcase_4.txt","input":[2,4,1,10,-3,4,-1,9,6,-10,9,-3],"output":0},{"file":"testcase_5.txt","input":[-1,9,5],"output":0},{"file":"testcase_6.txt","input":[4,6,9,7,-1,-5,9,-10,-10,8,6,-7,-1,-10,6,4,-6,6,4,-5,1,-9,8,6,8,-6,1,-1,-6,10,-3,-4,9,6,3,6,3,-10,5,8,-2,-7,-3,-10,8,-1,5,-3,-10,-10,6,-8,-8,-7,-2,10,10,6,-4,-3,-7,7,-1,5,7,1,2,-6,4,-6,-9,-5,-10,-1,9,7,9,4,4,-2,-8,5],"output":0},{"file":"testcase_7.txt","input":[-6,-7,-9,2,-8,-2,-2,3,1,-2,10,-9,-9,-9,1,7,10,-4,10,3,7,-4,-5,-6,-1,2,5,8,7,-5,-1,-3,6,-2,-5,-2,10,4,6,5,1,-7,2,1,-7,8,9,6,10,-1,-9,1,-8,9,-7,-5,-5,1,2,2,9,5,8,-1,-10,10,-6,10,-1,-1,6,-10,-9,7,-6,-4,5,-1,6,6,-1,-5,10,10,1,10,8,-6,-2,-6,-8,9,-5,2],"output":1},{"file":"testcase_8.txt","input":[-8,-1,-3,-4,-7,9,2,2,9,3,-1,7,-4,4,-7,-6,8,-8,10,-7,-10,2,3,-7,-3,6,-10,1,1,3,6],"output":0},{"file":"testcase_9.txt","input":[6,-1,2,6,5,10,7,7,-3,-10,-9,9,-7,2,9,1,1,6,1,9,6,-4,-7,6,10,-7,6,4,1,-7,-5,1,2,-5,6,-3,-5,-1,2,2,-5,1,-1],"output":0}]
|
append-characters-to-string-to-make-subsequence.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":["fwgvvtldhxypippulnrfemfxuhacwnwfllhahkgfxuqdlhuspdvlgjfnjrudtktlwwxkvbybwrrevzjjssknozkgmjhsdgunycqortjuwpsmjoajiyrlbkqskbpzkkpieqjirnrpdzrlnefawyckukriortiyakepigisyjpbpnufutxkeknfytzmiibvpzribrwzawjexbzsowviebytenwrgsrgjseojdiwuxewreusvgmmlqqtbyzrxkbjlfrewmhifnlnllzppzfpggnkapbscpzrzqjuuvzklvvqxajqykmlehqysincqtwwyromixhdmixmkvraptvvkwrmueuoyqkdddejcbzbhghjexykahngsfuxjdmllhzrixvbvmseeviorasqlujuhajwvtoluhbtmo","ozzjezevrtjrwomdrwombqwqwnwuxhrvwdkzdrxlhncpyppwikcywopnmrbkipuowmlxpqezvmfplpgiwgtevvbubnihubhqzixajmiqzpmgonuwlamxsbbaipluftkveoqrdmfavqjextuktmnywupfbvtgmpvkikjtnmnwzxjmqnmcbkdgvhvjiclnsmzqijenzfebwyiplldrhxkfkqvtbkeyxitdyhuhhqbkrepswahnpdnenwmafkvjuhxtjiowbyxchnccfvfdybhmrhjlzscpnxeshzrrvomktrdyqujbhkadxlcnwerzsssrwaxfxubjcwcauitcaopvihbxqbkinuburkrvybxdclokxxebkzmigwafunxjsrjeucmfsftabtcilcxsoibuptuogxgwimkmbfjdbgtidgmwotveknkuzjpxfglyhgnzjrvlnwsvrgtgbmncranrhdptqwasektewsbxgqjjblajvqicwabpgznuniknkczzterciivmwgvlubcowyjhpdcsynqkfpsjnxoctmsjajlicwmedbvxejznaedwiifekgqyncirxjxsetowhabjixhijizvziszrbtbmdzolryabsgixeygzyknusrdrdqegutmijicltsmztvinbgbwlnmetvlyxlojtsrubdokstxbdlpkdmhtafydganihykiiviojciixvwuewnyyaooafzzvxgprqodroqgwvwhgflcabgdubokshjmqmnyzgbshjnbnohnlpecinevmbujpamgjagxccxkvwgpsopftsdoowzxhmgtpyytbclgpjfyfyxzhvinfzzbddhkgrgwdemqymmzldmvqbfpwjburckphwwfgeqvw"],"output":863},{"file":"testcase_10.txt","input":["hwvefmibpcyvwnkpltvjfsvrtsxwepdpkcitzvyugkbwykx","snklwmbedsvzvlgvaffvgoptxqoelrjxdpwkumqqonodilflltlxynopgalnpcxrsyxwfnadcehnromqotuyxylcsqgoskosgyffdhmcvvatbkbvsobfiluavchdgwgdgiojdpscxmfwdkwnaxirhuzyoxznmfogtjvurkerfoqyztgcwxnnvwtdhdawzzieqdnyrkzcjnyjnbezsaggvmxwxjrverdoasgwnxilqjefcxjnugxixthbsmkhsyowwiyxvsqbnsywoiemxsgkpyniscppqeryxzzopvrpznoajxdbguwjfdbddwhdjmrrroqdlqzaxoekdjiwthfixmxcolqckfqmxgawtjoenmcfkrothyciqrzavlugostzfmljrsdelkrsyljonahwzwgspexapvrceqmnlpkrkdyjalbgjiyekyrgfzczzocttjeeeleqzynmyukkbintyyosbpvookvxokgmiaizflnqnululzjnmmrktsipcsxmkuouhhysqbebbztlpqdljhalesvznmrwincbnnenhdgbfetsunzxujcrnjrkkycpwunebaainwyyjrpeifvmteniedmbbkjlvidttcmhhauiibchnxrkrdrbklscgubckcpzhhqmxcivisfcikzavuuumqlbbvypavpqzxzowriikzdjjcnrjewmqaptxrequvuixndkkjtcytgoutlyeesupzhhtzovrhpocqwdqt"],"output":745},{"file":"testcase_2.txt","input":["elgrrwpmmpxgsoiknlftapnhstmjnqukfhvezwcjjwcdeghqfmvbxgoehtnphaceaalsrzqvbdxkedwjaawcrkcghxtcynhspthgjmorxumxhrfnajwefusnrxfsewyyodbetwsxgfofbjgnxdqtqnhdwguxmdgsfcwpdgfimkhxvgsjqnnzrnmgcfupchhfcinznbrtnlgtfkufhlkkutdawaaszuddqtutdtrfmabzhygcdbyonbyixsrkifmafplrbozmownsnfxpwhenhhhlilxwegrcqdshedxkxgssgvqpgwdsvcvnuqfvlhstefljutvxnxmgyp","gwmiohtprrnpqbohxbgwttecvzftfmhkgtlxcrebcuphnpxtklxfphkzlanmbhylvssjgotvnktmcbbmbumrugbknvmztfxrzkvnswoerpbmjtogfpmgdxwiqylckqhxbovfumqskxaenupxksrqmsztbyzcpopzwqfittsgqaiomulhflgyevouftzcqiphurjscpskxucbjaeezrmghuggbdxduwiopqalmbraxvzkalvtmlceokkhnaifqwpxyaowqbvrjklvvltztprrmvapvysgebymejwxvqlsbhbfhmktmqljnbwelkoktooiwvnddnavxitlmselufsuzkjxyvxzkfbjutfxnhbfxltifdmnbaapmuzhaer"],"output":362},{"file":"testcase_3.txt","input":["bldlgfvqxvwiomrfsfgcmbtmormoatkhrbfysoetmrhozkcyqntsyugajjykxoyiommtqolskkzdvzpyqykqxzlxayprupvhfkrojnhtuvkmlhvnlzxjblzlhzlkdkzncgylybyzeqimkhkgxrihbkfzquvzkstphwxiopzzexhaickmhxhqvnqrpzovmlxipdiggcbenvsjulmolgvahlbwnwjwduagtfuocitfclxlzmfxemteypzqyixroiakbtgsivjmbqmzvapbxvzevldtwflahiofjvaebyrogtcjthxqkfbewetxydqofmdhymgssjfjiacggoxnpxsfctkejihuxpwlvlaohgxouvilmemvadnpvjmnivkijoebsousekddncfnckfyrgniztrbuiwwmgjlsgillfbtphkfvztytactexihqyjweqxohqkfzqbyxjmmdocymeimdqievmvkjunsgynvrmkyyafgywtjklufoyxtxswzmfmrqwjwhnmxdtlwluttcokaidgxnmazgsnvzxjssqkjpytiqclgaawcighhgtqyqinubjktprvgfmrgdxjvxhdvtjwfacupeypgfpdnazcbgogysvswmbnbeajvfzghsdxggycsajglavtojcenryjjphssjiamgfaknlcnykjsswpqrabawtyvyzzxgjelkiaqybncverrzxhmoslgvyfrpuxrbfa","syymebvinqjahcykrtekpnnwwkvnzqzqfzkyfkmitaktdgzjhnyevluyrzexpiwrfpivnlylxukcaqakpjhoefahsvoeutxtmthikszqtmkezsywynqxcixuwgeiivvedmobjlptxdwbdzsjalvsmkqtgkuuqksimllvfwbphtqnkzujakqxbranywkbogowqxfnwyoeuimztikuctcuebhgbrpnpdvqknceuutjnhqwmwljieabmnqmtmanxafzboqcgauvluvxvclixlwsdkjzaamoydyaqpfgbolthuqfvhwayfzyicefamsvhrqysokuleegeluljoegdmvazjonciodiblxdnzxkxoztqpydgcbwenspasvbgcpncynfkrbntpcfebqcwtcubsgktlaiorefeswuqkrqufuwsnanawtutujydzyuceejlnxinvuykzemsvzzpudckufaadscvpthjxlfotatzkwkdlzqsftcgxcsyxotqaaymypdocgzjmjqduzockzumawiskuzuqyiyffdbjfmefevlirzbmtmdodnefygwdxpiygmxqhtfhiwnpledabiqzxlyjuvaqqhrbaooyoasblxewuxatzxtzeygvzozqquhkrcixhfwtlzcnegcrxaovgdktlbzxnexunchcpvydjqgetpdrxcwejmnzhxalmebikejfxdywkguzqbtskgrdqfhclsthgzdfapuwfxjtapmjyoatppnczxcunqknkrzlrhzdtwymrmxyulijhptrxcscjcbwobvunujzcgxspvikalzfqpkghoeyxovhhvvdpkjbbrvitfcpaolzbwlxjswiltrgyddeh"],"output":827},{"file":"testcase_4.txt","input":["znewliqnytjesufadmeuntumoozeyxjhcbplhrdxwbcynwuvohtmyuosmuqicujbxtwccocqukdmddkukzczwaffrroajntgwumxgcfwthcykobbjzvdpwjjgfzwvminswfhwqqgwnfgykvcmwsmskvdkczgowjomthztswfvmreeccuoyejufqvkrttcadvjzbbnjuslrjkgogoklbdtfvbsmcwmselyyhhwbhouqxtmleiybvtoiqagfqwpmgkmtskbffvahvulhprrlnxswleitabrcpxrlngnohbixygolvtjvlukebniswonrepcjzlemezfnnbcqplspxqulpsbdqldovjyfucqxrudjevqlzzytvmgdsvkgcqsqmdnrtsotlgpozkgishwucyaesophpmkcsbbzrglacwfwxsxbjpktffbihvzkubltwqjbxggcwsysmgvxrgjantssvbvdpfycuohbiegywylzqflyxgxztmdbsoyqkctyjdzfyqtqbgimvcumepcnfetfbpinwaownbdrgetymvrekskqmciwdspyzmwftfqoiaqjniciwrqddexlsssxlujswvvhtruhkciwitvgiohlburqopbfbvbavfnrpcepnjrwigyvoriacmpwcahwuwadkdscdfyfoivhtjgifpldegxvgwtbsgq","lvnkpnmjhwuibjvslappqukphsyyrkuiwetohvdnrxsknhruvkqroovwleewqnlgkbybfvlaesctmmvhvwgyzlpvugivcbpearvtfgjoahbmpsupzfqawxdookyqphhgknhcpwbkzzadpyoyeywhiiieyhbnodnqxbyizunmblmzyfmeiqfzggsyouaihtcjmukkybeoetmdytynhuldwreimxoqrbumgyhvkzerunybbqmlmscbqkpnsltwjagggfjsrygquzepjrdpvlatnbhziqbalgsqghcdmvnhokeaeupzzhcsyqldxerzjygnwedssjknkceflrnewwikvaqvcwkrlboncgkwxqzvrpytfkesodwdnbljulndvrzflqbjlrvygdwmekkdbpgzqprqjwdleeshvqccimrwgygkrysrapvicymkegxuzyvvujktwqsywa"],"output":431},{"file":"testcase_5.txt","input":["erryerljoqutdpkyagvxrdfjhqkrvnurttrttowrplrxdlbwjvpdpvumlvvmojycfytyvapjatvyhkrak","okpqribvceacvxqpjugdvwqmhhuytykucgqnxqzsjtrwxdgehnmbcqvlgchiiqxkbhaufyjjduhvedjcwzlknhtrcrhrjiiryozazuhutsoxdzwblzjrqcrgutlgfijgoneqchpuhjapzhzlmkbispztaasqlanimicjfertytsupnfolyodlxrexoxbkrggxtyceuqiqdzu"],"output":201},{"file":"testcase_6.txt","input":["fhcrhcoxbmylqlihhdshsssgvanwxhuipyodqyhldwmaxnopagwhvqsutcfyfppnxclbeafohheieqkigsqrmiydtbdktgnxsbtozlesprqgohysaggikrefjxaffftthkbtktlfetauhnnkefrgxqctmqbcebesnubwkyvdaaxyuljgvvknmxovczsfbrntsgldmadigohsicviopnvvzerqckydbpvlgetgnfauvleasrgcxyguccsgzmjzlorslkwjwgmsstwgqzrjxhcncolexvfjksbeyjuumuqywhhotedrazxjbsciimtfrfahlgwkuiyetedtfrdscmnywhovzphduawdlwytgequbotktbzqnbbcbqghiwduazdvgtkardtlxxvknlvapzvofuo","encerhgjuxffumaexayaksflqfvjbgnhzffxjmigrefmazzhzxvgnmkptqjsrigqrmwealsjejijwrcrgmatplqqonimkiuifqnfnqgdyrkodeqggbcnodrezfurihvymxzzvbttfrxrldgjrwldjifzvwkuvwbkkyovhamesmnopgmyqqrjhuyxezycdbfmdtojxuuadbxqmtazvwlckbsauezjdwpepy"],"output":208},{"file":"testcase_7.txt","input":["swflagcxvgueiipztgeihqglufpytvdnzpgrxykhvatjerclobalixpnmidjurhlprqsnrsjfwzohwtppxabutybnzqhimofyhctptwltttgonqkgolyzikipewjbpzjkqqiivpjbasjrifgpbostarpspoytgsjikcyaazzqtlrhrqalebpoinmvzhbhrlyweogzqjmjytskbwbkvrdfboyasgkmyguvrxlekjsnfgblxjshxchcqcgurn","xhuegelxyzwvrxsjptqnwcxaojdlkwiltdtuhoycvumcxkslsvxkretpalqppqvgbwuppewtgxdkspkdepuscgsghty"],"output":83},{"file":"testcase_8.txt","input":["iubaxdmshccmjtxwzekvncjpsdubgvvamnfsghmofvrxvoexgrsaausrvpchgpgatbupauxrtuexcscvfhzzjlbgkuanagegbocs","n"],"output":0},{"file":"testcase_9.txt","input":["dnscxlvlaeutivkbobrznyqorysxpiluxdpnnegzqhwsrdlizdfrwpmmncmeibgzbkaabtvgkoerwfgnmdnftkbciqgnmdajvpzxahorufwzocmgrplekrxsvgfhsdcuiqouvjdzzryftgnrjsvethqpnoumropdyooocxmnjlicgxnwqlpcbmmaftkrzdpqodrhzycqfqpyrmlnxbwfydevjfmfuodlhcszezuympyztvdvtxizjxdatxmhyynnnkhbvgmsffofuxjyiibqkgcmlvsvgpfzyrygtiwhyasrntifqlvvkzregmzuneuldoqxqbzqlsyvstvazvfftnzebjunllhlvwrvoehagihdjibrxzrmkqkwsviokdfllzonlbxdlvhjyjfnrpkmlstybqjtbznaztslxucdgkhzxbgqoluwyvrbkcgponslaqvxcvirexvjwilskbjhbnffnihjnntyvzlnxxmczxkymkowpoxuuiojkydfsoeuclovtccekmvhpksaqbxxlylnnsycmtffrdpczuboszenftztsilmcktpwbnkghuorcwdlobbfnkoiropgelyjgadyocquoumjhihfarynijlglycuvlcejavbryqwiuwbnkrqljzcrrimedqahfujgzmihzbptlyvpauxgignzojmtctzsqlgjxtjaltbvaybvdzlbsqkazxprxmvhhgltmmkewasghrtwtxaaotjaqzwotwasepivgjeebdlruueohufapidsobicqyshatmnxgbpleulnsgqswceowuphjdnylxpshovjhkancnvxpkbknncauzcjmnflrfzqtuuhkiokiqznrbstuicjcnyizdrztzliyxshfpjhktpxvtzeuuavenawyorsopknxtqwzuwpyvzflryjzdvtyvicuxzmwjgrqbqhdhgxausnirvrknfkqeeqtprpqyzm","watypcjhnvfapntadmikhmncpaatjwrayfkabjkccdeklukltfyujumhwbhbicrmnvwjjatotryfxlamaxayonylhrxqiyzuvsewdfjwvvbucmnoviefoztmalkiyehjaclxedourbngkckwodzkrbvnuzzkgljmmfihceutrpdfebputagsfyiwsdfvxmlbbjoyyrquntnzyjsoktvmpjkwhsujykqdvahrxjunrivituqcpxupyfzuudkhrzpvdcdmsluowwgeqnwhdkgtmvhwbhhnipmlmuoilgqqbbrhczbakoucisqjdyricpymbhzhfuipsutzxuxalinywqgndjnoyjnzpiondxileoeuvstyktrpbsrmmhawsjzbogdwydpjesbkrcfdwzbmbioqzyrjuvircvdzdjgugvftvphboorjehellwhxgtyghkmieslfkaoglevstbvzueulfxikurjxqhcsewhmsyeiedlryelelthaaqwfqagppxnlerfqdmrdyitxjhyarwybfnverqpfuiiiowfkfpfddlitaflxoloigunfevcaihccecsycoaxeouhuyuvnkvdlecfqcwjftyprtndnnltywsulumpfwgiaiwgmqldewbfjporkimrdlvodaksngmwgzqnofvojesjzxekzoywqcceosvkrudokvjqyhcjkplewqdxgbsvtlfjsiyltzpaizawqcljrepyomjdjostdfddraghcmfatlhrmtwvyesncwdtrrdidriifoeeqogmiosuserbpfrmnbynlnshrecoznwqshxfugrdspswrixvktaivwiryweseythiwcrwmbmqgiwqzzmpcqgnytaeavoyftcuxpehhsuexeerzhttjaruodlrqimfijjmwnorqzfixamudbcgcufepxnmewlpbhlvhrmhyredybddphupvaqhjqiypybonnffo"],"output":935}]
|
append-k-integers-with-minimal-sum.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[2,4,6,8,9,10,11,12,13,14,15,16,17,18,20,21,23,30,32,34,35,36,40,41,42,44,48,49,50,52,54,55,57,58,61,62,64,67,69,70,71,72,74,79,80,82,84,85,87,88,89,92,93,96,98,99,100,101,104,105,107,110,111,112,113,114,117,118,120,123,124,127,128,129,131,133,134,135,136,137,139,141,142,143,144,145,147,148,150,152,154,156,158,160,161,162,163,164,166,169,171,172,174,176,177,179,186,188,191,193,194,195,196,198,199,200,202,204,205,206,208,212,213,215,216,217,220,221,222,225,226,230,231,233,234,235,237,238,240,241,243,244,245,248,253,254,257,260,261,265,266,268,271,279,280,282,283,284,285,286,287,288,291,292,293,295,296,297,298,301,302,304,305,310,312,316,318,320,321,322,323,325,326,327,330,331,332,335,338,340,343,344,346,347,352,353,354,356,357,358,359,361,362,363,364,365,366,367,368,370,372,374,376,377,378,380,382,384,385,386,391,394,395,396,399,401,403,407,410,411,412,420,422,423,424,427,429,430,431,433,435,438,441,442,443,445,447,450,453,454,457,459,461,462,463,465,466,468,470,471,472,473,474,475,476,478,479,480,483,487,488,489,490,491,492,494,497,498,499,500,501,502,503,504,509,510,511,512,513,514,519,521,524,525,527,529,531,532,534,535,536,538,539,540,543,546,550,551,552,553,554,555,559,561,562,565,570,571,573,575,577,579,580,584,585,586,588,591,594,595,596,597,598,599,600,602,605,606,607,608,611,612,614,615,616,618,620,621,623,624,627,628,630,632,633,635,636,640,643,644,645,646,647,648,652,653,655,656,657,659,660,661,665,667,669,670,671,672,673,674,675,676,678,680,681,682,684,685,687,688,691,692,694,695,696,701,702,704,705,712,715,717,718,719,721,722,727,728,729,730,731,732,734,736,739,740,741,742,743,746,748,749,750,751,752,756,757,758,764,765,766,768,769,773,774,775,777,779,781,782,786,790,791,792,795,796,797,798,799,800,802,804,806,808,810,812,813,815,816,817,818,819,820,822,827,828,833,834,836,842,844,845,846,848,849,851,852,853,854,857,858,859,863,864,865,866,868,870,871,876,880,881,882,883,884,886,888,889,890,891,892,893,894,896,897,898,899,900,901,902,903,904,905,910,911,912,914,916,921,923,924,925,926,927,931,933,934,937,939,940,941,945,946,949,951,953,955,956,957,962,965,968,971,972,974,979,982,986,989,990,991,992,993,994,995,996,997,998,999],409],"output":191134},{"file":"testcase_10.txt","input":[[1,2,3,4,6,7,8,9,10,11,14,15,20,21,22,24,27,28,29,32,34,35,36,37,38,41,42,44,46,49,50,51,52,53,55,56,58,60,61,62,63,64,65,66,68,69,70,71,75,76,77,78,79,80,83,84,85,86,88,89,91,94,95,97,98,102,103,105,107,108,109,110,113,114,115,116,118,119,121,123,126,127,128,129,134,136,137,139,141,142,144,147,148,151,153,155,156,157,160,161,163,166,167,168,170,171,173,174,175,177,178,179,180,182,184,185,187,188,190,192,194,199,200,201,202,203,204,205,207,208,209,210,211,212,214,216,219,221,222,224,225,226,227,229,230,231,233,235,236,237,238,239,241,242,243,244,245,247,248,249,253,255,256,259,261,262,266,267,268,269,270,272,275,276,277,282,283,285,287,289,290,291,292,293,299,300,301,303,304,305,306,312,313,314,315,316,318,319,320,322,325,326,327,328,329,330,332,333,334,335,339,341,343,344,346,348,350,351,352,354,355,356,357,358,360,361,362,364,366,367,371,374,376,377,379,380,381,382,387,388,391,393,395,399,400,401,402,404,406,407,408,410,411,412,414,417,418,419,421,425,426,428,429,430,432,433,434,435,436,438,441,442,443,444,445,446,447,448,449,453,454,455,456,458,459,461,463,464,465,468,469,471,472,473,475,476,478,479,482,483,486,487,488,489,493,494,496,497,499,501,503,508,509,510,511,512,513,514,520,522,523,525,526,528,529,532,535,536,538,539,540,541,542,544,545,546,549,557,559,561,562,563,564,566,569,575,578,579,580,582,583,584,585,586,588,590,592,593,594,595,597,598,599,600,602,603,604,605,606,607,611,612,615,616,617,618,620,622,623,627,629,630,631,632,633,634,636,638,639,642,643,645,646,647,648,650,651,652,653,657,659,662,663,664,666,669,670,671,673,674,677,678,679,680,681,682,685,686,688,690,692,693,694,695,696,697,698,699,701,702,703,704,705,706,707,708,709,710,711,712,713,716,718,720,721,723,725,726,727,728,729,730,731,732,734,735,739,740,742,743,744,748,749,751,753,755,756,757,760,762,763,765,766,767,769,770,773,774,776,777,778,779,780,783,788,789,794,795,796,798,800,801,804,806,807,809,810,811,813,814,815,816,817,818,819,820,821,823,826,827,832,835,836,837,838,839,841,842,844,846,847,852,853,854,857,858,859,860,861,862,864,868,869,872,873,875,876,877,879,881,882,883,884,886,888,890,892,894,895,896,897,898,899,901,902,905,908,911,912,915,916,917,918,919,920,921,922,924,925,926,927,928,929,930,933,934,935,936,938,944,945,947,954,956,959,962,963,965,968,969,970,971,972,974,975,979,983,987,989,990,991,992,993,994,995,998,999,1000],684],"output":534496},{"file":"testcase_2.txt","input":[[1,2,4,5,6,8,12,13,18,20,24,29,30,33,37,39,41,42,43,45,50,52,53,56,65,66,72,74,77,78,81,84,87,89,90,91,92,95,96,99,104,109,111,116,117,119,128,135,136,140,142,144,146,147,148,149,150,151,155,158,159,162,167,168,169,173,174,177,178,179,182,184,188,191,194,196,198,200,201,203,205,206,207,211,213,214,215,217,219,221,223,224,227,228,230,232,233,237,238,239,240,242,243,244,246,248,251,254,255,256,257,259,261,262,265,266,267,269,272,275,277,278,279,280,282,288,289,290,291,294,296,297,298,299,301,303,305,310,311,321,322,323,327,328,329,334,339,340,343,346,349,350,351,352,358,363,364,365,370,373,374,375,376,377,378,383,385,386,387,392,397,399,406,407,409,411,415,416,418,419,424,425,426,427,428,432,437,439,440,442,451,455,456,457,460,461,466,467,468,469,471,473,474,478,480,487,488,490,491,494,495,497,499,502,503,506,507,509,510,511,512,513,517,519,522,523,525,526,527,528,529,531,532,534,537,539,540,543,546,549,550,553,557,558,559,560,562,563,567,569,572,573,574,576,578,583,586,587,592,594,600,601,603,609,611,614,615,616,620,624,632,635,637,642,644,646,647,649,653,654,655,659,661,665,667,668,673,674,679,682,688,689,690,693,695,702,707,709,711,712,716,720,721,722,724,725,728,729,730,732,737,738,740,743,744,745,746,751,752,756,757,758,760,761,762,764,768,770,771,773,780,781,783,785,786,790,792,795,798,799,801,804,805,806,810,811,814,816,818,819,821,828,832,833,835,837,841,842,844,845,847,855,858,859,870,873,876,881,882,886,887,888,891,893,895,898,904,905,906,908,911,915,916,921,922,923,926,928,931,934,937,939,941,942,943,944,948,949,950,954,955,956,957,959,961,966,967,971,974,975,985,986,987,989,994,995,999,1000],846],"output":593200},{"file":"testcase_3.txt","input":[[2,3,4,5,6,7,10,12,13,14,16,20,21,24,26,29,31,33,35,37,38,40,41,42,43,44,46,47,49,51,53,54,55,56,57,58,60,61,63,67,70,72,73,76,79,80,81,87,89,90,91,92,93,97,98,100,101,103,105,106,107,110,113,114,116,118,120,122,123,124,125,126,129,130,131,132,133,137,139,142,143,147,148,150,151,153,154,156,158,159,160,161,166,168,170,173,175,176,178,180,181,182,183,186,187,188,190,191,192,193,194,195,196,199,200,201,202,204,205,206,207,209,210,211,215,216,217,218,221,222,224,227,228,229,231,232,233,235,237,238,239,240,242,244,246,248,249,250,251,252,253,254,256,257,258,260,261,263,264,265,267,268,270,273,275,276,277,278,279,280,281,282,285,286,288,289,290,292,293,294,295,296,298,299,300,301,304,305,306,307,309,310,311,313,321,323,326,327,329,334,336,340,343,344,345,346,347,348,350,351,352,354,356,358,362,363,364,365,368,371,372,373,374,375,376,377,378,379,382,384,385,386,388,389,390,392,393,394,396,397,398,399,400,403,405,406,407,408,409,410,411,414,415,416,418,419,422,427,428,429,431,433,435,436,437,439,440,445,446,448,449,450,452,455,459,464,465,468,469,471,473,476,477,478,479,483,484,486,487,488,489,490,491,494,496,497,498,499,500,501,502,503,504,505,506,508,511,512,514,516,517,521,525,526,528,529,530,531,533,536,538,539,542,543,544,546,549,550,551,553,554,557,559,562,564,566,567,570,571,572,573,575,577,581,582,583,585,586,587,588,590,591,593,595,596,597,600,602,603,605,606,607,608,609,611,612,613,614,616,618,619,620,621,622,623,624,625,626,627,629,634,635,636,638,639,640,641,647,649,651,653,654,655,656,657,662,663,664,665,669,670,671,672,673,674,675,677,678,680,685,687,689,690,691,694,697,700,702,703,706,707,708,709,710,712,714,715,716,717,718,721,722,723,725,726,727,730,731,732,733,734,739,741,742,743,744,745,746,748,749,751,757,759,760,761,762,766,768,769,770,772,773,775,777,778,780,781,782,783,785,786,788,789,792,793,794,795,796,798,799,800,801,802,804,805,806,807,811,812,814,817,818,820,821,822,824,825,827,828,829,831,832,833,835,838,839,840,841,842,843,855,856,857,858,861,862,863,864,869,871,873,875,877,879,880,881,882,884,885,890,893,894,895,896,900,901,902,904,906,907,908,910,912,914,915,916,917,920,922,924,925,928,929,930,932,933,934,936,937,938,940,942,943,946,947,949,950,953,955,956,957,958,959,960,961,962,963,966,967,968,969,971,973,975,976,978,980,981,982,983,984,985,986,987,988,990,991,992,993,994,996,998,999,1000],657],"output":490048},{"file":"testcase_4.txt","input":[[768,769,2,385,265,522,787,918,153,412,926,30,289,930,419,162,37,428,173,814,557,817,693,949,567,440,185,57,311,695,700,187,959,194,338,980,599,344,601,727,475,860,863,864,865,354,353,356,991,998,743,616,101,235,492,749,111,251,372,504,763,380,893],431],"output":98706},{"file":"testcase_5.txt","input":[[1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,19,20,21,22,25,26,27,28,29,30,31,32,33,34,35,37,38,40,41,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,61,62,64,66,67,68,69,71,72,73,74,75,76,77,78,79,82,83,85,86,87,88,89,90,91,93,94,95,96,97,98,99,100,101,102,103,104,105,107,108,109,110,112,113,114,115,116,117,118,119,122,123,124,125,127,128,129,130,131,133,134,135,136,139,142,143,144,145,146,148,149,151,152,153,154,157,158,159,160,161,163,167,168,170,172,174,175,176,177,178,179,180,181,182,183,184,187,188,189,190,191,192,193,194,195,196,197,198,200,201,202,203,204,205,206,208,209,210,213,214,215,216,218,219,220,222,223,224,225,226,227,228,229,230,231,232,234,235,236,237,238,240,244,245,246,247,248,249,250,252,253,254,255,256,257,258,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,277,278,279,280,281,282,283,285,287,288,290,291,292,294,297,298,299,300,301,302,303,304,307,308,309,311,312,313,314,315,317,318,319,320,321,322,323,324,325,326,327,328,329,332,333,334,335,336,339,340,341,343,344,346,347,348,349,353,354,355,356,357,358,360,361,362,363,364,365,366,367,368,370,374,375,376,377,378,379,380,381,384,385,386,387,388,389,390,391,392,394,395,396,397,398,399,400,401,402,403,404,405,408,409,410,411,412,413,414,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,442,444,445,446,447,448,449,450,451,452,453,456,457,459,460,461,462,463,464,466,467,468,470,471,473,474,475,477,478,480,481,483,484,485,486,487,488,489,490,492,493,494,495,497,501,502,503,504,505,506,507,508,511,512,513,514,516,518,519,521,522,523,524,525,526,527,528,531,532,533,534,536,538,540,541,542,543,544,545,546,547,548,549,550,553,555,556,557,558,560,561,562,565,566,567,568,569,570,571,572,573,574,576,578,579,581,582,583,584,585,587,588,589,591,592,593,594,595,596,597,598,599,602,603,609,610,612,614,615,616,617,619,622,623,624,627,628,631,634,635,637,639,640,642,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,661,663,665,666,669,671,672,673,674,675,676,677,678,679,680,681,683,684,685,686,687,688,689,690,691,692,693,695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,715,717,718,719,721,722,723,724,725,727,729,731,732,733,734,735,736,737,738,739,740,742,744,745,747,748,749,750,751,752,753,754,755,757,758,759,760,761,762,763,764,765,766,769,770,771,772,773,774,775,777,779,781,782,785,786,787,788,789,791,792,793,794,795,796,797,799,800,801,802,803,804,805,806,808,810,811,813,815,816,817,818,819,820,821,822,823,824,825,827,828,829,830,831,833,834,835,836,837,838,839,840,841,842,843,845,846,847,848,849,850,851,853,854,855,856,857,858,859,860,861,862,863,864,868,869,871,872,873,874,875,877,878,879,880,881,882,884,885,886,887,888,889,890,894,895,896,900,901,902,903,904,905,907,908,909,910,911,912,913,918,919,920,921,922,923,924,925,926,927,928,929,930,931,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,951,952,954,955,957,958,961,962,963,964,965,966,967,968,971,972,973,974,975,976,978,979,980,981,982,983,984,985,986,987,989,990,991,992,993,994,995,996,997,1000],365],"output":274855},{"file":"testcase_6.txt","input":[[1,4,5,6,8,9,11,12,13,14,15,17,18,19,23,26,27,28,29,30,31,33,34,35,36,39,40,41,44,47,48,49,50,51,54,55,57,59,61,63,64,65,66,67,69,74,75,76,77,78,79,81,82,83,85,86,87,88,89,90,91,95,96,99,100,101,105,106,108,110,112,115,116,118,119,121,122,123,126,130,132,134,136,138,140,142,144,148,149,152,154,155,156,160,162,164,166,168,169,171,172,176,177,178,179,184,187,189,191,192,193,195,197,198,199,200,201,202,203,204,205,206,207,209,212,214,215,216,217,218,220,221,225,226,229,230,231,233,234,236,238,240,241,243,245,246,247,248,250,252,253,255,256,257,258,260,261,263,267,268,269,270,272,274,276,279,280,286,290,291,292,293,294,296,299,301,302,306,307,308,309,310,311,312,313,314,315,317,318,319,321,324,327,328,329,330,331,332,333,334,337,338,339,343,344,348,350,352,353,354,356,361,363,364,365,366,367,370,371,372,373,374,377,378,379,380,381,382,383,385,386,387,388,389,393,394,396,397,399,404,406,407,408,410,412,413,416,418,421,426,427,429,431,432,433,434,436,438,439,441,448,449,451,452,453,455,456,462,465,467,468,469,470,471,475,477,478,480,481,482,483,485,486,487,493,494,497,500,501,505,507,510,511,512,516,517,518,519,521,524,526,528,530,532,533,534,535,536,537,540,542,545,547,549,551,552,555,559,561,562,563,566,567,568,569,570,571,574,576,577,578,579,580,581,582,583,585,586,588,589,590,591,592,593,596,601,602,604,606,610,611,612,614,615,618,619,620,621,626,627,628,631,632,633,635,636,637,638,640,641,643,644,646,648,649,652,653,654,658,659,660,661,662,663,664,669,670,671,673,674,676,677,678,679,681,682,684,685,686,687,688,689,690,691,692,693,694,695,697,698,699,701,704,705,709,711,714,715,716,719,720,722,723,724,726,727,732,733,734,735,736,738,739,740,741,743,746,748,751,753,755,757,758,761,764,766,768,769,770,773,776,779,780,782,783,785,790,792,795,798,801,802,804,806,808,809,810,811,813,814,816,818,821,822,823,824,825,826,827,828,829,830,832,834,835,836,838,839,840,842,845,850,851,852,853,854,855,858,859,860,861,864,866,869,874,876,879,880,883,884,886,888,889,892,893,895,897,898,899,902,903,904,906,909,911,912,916,917,918,922,924,925,926,927,929,930,931,932,933,934,935,937,938,939,940,941,943,945,946,948,949,950,951,953,954,956,957,958,959,960,961,962,963,964,965,968,969,970,971,973,978,981,982,983,984,989,994,998,999,1000],367],"output":161724},{"file":"testcase_7.txt","input":[[3,4,5,6,8,9,10,11,13,14,15,16,17,18,19,21,25,26,27,28,29,30,32,35,36,37,38,39,43,46,47,48,49,50,51,53,54,56,59,60,61,62,64,65,66,67,68,72,73,74,75,77,78,83,84,87,88,89,90,94,95,96,97,98,99,100,102,103,104,105,106,111,113,114,116,117,118,119,122,124,125,126,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,144,146,148,150,152,157,158,161,162,164,165,167,168,169,170,171,172,173,174,175,176,177,178,179,181,182,185,186,187,188,189,191,192,193,194,195,196,197,198,200,204,205,207,208,210,211,212,213,214,215,217,218,219,221,222,224,226,228,229,231,232,234,236,237,238,239,240,241,243,244,245,246,247,248,250,251,252,253,255,260,265,266,269,270,273,274,277,279,280,281,282,283,284,285,286,287,289,291,293,296,298,299,303,304,306,307,309,310,312,314,315,319,321,323,325,326,328,329,330,332,333,335,337,338,339,342,344,347,348,351,352,353,354,355,356,357,358,360,361,362,363,364,365,367,368,369,372,373,374,375,376,377,378,379,380,381,382,383,385,386,387,389,390,391,392,393,394,395,397,400,407,409,411,412,414,415,418,419,421,422,423,424,425,426,427,428,429,430,431,433,435,438,439,440,441,443,444,445,447,448,450,451,456,459,460,462,463,464,467,468,469,470,471,472,473,478,479,480,482,483,486,488,489,490,492,493,495,496,497,498,499,500,502,503,504,505,506,507,508,509,510,511,512,514,516,517,520,522,525,527,528,529,531,532,534,535,536,537,539,540,542,544,546,547,548,549,551,555,557,558,560,561,562,563,564,565,567,569,570,571,572,573,578,581,582,585,588,591,592,594,597,598,599,600,601,603,604,605,606,607,608,609,611,612,613,615,616,617,624,625,628,629,631,633,634,635,637,638,639,641,642,643,645,647,648,650,652,653,654,655,658,659,661,663,664,665,666,668,669,670,671,679,680,681,682,683,684,689,691,693,694,695,696,697,699,700,702,703,704,705,707,708,713,714,715,717,718,720,721,724,726,727,728,729,730,732,733,734,735,737,738,739,741,746,747,748,749,750,751,755,756,757,761,762,763,764,765,766,767,769,771,773,774,775,776,778,779,781,783,784,786,788,789,790,791,792,793,794,795,796,797,798,801,802,805,806,807,808,809,810,813,814,815,816,818,819,820,821,823,825,828,831,832,833,834,835,836,837,838,840,841,843,844,845,846,848,849,850,852,853,855,856,857,858,859,860,862,863,864,866,867,868,869,870,872,873,875,876,878,879,880,881,882,885,886,887,888,889,891,892,893,897,898,902,904,906,909,910,911,912,915,916,917,918,919,920,922,924,927,928,929,931,932,933,934,937,938,939,941,943,944,945,946,947,948,951,952,954,955,957,958,959,960,961,963,964,965,966,967,968,969,972,973,976,979,980,981,982,983,987,988,989,990,991,992,993,995,996,998,1000],201],"output":59817},{"file":"testcase_8.txt","input":[[1,2,3,4,5,6,7,9,10,11,12,13,14,18,19,21,22,24,25,27,28,29,30,32,33,36,38,39,40,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,62,63,65,66,67,68,69,70,71,72,74,75,76,78,79,80,84,85,86,87,88,89,90,91,92,93,94,95,97,98,100,101,103,104,105,106,107,108,110,111,112,113,114,115,116,117,118,119,120,121,122,123,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,145,146,147,148,149,150,151,152,153,154,155,157,159,160,161,163,164,165,166,167,168,169,170,171,172,173,174,175,177,178,179,180,181,182,183,184,186,188,189,190,191,192,193,194,195,196,198,199,200,203,204,205,206,207,208,210,211,213,215,217,218,219,220,221,222,223,224,225,226,227,229,231,232,233,234,235,236,238,240,241,242,243,244,245,246,247,248,249,250,251,253,255,256,257,258,259,260,261,263,264,265,266,267,269,270,271,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,303,304,305,306,307,308,309,310,311,313,314,315,316,318,320,321,323,324,325,326,328,329,330,331,332,333,334,335,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,372,373,374,375,376,377,379,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,420,421,422,423,424,425,426,427,428,429,430,431,432,433,435,436,437,438,439,440,441,442,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,462,464,466,467,468,469,471,472,473,474,475,476,477,478,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,499,500,501,502,503,504,505,506,508,509,510,511,512,514,515,516,517,518,519,520,523,524,525,526,527,528,529,530,532,533,534,535,536,538,539,540,541,542,543,544,545,546,547,548,550,551,552,553,556,557,559,560,561,562,563,565,566,567,568,569,570,571,572,573,574,575,576,577,578,580,581,583,584,585,586,587,588,589,590,591,592,593,594,595,596,598,599,600,601,602,603,604,605,606,607,608,609,612,614,615,616,618,619,620,621,622,623,624,625,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,648,649,650,651,652,653,655,656,657,658,659,661,663,664,666,667,668,669,670,671,672,673,674,675,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,699,700,701,702,703,704,705,708,709,710,711,712,713,714,715,716,718,719,720,721,723,724,725,727,728,731,732,733,736,737,738,739,740,741,743,745,746,748,749,750,751,752,753,754,755,756,757,758,759,760,762,763,764,765,766,767,768,769,770,772,775,776,779,780,781,782,784,785,786,787,788,791,792,793,794,795,796,797,798,799,801,804,805,806,807,808,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,828,829,830,831,832,833,834,835,836,837,838,839,841,842,843,844,846,847,848,850,851,852,853,854,855,858,859,860,861,862,863,864,865,866,867,868,869,870,873,874,877,878,879,880,881,882,883,884,885,886,887,888,889,890,891,893,894,895,896,897,898,899,900,901,902,903,905,906,907,908,909,910,912,913,914,917,918,919,920,921,923,924,925,926,928,929,930,931,932,933,934,935,936,937,938,939,941,942,943,944,945,946,947,948,950,951,952,953,954,955,956,959,962,963,964,965,966,967,968,971,972,973,974,975,976,978,979,980,981,982,984,985,986,987,988,989,991,993,994,995,996,997,998,999],776],"output":896983},{"file":"testcase_9.txt","input":[[1,2,3,4,5,6,8,9,10,11,13,14,15,16,17,19,21,22,25,26,27,29,30,32,36,37,40,41,42,43,44,46,48,49,50,51,52,53,54,55,56,58,60,62,63,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,83,85,86,88,90,91,93,94,96,97,98,100,102,103,104,105,108,109,110,111,113,114,115,118,119,120,121,122,123,126,128,129,130,131,133,134,136,137,138,139,140,141,142,144,146,148,149,150,153,154,155,157,159,162,164,165,166,168,169,170,171,172,175,176,177,178,179,181,182,183,186,187,189,190,191,192,193,194,195,197,198,201,202,203,206,207,208,211,214,215,216,217,219,222,223,224,225,226,227,228,230,231,234,235,236,237,239,241,243,244,245,246,247,249,251,252,253,254,257,259,260,261,262,263,264,265,267,268,270,271,273,274,275,276,277,278,280,282,283,284,285,286,287,289,290,291,292,293,294,295,296,298,299,300,301,303,304,305,306,307,308,312,313,314,315,316,317,318,319,320,321,322,325,326,327,329,331,332,333,334,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,355,356,357,359,360,361,362,364,365,366,368,369,370,371,372,373,374,375,377,378,379,380,381,382,384,386,387,388,389,390,392,393,394,395,396,397,401,402,403,404,405,407,409,410,411,412,413,414,416,417,418,420,421,422,425,427,430,431,433,434,435,436,440,442,443,444,448,450,451,453,454,455,456,457,460,461,462,464,465,466,467,468,471,472,475,477,478,479,480,481,482,484,487,488,489,490,492,493,495,496,497,499,500,501,502,505,506,508,509,511,512,513,514,515,516,518,519,521,523,525,526,528,529,531,532,533,535,536,537,538,539,540,541,542,543,544,546,547,550,551,552,553,554,555,556,559,561,562,563,564,565,566,568,569,570,571,572,573,576,577,579,581,582,583,584,587,589,590,593,596,597,599,600,601,604,605,606,607,610,611,613,614,615,617,618,619,620,621,622,623,625,626,627,628,629,630,631,632,633,635,636,638,639,640,643,644,645,647,648,649,650,651,652,653,654,655,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,673,675,677,678,680,681,682,684,687,688,689,690,691,693,694,699,700,704,705,706,707,709,710,711,712,713,714,715,716,720,721,723,724,726,727,728,729,731,732,733,734,735,736,738,739,740,741,742,743,746,747,748,749,750,751,752,754,755,757,758,760,762,763,764,767,768,769,771,772,773,775,776,777,780,781,782,785,786,787,788,790,791,793,795,796,798,799,801,802,803,804,805,806,807,811,812,814,815,817,818,821,822,823,824,825,827,828,829,830,833,835,836,837,838,839,841,842,843,844,845,846,848,849,850,851,854,856,857,860,863,865,867,868,869,871,872,873,874,876,877,878,880,881,883,884,887,888,889,890,892,894,895,897,898,899,900,901,902,903,904,905,906,907,910,911,913,914,915,917,919,921,922,923,925,926,927,931,932,934,935,936,939,941,942,943,944,945,947,948,949,950,951,952,954,956,958,959,961,962,963,964,965,966,968,969,970,971,972,973,975,976,977,978,979,980,981,982,984,985,986,987,989,990,991,992,993,994,995,996,997,998,999,1000],775],"output":760346}]
|
apple-redistribution-into-boxes.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[11,47,16,40,7,39,10,24,14,14,30,38,21,23,21,3,35,27,20,38,41,46,39,39,39,39,20,4,19],[50,49,49,47,44,42,40,38,32,30,29,28,27,26,26,23,21,19,18,18,18,18,14,12,11,4,3]],"output":-1},{"file":"testcase_10.txt","input":[[41,44,15,6,46,35,1,38,9,25,8,13,8,45,12,2,19,32,40,20,18,27,13,31,6],[44,33,32,28,27,22,22,18,18,17,16,7,6]],"output":-1},{"file":"testcase_2.txt","input":[[11,21,20,5],[42,40,27,18]],"output":2},{"file":"testcase_3.txt","input":[[5,17,31,2,48,35,32,2,35,26,20,38,6,36,44,46,11,18,33,23],[50,50,50,48,48,46,42,40,40,39,30,30,28,26,26,24,23,23,20,19,19,17,16,15,15,14,11,9,9,8,8,3,2,1,1,1]],"output":12},{"file":"testcase_4.txt","input":[[21,31,42,13,36,26,2,23,41,2,42,23,5],[49,48,44,43,42,37,35,35,34,34,34,34,31,29,28,26,24,23,19,19,18,17,16,16,15,14,11,11,11,10,9,8,8,8,3,2,1,1,1]],"output":8},{"file":"testcase_5.txt","input":[[43,38,6,21,7,21,42,7,36,14,35,19,16,17,39,25,42,4,36,18],[49,49,48,48,45,45,44,43,42,41,41,40,40,38,38,37,34,34,34,33,32,31,28,26,25,19,16,16,15,13,7,6,6,4,2,2]],"output":11},{"file":"testcase_6.txt","input":[[7,4,41,14,36,38,40,44,7,35,27,2,49,1,13,43],[38,22,16,11,2]],"output":-1},{"file":"testcase_7.txt","input":[[48,2,31,27,18,21,42,40,49,18,38,44,15,16,15,28,29,22,31,26,43,30,38,11,17,48,12,34,32,23,20,6,15],[37,33,25,20,13,8]],"output":-1},{"file":"testcase_8.txt","input":[[31,46,36,28,44,5,8,8,3,43,33,40,24,14,35,34,20,22,30],[50,49,48,45,42,39,38,34,33,32,31,29,29,28,28,27,24,19,15,14,12,11,6,5]],"output":14},{"file":"testcase_9.txt","input":[[38,45,30,24,46,37,45,37,20,36,32,25,6,9,50,31,49,1,42,29,49,7,24,18,45,8,31,27,23,47,5,22,36,39,46,27],[50,50,49,48,46,45,44,42,40,37,35,33,28,28,26,26,26,23,17,17,16,14,13,12,12,11,11,11,11,10,8,8,5,4,2,1,1,1]],"output":-1}]
|
apply-bitwise-operations-to-make-strings-equal.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":["001110111111111110001100110101011010011010010001110010001100100110100110000001000110001010101100100010011111110000011101111010111111101100111100001000010110100011100111011001010000001100001110000001001001001001001100001100111110001011000111011110001001011110000010011110011011110001001011010111101100001001000010010101000010000110101100011111101001111100000011010111010000101101010011011101000000111101111010010001010100110110101011001100111000000010100100011000101011100011111001011110100100011011111101111110000111010101110111010010110101000111110100011110100001000101111100011111000100010110111101001001100001111101011010011010100100111111101011101","010110010101011100010011100101111110001000110010110001101000100100100100100001110101111100110100010100111110110100101111011111010000100010110000001000010001011001101111001100100010001000010010110011010110100111101100101001000010011101010110011111111111000101111011010011100110100011100010100101111111011101110010000110111001001111010010001001101100011000101101110101000011100011111001100000100001000001110011000101010101010010100011111001000010100010010001010011100010010101001000101010001000110010111000101011101001101111110010001101100111010110111000111101001001100011001001110011011101110011110100110100111011011111100000010100011011101100001110110"],"output":true},{"file":"testcase_10.txt","input":["0101000101011100110011111010100000101100000001011000010111000011000101101010100101100001001110110110110001001111100000100000111010010010110001110101000010100110000111111011010110001000110101010000001001011011010010001100101011111110110010011011010001111100011010100110100101101000011101101100000000101000100001000111010100000100010110110000111010111110100101010001101101110111011001101011101100110000111100001011110100100000111110111111101100111001001101010011111000111010111101011001101100110000110111101001001000001011111111110110110001000101111","1001110100000110001111110100011001000010101110000001101010001111110111001100110111110110000110000100100111100100110001011000000000111101001111011101010111011101010010110001110111001010101110101001001000000101110100100101111110010100100000001100110101000111001100010011001000110001101010011100000000000000000010010000011100001101010100010010000001011000101110001000101010111001000010011000001010100101110100100000100111101010000100010011101110000001101111100000011000000111110110100010010010000111000110000001110111101111101100110110101011111010000"],"output":true},{"file":"testcase_2.txt","input":["01101010111000110010010000101001010000000001111011111011001001110011110001011010011001101010010111011101001101000110111010101101001110111010110000111110010001101001111100110001101001010001100110100011000110000111111100111001001101011101111001000010010101011110000001110000111110100110111110101100010110101100001111011000011001110000000111000001011011101010001100101101010000001111110111100001011111001101000011000101110111100010011101000101111101100010100101101101011111000110001011111011100110110000100000010101011111101111110001101010000101111010101010010010111001000001011100011010010001101011110110000001110000011000110001110110111001111111100110000110000110111001110000010001011101101110101101000000101000101111111001010110110011011111111010110000011110011101011011110001111001010100001010101111001110000111101001110011110010011001100111001101000111010000010001000111011001101000001111111111001110011001010000000101110011100100011001100111001011","11101100010111111011111111111010011100010110001010011001011100001001100111110011111000001110101111101001011000001000110001001000100011101001000111010111100101000110001101011110000011111101000010101001110101010100101011110101010001011100111100100000110001100111001001011100011000110111110001111001101111001010111110010111110010111110000111011110100100111111010000110010110110110011100110010100000001110011100010100010110111001010110101000000010000100110001000011000010100011100011101111110010010001010100111101001011101110101110100100011001100101100011110011011011100100010101010111100110001100001111010110111000001111011011110001001111011011100100100011110100111110001011110101010001000100100111001000111101000101000101010000101010011111011100001110110010100010100101000000100100000111000101101000001000001111011110110010011010010011100000110001111100001000110011001011110001101111000111110100000000010001101111111110011001000100010101101101011010111"],"output":true},{"file":"testcase_3.txt","input":["11100000110100010100111001010010111100000011011011100110100101111001111011011011011110101001011110101101110110111111001111101110000100000000001111110110110011110011010110011000110101000011001110001101101100111000001101001110111110001110001111110101001111111011011001101111111000100111110110101110101100001000110101000100110000101100001","01100011101011100111100011101011000010111110101100000101101010001110111001111000000010110000111010100011010010100100101011100101110000101011111100100001101011100100110101010100110010110010101110000000111011100100101000101001001110001100000110111001010000110111011001000110011000001101101000001010101010010100000010111011011111011100011"],"output":true},{"file":"testcase_4.txt","input":["1010111000111100001110111100101010011011111101001000100011111011000100010010001101101001100000101000101100000110001000110011100110011011000000100010100110110110011001010000110001000100000111101111100101010011010111101000110010100001011110000001101010110011100011000100010111101111001101110011001111011011000","1011100110001111101110000000100101010011010001100011100111001110010100110011011110101001011100010111101111111001011110101001110100000101010100001010100101101100010010111000101000110111111011000100110100101110101110001100001010001110010011110000001000000100100100110110101010101100011000000001100110100001101"],"output":true},{"file":"testcase_5.txt","input":["11000011111100101001101110010001100000010000010010111011001110100010000111011100110001011001011110111000001000000000101111101001111000010110110101111101010101110100101101101101110001000111101000010101100100111010001100110000100100000111111111100111100100110110000000010110110010001111111101011000110011010101001001110110101010001010100001111000010101100010110001000100000110101111100101000100110100111011001101010011001111000111111010110011000010101010100111101100111011111000000100111011001011110010011010011010100110000110010100111010001111110111101001011","11000010101010110110111100001100010111010001010001101010000011110111010010001011000010101100100001001111100100001001110001001101010110001101111011001000000110101100101001101100100100110011000100101111111001100010101111111111101010111111000001101011001110010110011001000000101101010100011111101011010110010001001100100010010101101011101010001100100001000111100110011001001010111101110110010001100010100100000101110000000101011101100101001000010010110111100000011000000001001110010100110100000111000100100111010000000111100000110100100010011011101000100010110"],"output":true},{"file":"testcase_6.txt","input":["1110101011110011001110111101101001110011111111011010000000001001110010111100010011011011110101011000110101010001100001001010101111001111010110000101011000010100000010101110010011000100111101100000110100011100110101001101101100101110110011111001001110011011100011111100110001010100001110110011010101010110010001000001100101000100010011011000110011110000001101010010001001101000011100000001111100011110000111011110001111111100100101101110011010000110111101000010011111001101000100100011000111011111101010010111100101101101010100010110010110110010111001000110011011011110011100101100010100110011011111010001001101010110001010100110110110010010100010011011010100100001111000010100100011010101000100100111010010100110000010010111111101101010111001010011010100100001111100110011101010010001111010100101101","0000111011111111011111101111001101000111001111000100100101000011010100111011011001000110100010101101010101011111111101110111000000100100011111111011011011001010101111000001000011001000110111100011001101000010001000000001110001110110101010110100000110100111001011011001000011101010011000111010001001100111000000001001010011010110000000010110010100011110000000001100100111100000111111001110011011110100111011001101001110011001000100111101110011101000010010101011110110110011101010011110000001111010000010010000110101001000001010000111110100011010111111001111111001100111010100110010001100001010011010000100000100100001010010101110001010101011111011111111110010111111100010101110010101000010001000010110110011110111110011000101001001011011101011001110010100011001001011111111000110011010110000101011111"],"output":true},{"file":"testcase_7.txt","input":["10110111111011011011010111101100101111111110100111000010101000001010011111011011110010000011100000000000011101010110100011001100100001111111010001100100010111000111011110110010001110100010010011000010000111110110011010101000011000101100010110111110110010111011011100010010101001110010110111101101011000000110010001100100011101001011010000000001011111000000010010100111000100111000110010011000001100101110010010001010100011010100101110111000011011010011010001100010100100101111001101111000111011010010011010011100001000011000111111000110110100101010111100011000111000000000111001011011110010011001101100000000110100111","01010011001100101100011001000011010000011110100110100011110010110110011110110111101100010100011001011101010011000011110110011010101101000110001010101011110010011001000110010111111111101101111001010011001101101100101111010101110101000001011110100011001001110001010101011110111110000110101010000001100001110010011100001011010111110100011011110010110010010010100000101010011100111100111110100000011000011100011101101110010111000110011010011110001000011101111000101000001010010110110000011111000001001111000101100011011110101100010001101001100110000100000000100011001001010011100101101010000100000101111011110000110110110"],"output":true},{"file":"testcase_8.txt","input":["1100001101110100001001011010101011000011011000100110001010001110000001100000111001000101010111111011000100000101011100000100110110010110000110001010000000110000100011010111000110011001000010010011001001100101100110100010010110011101110100001101111110000101110000011000000000011101110000111100101001000000111100111011000101011010001010100010100101001101011111100100010000111110100010101001001110010111000001110001111000101111011011011001001110111111101100100111001001111111101000101001011101101110011100101111001000111111110010100000101010101110000001100110101010001001101001000000110100111000111101011000100011011110101100111101110111101100101011011101010101011000011101110100000001001000011110110110011011100001110100011001011000010","1110001111100010110100010101111111010111111101100100100101010111100110000101011010001101010000100000101000110001110101010111000001101010101100000100100010101000001110100100011010001111011100000101101101000110001111010110001011100111011010000111101101001111111101110010100110011111000101110110100011011101010001101010011100111101110010100111011010010101000110100000100101011100101010111001001111001011110101011111110001110011100010100100000100101001100111100100010001010011010010100110100000101010110111100101100111010110011011111010110000001001110100001000111001110001110001010100000011100101000101101101111100111110101110001011101100100010101010110110110010000000101000100100110110110010001001100010111111011010000001011011111000011"],"output":true},{"file":"testcase_9.txt","input":["10111011000000110101010110000010011110001111010111000111011101101000010001111111100110011100001011110000001111101101101111111000100011001110101110000010000101100000010010011110011100101000111100000011011110011100001000010110111010111011000001011111001111110000110011101001100011111100010110000110110010101111110011111110110011011010001100001010001010010000010000100110111100001011001010111001011011000110000111111010111101011011101011001101110001100010100101000110111110111000010101100010000111000010110001100001010110011001100110000011100011101000100001101001001110101010100101110101011111011001000001010100000010001011001011111111001000010100010111001101100000101001011011100011000110000110101001110110110111111010001011010011111100110100101110000101111011001111010100011111110010101011110101011101100000111011100000001000101001011011010000001011100100010111110000011000000010010101010100100011110000111101","11110011001100101111001110101111110110010010001101000110000100111110110110010001001000001101110101011101101010010110011000000101101010000001110000011101110011101011000111001010111111010000000110110100100001011100001000111110011110100110100111001010101101000100011100000001101010001010010100001101111000100001011100010001100010011100111000111110111011001011000000010111101111100000111110011101010000001001010011111001100101110001010110000101111011000010000100101001001110111111100010000010111011010001010100011000100010101100010100000111000000110111000010110101100110111110111001011000010011001010011010111000111011011101110110100011000111111101101011001100001000010101101000011010100111101101101110010111110111100110010110000011001011101110011101100101100101010000011001101101001011001110111110110000110000000011000101111101101111111111111001001000001101000001010110010011100111110000110000000001000010110001"],"output":true}]
|
apply-discount-to-prices.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":["gk $957 gwwsii5 $951 $189 $708",77],"output":"gk $220.11 gwwsii5 $218.73 $43.47 $162.84"},{"file":"testcase_10.txt","input":["6qkxw3tiel fc34p6 $118 i4209uvo $992 h $543 $114",21],"output":"6qkxw3tiel fc34p6 $93.22 i4209uvo $783.68 h $428.97 $90.06"},{"file":"testcase_2.txt","input":["orpjl2p rt1g5snh $269 d9ed1bvw7 9sc0 zatpf 1k3 yh806g $422",58],"output":"orpjl2p rt1g5snh $112.98 d9ed1bvw7 9sc0 zatpf 1k3 yh806g $177.24"},{"file":"testcase_3.txt","input":["yw2d40n2g2 h00fwtyj94 $903 um1f3 3jqiv30fe7 zeom7 k59gsim8m $602 $25 24 $561 qyhnml5r8 $830 $494 $63 u 8v $479 $789 $623",67],"output":"yw2d40n2g2 h00fwtyj94 $297.99 um1f3 3jqiv30fe7 zeom7 k59gsim8m $198.66 $8.25 24 $185.13 qyhnml5r8 $273.90 $163.02 $20.79 u 8v $158.07 $260.37 $205.59"},{"file":"testcase_4.txt","input":["h2gl4t $529 3 x3c vtqmjbirz 8a bueqi62r1k euz t9uc bcy3s $483 25 2x47eajqg $558 $783 $799 $532 oofl4mn $632 wjfresw8",43],"output":"h2gl4t $301.53 3 x3c vtqmjbirz 8a bueqi62r1k euz t9uc bcy3s $275.31 25 2x47eajqg $318.06 $446.31 $455.43 $303.24 oofl4mn $360.24 wjfresw8"},{"file":"testcase_5.txt","input":["j7byo8 wv ly1fwloo3 2gtn9xif3 5 $354 oq20z zj7f vpurh 2rt9o ztpl",8],"output":"j7byo8 wv ly1fwloo3 2gtn9xif3 5 $325.68 oq20z zj7f vpurh 2rt9o ztpl"},{"file":"testcase_6.txt","input":["3qy $851 j ci7 tblewh $802 $125 xi2kpq r5f ua2c2gsb8 07fpoug wwenr8kctw $927 $972 6eq4zymjt8 6m ue3adc",22],"output":"3qy $663.78 j ci7 tblewh $625.56 $97.50 xi2kpq r5f ua2c2gsb8 07fpoug wwenr8kctw $723.06 $758.16 6eq4zymjt8 6m ue3adc"},{"file":"testcase_7.txt","input":["xn $734 8b55f91 ypj4dy $6 c91ji712g pdix2 $840 28yo5q9",27],"output":"xn $535.82 8b55f91 ypj4dy $4.38 c91ji712g pdix2 $613.20 28yo5q9"},{"file":"testcase_8.txt","input":["vcoynf $138 4 xy9 km8od3t6o xuswx e ga8swir $916 ih1ne $370 $803",6],"output":"vcoynf $129.72 4 xy9 km8od3t6o xuswx e ga8swir $861.04 ih1ne $347.80 $754.82"},{"file":"testcase_9.txt","input":["$515 h c04wij3t4b $895 jhmgz xxp1vx $592 kq22p1crg yrmhfb 8gbbijnst s9x4x506cb $230 1jnbgnposq $983 ee4 pqinrduf",65],"output":"$180.25 h c04wij3t4b $313.25 jhmgz xxp1vx $207.20 kq22p1crg yrmhfb 8gbbijnst s9x4x506cb $80.50 1jnbgnposq $344.05 ee4 pqinrduf"}]
|
apply-operations-on-array-to-maximize-sum-of-squares.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[508,220,539,912,18,24,772,277,299,196,380,957,600,489,421,140,719,131,687,275,62,959,725,502,985,859,301,714,685,110,796,50,660,574,269,543,575,470,913,418,404,147,177,665,927,640,905,254,470,20,763,846,498,642,200,94,178,574,677,632,651,676,446,701,273,682,376,955,266,424,858,382,957,579,6,245,173,3,965,211,905,869,28,745,22,180,25,969,875,157,578,65,917,716,959,240,275,876,265,248,561,117,893,360,304,42,501,116,918,979,880,105,203,710,624,374,592,171,294,635,388,94,642,259,802,34,929,677,322,730,951,444,288,982,814,461,605,841,959,7,575,730,774,235,384,457,427,918,834,747,307,142,610,460,436,427,572,727,841,400,783,385,754,415,671,701,944,958,497,417,260,144,471,139,746,393,54,997,92,776,459,812,342,434,118,139,189,727,470,360,687,700,93,200,281,902,473,50,981,425,970,613,546,28,770,229,361,875,983,711,212,799,711,936,400,501,195,432,165,136,487,948,545,538,624,959,498,746,790,199,957,773,665,742,737,668,353,710,714,788,223,925,468,315,186,486,90,77,651,658,122,34,636,117,924,275,103,863,780,571,83,190,578,251,983,263,153,392,849,595,225,77,998,177,743,859,876,439,417,176,279,316,699,524,483,731,193,951,705,65,547,788,8,968,529,24,749,139,340,986,628,503,484,968,862,366,456,384,138,616,436,307,411,482,412,545,33,887,705,230,20,936,883,175,432,348,471,678,873,898,820,75,279,562,442,94,50,557,852,124,567,807,727,410,951,16,67,793,174,152,116,220,779,914,630,16,478,149,960,850,967,570,833,860,211,80,367,920,50,604,522,452,815,352,921,849,103,667,873,513,356,710,333,46,198,738,897,381,494,109,627,564,158,966,719,132,345,385,649,797,265,692,320,298,746,660,785,95,850,6,462,673,254,270,589,22,985,224,818,444,113,587,740,711,447,950,221,866,851,33,42,876,504,9,320,795,435,361,856,406,659,460,760,937,352,489,983,850,194,138,26,691,166,905,154,44,115,134,929,187,284,662,460,953,910,778,90,269,231,691,19,132,252,160,522,539,364,869,942,648,846,810,714,610,795,77,11,866,175,382,552,888,530,817,278,737,26,624,639,885,995,491,678,390,144,352,322,201,363,437,79,281,88,802,10,817,36,35,549,262,141,570,423,785,575,141,865,420,149,241,435,731,206,776,872,452,95,872,83,351,965,797,797,521,974,374,742,505,949,319,457,454,468,701,946,933,81,853,526,840,264,471,965,864,184,17,495,801,201,801,47,148,714,879,288,808,954,469,402,169,399,757,244,446,409,797,218,993,465,837,87,348,599,486,822,625,111,19,155,668,610,840,415,700,442,294,472,601,514,718,32,482,872,128,540,807,210,960,863,661,170,673,572,888,110,968,408,372,906,776,92,848,86,644,92,358,596,34,559,771,647,251,153,557,164,106,407,606,308,835,558,319,759,483,864,905,559,522,796,738,657,451,367,345,528,910,107,785,586,276,816,489,692,690,958,201,333,937,109,850,834,617,705,131,171,486,667,280,190,162,145,559,938,754,826,725,169,260,849,486,661,405,698,193,126,471,406,365,880,414,396,12,262,155,522,481,193,627,521,577,806,841,205,771,824,349,870,932,70,215,148,881,635,472,960,863,527,368,315,869,992,543,622,178,428,897,582,49,590,912,972,86,380,551,510,318,2,282,687,373,661,324,591,487,547,359,517,521,664,686,177,664,504,800,17,463,179,289,324,384,978,192,609,731,975,830,274,436,916,359,446,462,221,947,914,62,608,363,346,822,457,90,560,536,194,527,995,432,166,381,424,56,397,342,683,596,581,335,423,13,755,355,133,460,61,653,654,638,996,337,589,669,441,852,278,306,689,387,94,785,219,968,153,235,424,933,936,978,221,67,201,181,505,77,568,337,191,666,350,337,207,925,28,371,67,690,825,723,646,427,250,356,224,272,58,421,396,289,142,716,820,385,522,865,698,854,707,59,335,870,148,605,626,502,943,170,151,294,629,886,5],2],"output":2093058},{"file":"testcase_10.txt","input":[[573,757,615,606,643,54,72,410,644,712,589,843,680,576,488,433,590,19,845,903,15,224,820,251,51,913,436,200,838,642,261,191,316,952,412,434,798,394,91,99,296,896,473,548,897,519,158,216,125,556,919,364,319,808,39,133,829,691,629,705,116,986,3,598,688,996,302,43,780,988,391,52,151,847,382,262,75,896,779,610,655,848,709,960,259,768,918,485,172,630,589,988,262,63,706,312,427,707,811,360,428,990,814,874,764,242,578,753,434,972,772,528,69,928,160,409,870,276,313,109,17,214,370,454,584,821,213,856,541,230,229,50,795,120,159,634,598,152,471,881,621,561,451,805,353,455,248,104,180,560,105,283,525,990,781,943,290,685,505,625,433,390,924,330,287,930,872,897,454,869,907,300,587,118,848,61,586,525,968,114,415,230,422,94,189,116,811,864,124,833,21,642,893,176,285,116,970,484,590,604,639,887,720,53,853,730,266,412],61],"output":63838269},{"file":"testcase_2.txt","input":[[627,423,4,786,892,42,1000,818,991,329,583,91,102,787,195,693,280,2,612,173,861,392,497,581,654,233,406,677,523,691,341,694,549,880,428,210,246,512,747,506,890,537,44,32,510,360,307,647,961,291,994,797,426,996,823,27,607,760,574,151,959,439,878,120,903,517,935,61,174,961,82,589,743,151,39,597,583,748,706,799,72,249,733,191,366,145,179,267,773,59,968,563,785,226,954,304,913,532,894,791,865,274,677,342,407,595,823,490,209,749,692,29,882,395,737,669,773,835,524,898,509,507,439,864,296,484,622,890,55,738,351,748,741,371,608,291,34,986,684,444,825,383,446,284,741,893,466,375,297,972,667,149,769,46,331,631,872,219,882,176,678,127,43,873,616,242,193,946,255,442,809,975,883,57,664,313,481,555,402,737,207,72,115,855,859,838,313,11,191,880,918,107,774,806,590,485,784,955,485,400,803,859,649,403,338,572,533,530,225,952,857,467,81,192,906,504,805,528,785,558,377,547,282,240,346,314,921,94,477,88,748,135,250,32,324,493,34,881,598,936,433,273,276,318,659,597,116,335,670,285,910,789,390,904,710,695,594,479,384,389,203,802,922,443,783,274,789,937,917,464,165,650,487,744,240,682,487,865,790,241,391,653,220,26,814,415,431,171,887,34,132,293,535,612,443,515,837,102,551,977,871,137,734,64,449,616,455,111,379,727,99,37,379,952,776,226,853,158,807,601,208,819,154,194,991,64,165,724,184,311,295,240,568,502,640,731,630,512,836,730,637,897,67,766,460,890,352,632,695,140,908,848,507,112,901,61,202,888,481,995,167,447,596,15,202,259,936,869,926,492,980,664,144,191,101,507,88,764,754,500,449,647,999,503,549,617,834,905,643,346,35,266,208,579,466,108,151,546,62,331,975,99,161,933,957,818,460,761,43,878,75,783,633,16,638,755,953,695,44,465,553,592,352,288,497,570,222,428,212,651,597,601,102,734,814,579,740,802,554,44,744,79,283,414,813,551,222,697,6,166,58,475,616,388,318,726,320,594,803,354,788,574,410,855,86,789,816,736,996,836,378,547,173,605,940,486,322,878,776,571,3,290,904,462,69,880,241,954,199,681,557,435,468,506,441,204,463,13,507,283,966,699,255,428,264,851,918,334,441,608,747,982,356,751,324,252,888,40,749,507,992,695,495,163,218,672,296,150,756,27,865,964,277,393,817,54,869,421,658,249,833,824,473,241,579,615,573,632,965,597,588,56,786,700,439,138,700,990,989,131,844,735,287,186,420,335,824,167,968,355,28,121,30,778,694,685,670,599,250,701,97,658,670,380,475,969,489,278,386,214,862,554,240,217,164,515,957,514,793,962,616,749,334,417,287,520,780,3,916,165,384,143,15,688,135,114,135,441,505,146,787,88,649,380,962,692,144,331,802,218,563,978,644,718,189,41,698,946,91,524,137,341,122,970,889,932,542,376,613,99,39,686,920,994,145,445,228,228,517,779,817,561,42,774,109,664,102,854,489,88,809,976,48,950,457,896,1,17,196,850,616,470,389,441,362,28,275,562,540,128,324,715,998,176,935,808,949,726,784,540,43,861,105,404,154],26],"output":27209754},{"file":"testcase_3.txt","input":[[467,475,522,674,745,983,118,613,315,46,2,213,256,678,629,367,781,269,280,592,729,533,460,839,748,736,282,665,601,702,953,335,863,933,143,135,179,189,50,113,419,932,116,214,884,874,359,83,727,466,512,982,713,110,750,255,117,667,493,829,964,562,571,430,255,584,834,325,994,972,142,796,639,874,14,765,621,97,8,923,35,961,582,918,646,459,340,875,737,569,450,445,88,209,317,557,78,638,226,602,970,135,417,917,629,960,681,811,903,107,130,353,810,221,285,768,622,277,517,18,149,813,446,265,128,812,299,816,882,650,252,266,526,807,358,224,184,745,256,41,199,187,493,279,325,90,519,835,363,640,858,111,681,739,557,387,984,719,629,73,228,810,270,34,323,964,467,378,839,513,605,852,661,405,708,317,682,743,453,902,773,450,443,225,270,390,636,760,862,642,305,964,950,533,136,502,914,628,195,85,656,862,777,905,246,92,867,194,523,606,233,216,454,310,957,965,549,1000,363,19,605,504,479,38,96,382,305,427,127,968,657,750,794,747,516,338,215,842,310,3,880,249,970,643,784,11,717,464,785,100,968,607,709,95,585,388,676,194,113,880,519,611,795,149,20,283,685,219,837,475,140,68,443,658,713,956,8,857,4,347,409,1,868,665,63,792,626,193,363,959,537,734,671,237,869,44,469,755,137,963,589,82,369,713,532,502,642,197,609,89,402,333,801,135,27,559,836,286,176,623,577,260,616,991,282,292,32,439,115,622,33,990,370,949,898,259,408,388,606,41,685,249,106,450,664,150,186,887,942,502,971,751,477,256,441,465,410,705,852,892,145,165,579,14,139,503,925,140,174,45,216,887,583,563,603,215,869,924,121,893,756,472,668,329,672,55,664,120,928,464,434,792,578,401,219,541,526,218,556,523,964,556,255,249,342,880,886,580,392,361,775,699,602,892,347,239,622,353,114,738,913,359,928,168,731,941,373,35,113,209,190,712,539,895,592,710,872,276,757,428,875,97,730,438,428,464,875,825,473,116,283,209,65,841,654,888,81,493,191,394,784,717,328,770,766,27,999,126,562,41,902,281,512,674,891,722,375,11,349,38,531,493,546,230,320,915,461,152,444,184,640,757,96,940,582,626,187,228,971,266,7,281,285,170,337,761,558,539,786,149,633,986,464,993,155,351,542,789,985,519,367,315,716,528,211,430,168,14,477,425,500,378,352,1000,646,53,949,473,743,330,334,418,800,102,382,140,283,552,166,853,345,313,351,817,418,962,36,536,533,465,7,51,547,241,199,924,451,731,854,148,848,821,549,965,893,391,798,196,868,879,275,395,671,564,656,498,91,955,730,74,482,431,759,43,554,934,529,17,215,479,248,583,940,365,91,297,509,422,456,899,694,760,248,451,310,273,49,136,19,797,555,96,824,501,914,936,393,851,394,878,722,506,905,492,110,453,141,588,404,317,63,68,268,811,125,650,80,785,286,942,971,577,787,258,699,67,25,851,961,860,798,842,281,141,211,553,526,347,763,331,151,995,367,886,84,583,989,409,326,953,620,379,835,240,703,697,531,550,504,947,475,969,197,69,254,333,38,724,580,3,727,653,231,510,200,985,899,949,406,421,227,245,769,895,572,165,813,654,888,168,987,944,432,720,2,506,577,642,940,231,461,906,346,542,862,614,148,68,111,260,855,904,806,473,532,289,80,133,396,445,391,700,495,95,352,904,236,377,968,782,577,948,398,257,171,65,479,405,919,729],268],"output":280469772},{"file":"testcase_4.txt","input":[[432,518,507,54,406,605,121,56,656,963,444,468,106,492,550,100,37,283,624,447,118,572,909,765,942,819,790,284,537,62,523,210,788,116,20,843,628,260,211,895,947,705,975,181,894,334,260,326,527,616,710,832,259,651,206,904,753,714,106,311,298,338,27,135,997,766,875,962,848,573,444,163,973,585,367,187,559,785,739,473,401,233,941,20,754,844,677,965,58,252,684,69,316,776,411,245,365,642,59,955,894,606,378,179,359,903,754,805,528,813,543,60,953,503,775,208,631,616,837,305,308,12,118,594,263,103,144,976,319,268,525,243,587,769,450,522,667,421,845,603,286,69,224,185,924,689,546,907,51,871,93,599,866,297,424,920,774,402,431,650,256,567,285,955,8,234,147,640,920,427,279,712,156,66,783,510,969,625,755,61,245,928,452,369,28,616,367,433,720,19,805,381,622,755,708,466,539,188,687,526,62,706,333,198,786,797,47,706,356,797,444,394,744,850,651,916,24,747,597,352,23,110,564,77,308,602,359,879,792,243,457,1000,441,821,975,582,706,509,532,235,830,528,442,533,976,29,108,337,901,25,777,467,960,510,98,360,428,987,893,330,347,631,183,31,740,329,8,340,155,525,529,553,96,871,555,670,670,812,119,97,514,557,574,200,282,843,764,869,546,1,78,5,306,487,76,262,298,205,89,728,101,618,669,904,884,255,25,846,107,867,194,234,455,28,206,324,332,745,677,596,355,532,448,749,607,211,470,93,803,383,564,674,732,490,365,436,93,564,618,705,227,429,73,840,376,701,184,13,581,505,745,347,912,782,954,297,419,581,312,391,154,341,628,139,98,436,481,79,913,154,687,539,938,992,724,122,545,48,377,522,554,299,193,435,54,682,536,436,528,816,564,630,971,778,903,316,958,229,991,196,553,622,687,142,528,301,284,621,431,442,713,725,780,729,152,59,763,598,677,589,109,864,75,691,350,847,492,58,696,693,294,65,321,597,679,109,890,359,142,165,313,596,958,405,635,268,599,932,3,281,799,322,803,23,269,261,407,638,952,133,546,286,543,259,872,176,773,818,90,272,416,767,301,609,170,263,682,379,457,217,334,570,268,121,518,36,674,804,497,843,388,310,520,30,964,205,961,599,222,432,509,198,11,881,373,762,414,436,458,7,282,201,351,599,844,867,408,846,668,219,651,652,504,370,471,651,212,197,193,859,675,490,762,988,331,845,91,19,367,703,87,784,473,259,27,578,982,406,756,165,432,933,556,262,707,359,992,819,137,873,115,761,195,523,673,611,643,681,117,478,368,868,651,402,82,644,350,871,637,176,869,945,284,69,409,97,724,111,597,78,668,713,551,526,805,581,392,56,811,606,573,95,323,464,252,814,531,32,300,694,165,808,935,58,608,525,861,974,64,573,853,419,631,792,298,691,164,916,513,557,115,975,110,640,377,228,592,792,957,24,428,514,30,567,767,630,508,213,850,401,174,627,840,18,927,989,310,817,238,670,371,888,449,270,516,178,583,789,438,603,330,814,174,933,7,907,279,902,980,74,360,293,977,20,374,946,161,660,848,251,443,806,419,283,359,393,227,334,229,311,895,188,838,503,498,141,21,685,365,870,642,954,515,268,422,17,202,60,557,640,391,650,1000,404,691,13,666,467,57,816,25,534,626,341,298,616,118,294,461,272,437,758,620,34,9,530,399,254,97,273,567,765,406,418,134,530,451,184,964,463,355,441,737,615,676,720,676,543,81,184,158,638,398,988,825,315,756,326,98,450,85,655,520,810,588,963,81,330,438,116,787,472,574,676,586,565,853,782,409,607,62,790,510,109,959,47,817,943,816,334,638,357,448,404,560,177,242,11,681,669,226,784,911,79,546,580,146,81,1000,265,74,674,874,497,188,471,399,761,439,297,147,837,581,305,391,827,308,201,991,457,590,586,364,796,676,917,945,303,219,4,776,986,407,625,339,915,953,821,146,932,233,565,746,114,966,493,161,881,523,264,716,708,715,642,379,511,428,560,613,809,23,399,573,326,934,662,826,584,536,530,432,262,161,119,946],850],"output":446761928},{"file":"testcase_5.txt","input":[[84,106,909,850,239,885,136,695,733,879,294,615,910,694,941,614,574,536,901,893,883,549,830,714,561,4,919,411,124,649,800,113,557,960,17,591,47,588,560,713,649,747,296,736,862,138,913,871,256,474,997,479,490,537,43,210,110,16,994,972,900,94,953,48,689,58,539,318,673,12,537,463,239,223,398,584,760,540,531,568,189,137,32,615,657,220,655,538,168,243,302,897,754,72,329,808,803,933,752,808,870,733,104,891,474,343,914,249,979,286,893,225,234,751,600,852,766,21,323,682,120,596,429,720,535,45,240,400,301,820,61,292,353,456,388,491,473,801,761,685,369,91,301,671,624,926,551,974,303,366,46,457,640,410,544,308,631,694,727,547,543,800,656,285,347,700,626,865,525,515,33,24,126,685,372,480,794,317,385,210,991,115,93,768,931,217,839,534,941,195,238,937,26,701,701,926,854,786,381,969,930,596,130,107,688,882,909,822,937,398,141,770,211,144,576,228,384,231,582,564,178,963,297,902,369,844,851,675,326,248,657,525,908,121,852,884,148,93,764,606,340,751,154,364,809,318,806,47,282,261,425,484,156,639,325,465,633,262,704,426,800,161,958,226,200,140,267,864,259,502,927,140,938,406,82,26,809,158,150,609,621,580,884,757,477,608,264,857,115,668,408,215,208,10,42,509,943,426,897,386,260,417,658,594,888,249,749,188,361,708,471,923,779,752,44,330,858,751,303,919,819,576,593,501,751,476,422,418,924,893,519,883,72,398,93,265,770,200,221,756,553,885,682,474,209,479,945,611,826,763,29,536,285,713,603,865,982,801,954,3,558,63,373,942,8,231,110,768,413,980,711,519,915,605,246,940,904,504,127,391,504,532,66,345,238,816,942,566,58,755,253,298,14,425,579,533,250,21,15,818,487,356,447,486,314,936,681,784,733,69,500,622,612,990,121,152,144,439,911,98,794,783,681,82,975,116,171,166,153,552,811,520,9,774,911,200,827,951,501,907,15,709,492,658,451,544,941,829,453,820,862,992,352,621,59,916,973,306,984,478,751,574,485,816,673,132,816,995,561,439,930,292,532,960,760,299,13,10,451,209,117,745,145,842,122,940,644,233,894,662,497,732,315,678,233,125,468,758,610,818,728,675,818,800,516,740,6,541,183,673,685,874,681,286,126,934,639,615,82,31,781,884,907,417,934,909,314,65,438,682,815,765,783,134,844,41,730,42,553,257,420,92,174,4,942,694,248,504,423,745,572,850,690,981,684,884,115,671,896,117,389,589,232,819,362,18,48,610,957,224,638,900,735,493,988,902,487,391,93,939,417,339,192,351,192,593,696,140,184,431,902,635,744,170,416,806,491,844,691,736,252,443,917,714,319,552,106,632,559,957,961,173,104,698,639,379,633,694,193,696,861,636,280,139,611,545,979,741,101,300,285,261,960,404,690,907,817,589,275,487,227,337,895,45,623,9,177,363,565,24,553,102,333,185,967,540,140,705,933,846,203,418,553,946,656,804,872,370,438,989,982,210,224,598,42,699,774,959,321,704,742,547,376,958,704,469,294,510,336,890,569,400,230,879,847,836,325,874,559,241,61,90,292,79,837,968,867,276,888,116,682,643,270,682,67,595,868,748,553,373,958,793,785,184,3,207,641,662,5,4,1,200,583,53,986,819,639,962,709,683,398,791,265,630,239,672,835,160,253,449,936,381,764,589,146,542,576,978,87,702,118,413,559,534,185,787,659,287,390,72,559,121,708,470,774,88,838,469,107,325,519,705,993,747,804,100,756,393,486,334,2,658,812,957,28,913,120,381,697,611,269,743,485,887,979],776],"output":416204660},{"file":"testcase_6.txt","input":[[561,834,272,329,535,811,693,397,60,553,182,684,28,480,978,585,53,608,445,402,164,29,55,981,903,171,848,668,175,843,927,386,523,823,900,369,224,666,622,192,956,534,332,136,196,702,231,776,191,827,609,508,354,738,376,49,670,602,662,997,813,33,205,488,129,882,432,860,499,17,743,430,565,704,947,451,232,493,754,935,176,413,7,629,486,685,329,173,239,368,289,995,666,456,520,119,703,705,291,805,680,274,558,418,720,25,647,275,1000,655,19,778,62,845,408,915,340,872,544,324,641,358,681,21,874,502,520,401,67,675,317,3,903,219,503,662,121,967,357,665,763,432,307,659,748,827,711,519,246,700,880,247,32,831,666,635,684,579,802,961,179,914,545,765,336,80,359,576,312,141,805,343,558,75,152,173,595,299,158,567,397,675,145,521,155,115,136,360,162,204,587,766,516,414,727,169,69,403,70,280,498,282,506,99,578,828,609,744,327,396,990,523,763,111,970,931,982,467,404,547,717,592,318,446,857,897,695,932,801,905,50,957,25,12,2,601,822,197,786,962,740,860,469,77,843,203,742,856,500,679,692,876,179,119,278,926,882,105,826,111,307,806,41,484,45,429,247,242,309,679,922,632,231,889,162,496,624,323,100,981,856,93,656,160,847,189,606,159,758,66,5,950,294,645,65,22,130,687,978,184,350,728,332,24,871,253,170,169,411,54,325,164,849,83,70,580,878,373,958,38,866,539,153,752,912,522,515,571,104,18,274,22,690,131,379,990,974,148,153,260,269,303,206,372,285,237,545,343,814,921,738,158,375,342,693,300,450,786,309,575,157,317,976,923,550,698,416,184,647,937,490,603,66,882,435,172,534,760,943,841,979,744,553,54,58,969,125,367,199,175,32,906,761,943,30,811,373,72,360,727,570,893,899,173,898,435,993,154,482,469,797,950,611,20,602,930,613,474,979,822,921,402,972,419,603,959,63,155,928,842,692,336,659,764,66,351,762,79,902,471,728,873,229,483,602,343,561,34,994,385,361,174,161,329,595,931,868,989,167,864,845,868,793,23,835,901,113,791,184,332,761,607,613,15,587,615,799,511,801,937,340,921,7,42,406,510,386,857,929,630,685,706,94,406,541,410,101,814,103,693,573,988,546,50,838,65,690,808,794,601,895,574,756,618,103,836,725,941,530,70,837,863,220,215,923,341,595,894,392,761,813,992,195,857,352,837,666,862,370,752,306,951,571,967,900,742,956,508,264,45,843,240,104,27,273,336,132,550,460,193,266,236,371,572,936,733,362,157,976,99,580,877,145,870,121,619,946,890,838,393,494,32,891,420,277,414,996,386,543,365,745,508,895,822,82,219,379,285,118,718,338,842,868,942,62,166,316,638,888,234,762,380,592,699,428,361,79,785,366,835,741,765,166,384,937,969,858,487,403,59,758,463,991,286,17,10,121,44,359,29,323,151,182,250,912,845,600,592,431,100,225,56,906,404,434,654,886,230,896,357,452,190,215,729,185,307,907,668,603,568,928,833,767,575,955,804,143,618,885,838,138,229,890,970,418,111,234,8,336,227,154,592,493,602,360,389,623,705,540,284,855,248,790,645,156,991,496,192,529,973,321,839,555,582,613,638,972,158,648,259,816,84,644,517,959,792,585,942,145,90,133,366,144,170,502,990,306,100,601,7,359,244,362,164,309,715,37,665,18,310,387,403,525,706,249,616,567,994,522,596,749,342,215,658,378,914,695,807,387,115,296,258,867,662,544,390,713,352,392,327,977,791,36,825,895,959,790,80,959,258,563,607,80,442,891,226,36,741,636,92,257,82,991,355,981,439,586,351,732,486,759,406,448,279,439,265,341,351,928,292,525,512,282,983,235,993,503,122,679,261,198,117,999,681,656,594,668,603,146,239,232,698,308,646,255,56,223,904,713,640,111,725,800,392,244,887,444,246,429,554,491,140,39,376,357,193,803,952,90,950,454,30,96,701,782,346,52,422,538,437,123,600,666,559,672,846,308,172,314,756,678,114,719,312,879,896,282,714,921,227,900,65,911,48,929,618,489,868,913,403,312,494,450,479,52,105,854,751,646,380,101,911,647,293,434,104],83],"output":86861907},{"file":"testcase_7.txt","input":[[629,544,190,980,352,204,801,41,904,655,637,174,39,546,510,238,549,321,696,724,27,753,678,22,160,33,979,510,888,209,603,935,62,152,787,634,129,262,975,205,478,372,987,295,136,705,228,313,923,334,650,140,882,898,497,321,880,673,394,249,641,674,903,912,581,645,558,488,545,61,576,576,38,846,104,588,64,991,501,157,123,812,727,875,308,116,694,934,368,234,369,533,562,925,729,515,366,108,800,373,422,470,299,146,328,221,871,397,472,724,698,70,900,329,660,268,969,786,497,924,935,53,175,887,343,822,603,685,31,741,222,615,119,959,679,775,224,296,418,591,7,6,741,552,945,672,177,765,211,436,867,783,612,480,544,63,670,310,235,457,450,462,372,323,454,37,124,652,323,541,933,815,172,775,455,998,82,873,512,628,290,76,615,857,276,667,974,160,137,975,922,133,862,238,661,877,571,208,237,392,341,821,995,297,879,317,471,253,159,709,844,611,534,564,182,769,177,278,793,753,383,64,487,755,264,989,96,49,457,448,612,679,248,847,691,859,32,346,817,369,333,246,176,846,767,220,386,15,600,741,849,816,525,593,946,240,39,256,636,293,51,178,860,646,156,129,803,191,469,705,710,394,386,823,482,93,877,27,191,955,563,575,978,581,933,399,232,678,893,811,54,691,770,807,595,977,832,60,293,655,170,472,118,187,360,451,583,50,652,696,54,439,128,852,124,158,585,616,924,808,686,389,242,334,655,786,273,498,354,303,720,163,580,205,944,160,286,54,504,68,967,303,301,781,131,198,534,145,814,510,841,597,467,742,707,87,789,250,761,199,685,516,415,782,640,852,110,138,414,604,524,635,773,957,362,469,950,332,880,765,23,501,683,59,885,330,700,170,902,106,559,324,876,691,620,914,363,189,658,956,971,556,55,88,725,649,739,277,801,202,885,892,523,775,681,629,607,684,429,304,499,750,490,877,781,309,308,809,333,63,687,248,336,729,513,454,657,16,446,144,980,959,691,618,938,783,845,301,50,309,375,976,461,963,317,932,419,510],265],"output":234989220},{"file":"testcase_8.txt","input":[[871,404,10,810,369,637,768,345,752,724,6,312,687,500,444,34,378,149,729,551,70,313,20,697,94,490,647,770,436,723,646,32,923,409,126,476,91,321,108,665,491,993,362,535,346,215,75,291,846,805,884,152,878,332,295,304,536,20,975,670,646,165,944,37,942,208,695,665,890,670,244,610,365,747,752,301,869,231,107,627,713,218,59,838,510,331,879,560,316,202,301,63,669,372,57,828,911,401,521,348,710,644,839,716,142,30,119,983,425,235,671,87,957,768,754,209,794,639,982,339,863,264,168,390,722,483,243,265,138,492,681,806,434,65,245,597,827,155,856,936,593,975,609,708,121,801,877,194,904,937,944,135,216,112,834,501,576,746,771,737,258,641,46,952,947,580,174,455,206,791,128,440,190,924,330,655,15,539,242,508,691,64,790,521,936,87,651,645,346,969,100,534,148,661,231,254,637,492,691,493,973,776,564,552,283,990,965,951,393,550,921,261,476,416,902,372,973,470,864,611,974,266,47,902,435,445,771,310,702,710,340,248,992,846,331,698,903,55,652,86,882,198,315,677,187,717,60,550,414,417,755,890,573,443,550,795,454,576,184,885,13,861,338,979,822,795,731,817,111,998,229,490,131,286,908,720,452,625,94,719,900,240,152,929,718,999,788,269,897,36,35,920,466,357,88,16,779,95,893,430,108,526,253,174,443,790,120,928,212,473,791,502,341,393,122,414,95,309,598,221,98,805,371,892,463,944,130,96,37,247,199,41,469,312,742,892,883,989,611,61,728,974,719,350,243,942,520,49,660,286,437,87,999,909,101,266,779,192,652,881,110,923,381,987,168,51,634,93,712,196,978,118,534,167,338,496,921,420,152,410,781,485,484,600,678,886,376,455,746,371,977,955,174,550,496,940,948,241,469,734,759,493,366,923,255,255,400,725,507,948,635,368,916,973,598,120,30,332,270,521,8,870,83,200,455,476,210,564,726,625,488,344,198,435,834,313,564,667,565,92,137,802,271,976,989,814,326,507,546,24,549,573,734,705,153,395,745,103,816,755,765,595,985,834,557,915,499,819,480,421,290,12,589,104,599,685,513,881,944,508,329,822,808,408,539,124,834,807,174,274,901,735,162,35,938,470,354,984,121,562,981,984,9,407,374,999,151,11,90,619,117,736,983,786,398,694,187,338,4,883,790,487,680,493,668,300,432,608,566,42,681,967,711,863,358,508,535,697,179,346,530,31,537,211,184,616,903,359,100,725,285,193,938,802,669,191,577,12,651,161,313,798,533,410,478,375,969,444,614,601,839,560,109,487,387,495,701,395,572,576,904,66,856,266,303,547,475,142,557,228,302,862,526,503,575,736,334,567,35,985,61,727,587,706,295,765,700,519,855,404,423,470,360,710,359,935,692,943,2,79,964,917,139,575,173,497,552,250,239,38,923,319,172,516,127,538,901,699,14,701,193,126,818,243,711,388,272,114,720,918,525,471,71,620,244,655,872,377,588,622,789,7,282,142,916,536,446,370,26,704,6,981,539,676,445,640,432,816,26,664,128,11,999,524,621,670,969,50,559,707,116,732,201,163,944,761,246,219,138,121,872,593,437,116,23,610,859,228,404,305,774,638,947,153,797,40,309,422,739,929,392,521,567,538,65,977,94,312,199,130,289,739,6,190,624,125,86,138,241,456,513,800,828,673,314,485,44,202,830,276,754,17,880,224,844,314,872,857,412,318,696,56,841,899,798,634,798,526,576,605,74,915,661,391,504,528,22,705,504,921,210,991,413,966,495,697,263,624,768,632,560,230,244,778,795,315,810,481,489,359,248,194,686,318,344,773,119,990,212,433,464,419,753,223,7,299,157,687,688,657,115,154,80,318,53,640,717,930,725,87,622,740,12,628,238,443,824],254],"output":265818366},{"file":"testcase_9.txt","input":[[991,602,377,570,320,173,509,300,495,549,857,114,613,111,501,145,314,271,625,62,794,740,496,11,228,498,338,433,71,501,915,84,263,502,684,47,364,410,309,772,202,922,638,456,453,947,807,573,532,931,169,5,472,579,770,104,202,815,589,888,201,418,192,134,650,430,747,832,462,773,656,424,906,170,327,984,390,437,918,526,560,805,722,825,769,250,810,838,364,950,642,676,329,252,116,138,120,858,344,444,838,893,511,301,273,186,585,930,606,926,307,427,796,308,878,936,856,206,890,220,224,918,623,533,808,745,216,874,341,400,95,446,333,937,862,871,526,178,609,937,489,170,313,826,272,72,81,463,943,694,287,3,116,531,838,154,417,502,58,378,678,441,220,825,859,154,158,925,764,631,442,602,570,411,298,307,748,68,708,706,504,798,762,103,984,401,20,936,706,485,674,960,862,439,878,511,562,557,900,678,877,102,657,658,7,288,204,783,394,2,733,367,552,432,905,482,60,807,648,548,110,927,693,499,332,713,665,358,20,783,712,110,293,989,251,852,675,627,653,297,899,265,253,916,685,207,68,996,220,614,723,382,154,20,980,730,895,473,217,186,602,887,103,405,91,502,711,834,303,197,117,776,26,966,327,989,529,358,645,296,475,401,133,347,654,748,367,358,670,2,611,803,136,740,32,851,913,930,657,164,984,790,553,85,249,282,437,221,515,519,308,107,80,207,23,857,439,713,636,833,289,828,660,632,299,810,320,135,406,470,636,463,146,581,557,127,604,988,244,460,527,800,424,556,575,193,410,688,362,690,138,737,913,914,333,849,787,204,433,88,157,725,93,342,227,733,78,183,562,612,464,966,613,175,348,846,59,854,542,287,273,990,953,813,499,706,214,783,181,858,271,230,251,364,700,338,888,574,853,921,319,561,731,721,928,983,301,466,708,548,658,963,788,33,558,29,8,854,307,965,811,347,184,705,707,175,541,649,866,476,451,46,431,277,76,616,702,961,893,366,526,854,572,164,328,224,735,73,724,938,552,62,314,612,813,576,691,182,703,967,67,364,503,483,796,282,233,22,794,783,320,327,791,154,591,22,130,77,367,966,114,296,174,792,469,770,239,130,563,96,52,122,797,14,890,774,39,680,597,768,4,742,949,518,562,563,687,955,898,816,108,560,294,497,221,666,74,669,532,997,63,234,880,326,640,559,916,978,443,797,413,596,887,876,556,768,279,496,90,531,305,670,202,276,643,339,882,224,573,67,926,208,837,509,845,150,793,891,637,598,265,626,222,312,750,199,671,818,401,104,200,323,160,346,723,217,842,212,124,54,50,559,111,516,393,141,752,394,820,994,231,196,390,100,614,791,599,250,279,238,428,551,550,471,274,696,744,603,926,298,560,648,149,396,380,614,46,879,359,465,746,393,974,588,314,419,607,164,391,349,368,456,776,440,822,214,954,837,503,415,196,188,878,202,564,90,246,637,998,74,879,847,453,596,323,183,490,108,661,853,201,602,978,736,346,367,30,826,419,260,716,589,174,392,530,313,884,869,46,237,520,248,981,564,141,260,915,887,241,698,622,547],315],"output":329634140}]
|
apply-operations-to-an-array.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[230],[910],[89],[909],[462],[597],[234],[564],[54],[566],[698],[428],[0],[499],[956],[424],[348],[325],[937],[3],[604],[477],[776],[98],[166],[54],[510],[174],[81],[929],[255],[248],[86],[766],[675],[851],[873],[34],[756],[79],[972],[316],[927],[511],[964],[591],[989],[309],[439],[913],[485],[34],[90],[481],[893],[788],[420],[421],[668],[882],[526],[461],[118],[640],[511],[699],[868],[197],[808],[308],[113],[930],[119],[95],[304],[859],[753],[316],[259],[407],[283],[789],[197],[906],[441],[159],[556],[478],[797],[223],[707],[668],[339],[487],[435],[134],[204],[97],[27],[751],[126],[164],[729],[748],[741],[101],[426],[793],[255],[350],[756],[181],[589],[936],[193],[660],[520],[290],[314],[470],[749],[645],[705],[944],[160],[832],[356],[423],[361],[294],[235],[146],[382],[906],[361],[349],[66],[610],[538],[550],[235],[891],[887],[663],[374],[477],[413],[279],[131],[366],[294],[636],[0],[723],[612],[954],[586],[924],[32],[919],[384],[219],[816],[760],[544],[255],[70],[58],[993],[797],[826],[559],[315],[327],[771],[532],[647],[639],[698],[578],[836],[2],[935],[400],[907],[482],[992],[382],[449],[549],[71],[427],[366],[932],[97],[568],[123],[659],[830],[137],[195],[348],[647],[58],[94],[481],[551],[494],[980],[622],[828],[140],[333],[937],[695],[737],[701],[865],[929],[913],[606],[855],[398],[975],[897],[573],[19],[784],[358],[562],[393],[881],[931],[669],[481],[820],[233],[732],[285],[585],[317],[571],[615],[787],[18],[368],[777],[558],[575],[286],[634],[949],[3],[40],[166],[290],[936],[467],[765],[525],[938],[972],[21],[750],[75],[943],[836],[59],[870],[119],[480],[100],[809],[849],[944],[162],[521],[975],[892],[900],[844],[754],[545],[595],[850],[282],[212],[906],[507],[385],[487],[95],[513],[812],[232],[226],[261],[37],[404],[487],[882],[107],[752],[371],[279],[399],[186],[651],[630],[886],[771],[477],[366],[152],[984],[614],[372],[51],[198],[885],[986],[789],[541],[198],[482],[943],[804],[108],[539],[331],[365],[631],[887],[330],[654],[138],[499],[123],[669],[215],[378],[399],[536],[186],[224],[891],[302],[379],[840],[803],[386],[40],[260],[196],[426],[472],[689],[431],[532],[223],[803],[702],[370],[731],[403],[784],[281],[509],[49],[690],[175],[668],[938],[271],[375],[396],[121],[809],[64],[961],[896],[782],[850],[138],[837],[465],[550],[448],[609],[214],[634],[1000],[584],[432],[411],[529],[113],[251],[79],[407],[497],[217],[627],[890],[387],[483],[936],[140],[11],[221],[509],[253],[812],[845],[152],[337],[162],[549],[507],[686],[544],[652],[956],[998],[113],[321],[767],[6],[988],[679],[867],[43],[584],[651],[97],[107],[600],[565],[785],[417],[618],[806],[922],[553],[440],[202],[451],[9],[988],[733],[907],[655],[855],[590],[946],[694],[822],[752],[343],[66],[669],[70],[229],[665],[381],[717],[828],[576],[204],[140],[609],[219],[589],[849],[441],[627],[798],[965],[617],[796],[753],[245],[669],[728],[308],[81],[164],[672],[709],[474],[269],[344],[581],[507],[817],[723],[635],[167],[842],[447],[398],[98],[446],[610],[492],[379],[651],[180],[626],[501],[930],[337],[95],[183],[506],[871],[354],[326],[437],[82],[625],[634],[956],[1],[975],[816],[656],[252],[5],[370],[773],[213],[287],[148],[770],[473],[438],[880],[922],[167],[25],[541],[737],[732],[374],[805],[206],[879],[235],[316],[289],[623],[79],[921],[372],[803],[98],[823],[148],[905],[979],[328],[175],[178],[634],[209],[476],[121],[45],[856],[158],[207],[282],[822],[842],[271],[649],[661],[259],[611],[763],[943],[21],[771],[770],[791],[279],[169],[830],[70],[25],[515],[349],[793],[865,865],[935],[167],[166],[321],[476],[495],[555],[42],[352],[414],[900],[647],[42],[403],[184],[815],[504],[685],[587],[527],[502],[908],[429],[278],[777],[341],[380],[17],[715],[780],[646],[850],[37],[698],[144],[425],[301],[233],[923],[598],[8],[689],[247],[711],[849],[474],[302],[904],[684],[203],[941],[739],[657],[626],[633],[338],[350],[193],[64],[629],[393],[219],[708],[695],[200],[864],[669],[449],[875],[149],[84],[616],[123],[446],[884],[763],[80],[687],[316],[654],[537],[806],[568],[614],[115],[445],[123],[598],[40],[491],[374],[316],[917],[545],[303],[410],[136],[277],[13],[841],[825],[7],[539],[911],[504],[822],[285],[410],[566],[173],[778],[159],[480],[784],[225],[158],[471],[308],[451],[29],[766],[3],[849],[832],[71],[833],[990],[724],[609],[664],[359],[551],[782],[406],[940],[167],[598],[220],[708],[592],[29],[583],[896],[726],[63],[86],[363],[355],[63],[899],[769],[707],[350],[614],[992],[416],[51],[659],[481],[712],[851],[743],[1000],[704],[611],[135],[623],[247],[31],[44],[279],[141],[83],[694],[746],[595],[671],[910],[329],[205],[584],[513],[172],[390],[848],[559],[701],[6],[713],[519],[471],[246],[644],[362],[95],[404],[28],[977],[552],[580],[517],[135],[466],[669],[676],[231],[662],[327],[630],[820],[521],[862],[389],[567],[397],[232],[358],[710],[61],[310],[717],[985],[717],[939],[476],[662],[30],[469],[420],[485],[643],[123],[842],[269],[124],[840],[957],[655],[155],[75],[843],[784],[255],[408],[357],[278],[309],[0],[853],[249],[306],[23],[31],[886],[349],[672],[544],[835],[294],[606],[672],[0],[256],[520],[286],[283],[418],[484],[784],[494],[785],[304],[70],[546],[443],[739],[664],[527],[575],[329],[519],[620],[782],[765],[794],[812],[36],[538],[431],[287],[17],[214],[919],[568],[334],[220],[816],[110],[500],[113],[812],[208],[979],[167],[898],[475],[414],[343],[735],[952],[374],[189],[856],[724],[534],[139],[34],[258],[706],[50],[883],[2],[742],[84],[929],[818],[373],[978],[724],[353],[5],[217],[708],[756],[86],[155],[193],[147],[249],[748],[179],[704],[276],[437],[384],[482],[920],[212],[195],[73],[848],[160],[140],[227],[61],[725],[56],[953],[680],[562],[948],[540],[781],[988],[454],[536],[723],[395],[939],[212],[83],[468],[220],[379],[529],[896],[922],[375],[722],[299],0],"output":[[230],[910],[89],[909],[462],[597],[234],[564],[54],[566],[698],[428],[0],[499],[956],[424],[348],[325],[937],[3],[604],[477],[776],[98],[166],[54],[510],[174],[81],[929],[255],[248],[86],[766],[675],[851],[873],[34],[756],[79],[972],[316],[927],[511],[964],[591],[989],[309],[439],[913],[485],[34],[90],[481],[893],[788],[420],[421],[668],[882],[526],[461],[118],[640],[511],[699],[868],[197],[808],[308],[113],[930],[119],[95],[304],[859],[753],[316],[259],[407],[283],[789],[197],[906],[441],[159],[556],[478],[797],[223],[707],[668],[339],[487],[435],[134],[204],[97],[27],[751],[126],[164],[729],[748],[741],[101],[426],[793],[255],[350],[756],[181],[589],[936],[193],[660],[520],[290],[314],[470],[749],[645],[705],[944],[160],[832],[356],[423],[361],[294],[235],[146],[382],[906],[361],[349],[66],[610],[538],[550],[235],[891],[887],[663],[374],[477],[413],[279],[131],[366],[294],[636],[0],[723],[612],[954],[586],[924],[32],[919],[384],[219],[816],[760],[544],[255],[70],[58],[993],[797],[826],[559],[315],[327],[771],[532],[647],[639],[698],[578],[836],[2],[935],[400],[907],[482],[992],[382],[449],[549],[71],[427],[366],[932],[97],[568],[123],[659],[830],[137],[195],[348],[647],[58],[94],[481],[551],[494],[980],[622],[828],[140],[333],[937],[695],[737],[701],[865],[929],[913],[606],[855],[398],[975],[897],[573],[19],[784],[358],[562],[393],[881],[931],[669],[481],[820],[233],[732],[285],[585],[317],[571],[615],[787],[18],[368],[777],[558],[575],[286],[634],[949],[3],[40],[166],[290],[936],[467],[765],[525],[938],[972],[21],[750],[75],[943],[836],[59],[870],[119],[480],[100],[809],[849],[944],[162],[521],[975],[892],[900],[844],[754],[545],[595],[850],[282],[212],[906],[507],[385],[487],[95],[513],[812],[232],[226],[261],[37],[404],[487],[882],[107],[752],[371],[279],[399],[186],[651],[630],[886],[771],[477],[366],[152],[984],[614],[372],[51],[198],[885],[986],[789],[541],[198],[482],[943],[804],[108],[539],[331],[365],[631],[887],[330],[654],[138],[499],[123],[669],[215],[378],[399],[536],[186],[224],[891],[302],[379],[840],[803],[386],[40],[260],[196],[426],[472],[689],[431],[532],[223],[803],[702],[370],[731],[403],[784],[281],[509],[49],[690],[175],[668],[938],[271],[375],[396],[121],[809],[64],[961],[896],[782],[850],[138],[837],[465],[550],[448],[609],[214],[634],[1000],[584],[432],[411],[529],[113],[251],[79],[407],[497],[217],[627],[890],[387],[483],[936],[140],[11],[221],[509],[253],[812],[845],[152],[337],[162],[549],[507],[686],[544],[652],[956],[998],[113],[321],[767],[6],[988],[679],[867],[43],[584],[651],[97],[107],[600],[565],[785],[417],[618],[806],[922],[553],[440],[202],[451],[9],[988],[733],[907],[655],[855],[590],[946],[694],[822],[752],[343],[66],[669],[70],[229],[665],[381],[717],[828],[576],[204],[140],[609],[219],[589],[849],[441],[627],[798],[965],[617],[796],[753],[245],[669],[728],[308],[81],[164],[672],[709],[474],[269],[344],[581],[507],[817],[723],[635],[167],[842],[447],[398],[98],[446],[610],[492],[379],[651],[180],[626],[501],[930],[337],[95],[183],[506],[871],[354],[326],[437],[82],[625],[634],[956],[1],[975],[816],[656],[252],[5],[370],[773],[213],[287],[148],[770],[473],[438],[880],[922],[167],[25],[541],[737],[732],[374],[805],[206],[879],[235],[316],[289],[623],[79],[921],[372],[803],[98],[823],[148],[905],[979],[328],[175],[178],[634],[209],[476],[121],[45],[856],[158],[207],[282],[822],[842],[271],[649],[661],[259],[611],[763],[943],[21],[771],[770],[791],[279],[169],[830],[70],[25],[515],[349],[793],[865,865],[935],[167],[166],[321],[476],[495],[555],[42],[352],[414],[900],[647],[42],[403],[184],[815],[504],[685],[587],[527],[502],[908],[429],[278],[777],[341],[380],[17],[715],[780],[646],[850],[37],[698],[144],[425],[301],[233],[923],[598],[8],[689],[247],[711],[849],[474],[302],[904],[684],[203],[941],[739],[657],[626],[633],[338],[350],[193],[64],[629],[393],[219],[708],[695],[200],[864],[669],[449],[875],[149],[84],[616],[123],[446],[884],[763],[80],[687],[316],[654],[537],[806],[568],[614],[115],[445],[123],[598],[40],[491],[374],[316],[917],[545],[303],[410],[136],[277],[13],[841],[825],[7],[539],[911],[504],[822],[285],[410],[566],[173],[778],[159],[480],[784],[225],[158],[471],[308],[451],[29],[766],[3],[849],[832],[71],[833],[990],[724],[609],[664],[359],[551],[782],[406],[940],[167],[598],[220],[708],[592],[29],[583],[896],[726],[63],[86],[363],[355],[63],[899],[769],[707],[350],[614],[992],[416],[51],[659],[481],[712],[851],[743],[1000],[704],[611],[135],[623],[247],[31],[44],[279],[141],[83],[694],[746],[595],[671],[910],[329],[205],[584],[513],[172],[390],[848],[559],[701],[6],[713],[519],[471],[246],[644],[362],[95],[404],[28],[977],[552],[580],[517],[135],[466],[669],[676],[231],[662],[327],[630],[820],[521],[862],[389],[567],[397],[232],[358],[710],[61],[310],[717],[985],[717],[939],[476],[662],[30],[469],[420],[485],[643],[123],[842],[269],[124],[840],[957],[655],[155],[75],[843],[784],[255],[408],[357],[278],[309],[0],[853],[249],[306],[23],[31],[886],[349],[672],[544],[835],[294],[606],[672],[0],[256],[520],[286],[283],[418],[484],[784],[494],[785],[304],[70],[546],[443],[739],[664],[527],[575],[329],[519],[620],[782],[765],[794],[812],[36],[538],[431],[287],[17],[214],[919],[568],[334],[220],[816],[110],[500],[113],[812],[208],[979],[167],[898],[475],[414],[343],[735],[952],[374],[189],[856],[724],[534],[139],[34],[258],[706],[50],[883],[2],[742],[84],[929],[818],[373],[978],[724],[353],[5],[217],[708],[756],[86],[155],[193],[147],[249],[748],[179],[704],[276],[437],[384],[482],[920],[212],[195],[73],[848],[160],[140],[227],[61],[725],[56],[953],[680],[562],[948],[540],[781],[988],[454],[536],[723],[395],[939],[212],[83],[468],[220],[379],[529],[896],[922],[375],[722],[299],0]},{"file":"testcase_10.txt","input":[[800],[130],[580],[477],[863],[881],[872],[402],[932],[338],[641],[623],[12],[52],[817],[298],[239],[667],[934],[814],[142],[551],[636],[438],[857],[463],[737],[224],[743],[864],[243],[956],[687],[677],[760],[716],[446],[125],[963],[298],[215],[747],[719],[332],[183],[379],[655],[188],[844],[372],[986],[767],[761],[675],[910],[731],[437],[287],[877],[761],[508],[70],[712],[566],[453],[620],[784],[171],[272],[562],[509],[57],[178],[849],[309],[681],[380],[703],[909],[150],[64],[871],[819],[812],[259],[659],[499],[69],[407],[136],[362],[265],[473],[780],[769],[564],[134],[319],[825],[775],[296],[2],[328],[320],[958],[841],[547],[383],[981],[648],[836],[978],[903],[742],[982],[297],[635],[797],[496],[446],[522],[445],[999],[752],[499],[255],[473],[720],[918],[999],[79],[608],[911],[851],[650],[196],[330],[533],[374],[421],[763],[542],[370],[80],[379],[511],[644],[192],[151],[13],[192],[474],[209],[894],[269],[33],[870],[467],[935],[846],[249],[150],[109],[137],[446],[655],[984],[910],[894],[38],[573],[273],[38],[150],[156],[275],[874],[960],[375],[78],[355],[922],[903],[60],[843],[355],[660],[387],[660],[364],[975],[131],[721],[342],[506],[278],[247],[522],[394],[500],[237],[121],[683],[198],[183],[987],[982],[481],[780],[65],[38],[810],[522],[37],[923],[960],[690],[873],[111],[722],[900],[241],[365],[355],[514],[548],[615],[346],[369],[926],[585],[326],[321],[406],[115],[728],[437],[596],[542],[168],[827],[14],[616],[471],[401],[502],[513],[694],[277],[170],[822],[165],[214],[659],[705],[268],[229],[10],[442],[270],[677],[186],[254],[452],[432],[783],[942],[998],[254],[804],[944],[625],[833],[188],[778],[958],[902],[986],[418],[814,814],[498],[986],[370],[804],[331],[90],[582],[867],[675],[580],[226],[857],[696],[401],[843],[475],[584],[953],[924],[34],[894],[504],[671],[520],[119],[872],[456],[792],[253],[657],[269],[921],[640],[993],[417],[849],[549],[93],[520],[338],[416],[912],[67],[194],[219],[629],[621],[3],[745],[952],[499],[866],[707],[884],[345],[86],[790],[173],[555],[718],[824],[851],[328],[784],[225],[555],[863],[114],[618],[714],[637],[505],[824],[419],[912],[567],[900],[439],[760],[476],[644],[362],[512],[21],[718],[264],[447],[592],[385],[153],[170],[110],[217],[321],[843],[404],[521],[658],[324],[381],[452],[848],[764],[294],[792],[417],[264],[502],[385],[289],[972],[1000],[233],[145],[942],[949],[822],[868],[534],[265],[853],[844],[333],[120],[309],[372],[336],[524],[417],[310],[930],[933],[391],[740],[87],[514],[558],[551],[618],[323],[821],[207],[280],[219],[755],[363],[283],[690],[904],[923],[10],[225],[937],[879],[238],[497],[638],[962],[723],[202],[424],[879],[119],[1],[440],[813],[72],[437],[152],[735],[36],[3],[391],[289],[739],[675],[105],[131],[693],[391],[654],[211],[315],[838],[64],[558],[834],[288],[712],[593],[636],[223],[861],[582],[133],[930],[259],[854],[502],[600],[823],[118],[532],[578],[37],[455],[580],[258],[509],[62],[619],[644],[863],[562],[102],[552],[708],[536],[613],[868],[913],[734],[329],[51],[386],[697],[824],[975],[350],[685],[87],[549],[231],[454],[765],[995],[426],[736],[449],[218],[22],[239],[280],[518],[911],[568],[532],[844],[587],[343],[116],[245],[264],[576],[652],[397],[850],[409],[906],[786],[37],[662],[549],[652],[515],[722],[821],[843],[393],[238],[936],[552],[328],[256],[906],[121],[593],[828],[80],[53],[653],[620],[903],[308],[483],[534],[584],[480],[902],[414],[627],[804],[275],[932],[193],[650],[596],[765],[891],[331],[976],[508],[323],[934],[433],[789],[466],[952],[540],[659],[440],[461],[627],[105],[19],[622],[878],[245],[383],[636],[279],[444],[586],[924],[812],[387],[83],[349],[286],[992],[805],[927],[707],[531],[702],[454],[50],[858],[443],[975],[523],[524],[982],[398],[208],[421],[364],[626],[36],[915],[324],[927],[765],[599],[953],[33],[689],[9],[369],[189],[684],[30],[965],[2],[514],[897],[241],[130],[747],[722],[132],[935],[138],[74],[110],[980],[945],[684],[805],[151],[713],[701],[145],[786],[383],[183],[455],[658],[503],[803],[94],[943],[805],[485],[751],[22],[602],[72],[835],[960],[135],[50],[179],[67],[182],[198],[680],[671],[271],[801],[877],[363],[966],[586],[547],[340],[761],[989],[767],[675],[218],[294],[101],[408],[455],[54],[800],[107],[278],[425],[3],[184],[93],[219],[935],[901],[337],[670],[128],[698],[565],[750],[156],[945],[993],[81],[497],[772],[902],[315],[531],[505],[326],[645],[404],[429],[201],[30],[270],[120],[918],[322],[453],[194],[862],[577],[273],[642],[811],[767],[231],[770],[988],[646],[650],[933],[443],[68],0],"output":[[800],[130],[580],[477],[863],[881],[872],[402],[932],[338],[641],[623],[12],[52],[817],[298],[239],[667],[934],[814],[142],[551],[636],[438],[857],[463],[737],[224],[743],[864],[243],[956],[687],[677],[760],[716],[446],[125],[963],[298],[215],[747],[719],[332],[183],[379],[655],[188],[844],[372],[986],[767],[761],[675],[910],[731],[437],[287],[877],[761],[508],[70],[712],[566],[453],[620],[784],[171],[272],[562],[509],[57],[178],[849],[309],[681],[380],[703],[909],[150],[64],[871],[819],[812],[259],[659],[499],[69],[407],[136],[362],[265],[473],[780],[769],[564],[134],[319],[825],[775],[296],[2],[328],[320],[958],[841],[547],[383],[981],[648],[836],[978],[903],[742],[982],[297],[635],[797],[496],[446],[522],[445],[999],[752],[499],[255],[473],[720],[918],[999],[79],[608],[911],[851],[650],[196],[330],[533],[374],[421],[763],[542],[370],[80],[379],[511],[644],[192],[151],[13],[192],[474],[209],[894],[269],[33],[870],[467],[935],[846],[249],[150],[109],[137],[446],[655],[984],[910],[894],[38],[573],[273],[38],[150],[156],[275],[874],[960],[375],[78],[355],[922],[903],[60],[843],[355],[660],[387],[660],[364],[975],[131],[721],[342],[506],[278],[247],[522],[394],[500],[237],[121],[683],[198],[183],[987],[982],[481],[780],[65],[38],[810],[522],[37],[923],[960],[690],[873],[111],[722],[900],[241],[365],[355],[514],[548],[615],[346],[369],[926],[585],[326],[321],[406],[115],[728],[437],[596],[542],[168],[827],[14],[616],[471],[401],[502],[513],[694],[277],[170],[822],[165],[214],[659],[705],[268],[229],[10],[442],[270],[677],[186],[254],[452],[432],[783],[942],[998],[254],[804],[944],[625],[833],[188],[778],[958],[902],[986],[418],[814,814],[498],[986],[370],[804],[331],[90],[582],[867],[675],[580],[226],[857],[696],[401],[843],[475],[584],[953],[924],[34],[894],[504],[671],[520],[119],[872],[456],[792],[253],[657],[269],[921],[640],[993],[417],[849],[549],[93],[520],[338],[416],[912],[67],[194],[219],[629],[621],[3],[745],[952],[499],[866],[707],[884],[345],[86],[790],[173],[555],[718],[824],[851],[328],[784],[225],[555],[863],[114],[618],[714],[637],[505],[824],[419],[912],[567],[900],[439],[760],[476],[644],[362],[512],[21],[718],[264],[447],[592],[385],[153],[170],[110],[217],[321],[843],[404],[521],[658],[324],[381],[452],[848],[764],[294],[792],[417],[264],[502],[385],[289],[972],[1000],[233],[145],[942],[949],[822],[868],[534],[265],[853],[844],[333],[120],[309],[372],[336],[524],[417],[310],[930],[933],[391],[740],[87],[514],[558],[551],[618],[323],[821],[207],[280],[219],[755],[363],[283],[690],[904],[923],[10],[225],[937],[879],[238],[497],[638],[962],[723],[202],[424],[879],[119],[1],[440],[813],[72],[437],[152],[735],[36],[3],[391],[289],[739],[675],[105],[131],[693],[391],[654],[211],[315],[838],[64],[558],[834],[288],[712],[593],[636],[223],[861],[582],[133],[930],[259],[854],[502],[600],[823],[118],[532],[578],[37],[455],[580],[258],[509],[62],[619],[644],[863],[562],[102],[552],[708],[536],[613],[868],[913],[734],[329],[51],[386],[697],[824],[975],[350],[685],[87],[549],[231],[454],[765],[995],[426],[736],[449],[218],[22],[239],[280],[518],[911],[568],[532],[844],[587],[343],[116],[245],[264],[576],[652],[397],[850],[409],[906],[786],[37],[662],[549],[652],[515],[722],[821],[843],[393],[238],[936],[552],[328],[256],[906],[121],[593],[828],[80],[53],[653],[620],[903],[308],[483],[534],[584],[480],[902],[414],[627],[804],[275],[932],[193],[650],[596],[765],[891],[331],[976],[508],[323],[934],[433],[789],[466],[952],[540],[659],[440],[461],[627],[105],[19],[622],[878],[245],[383],[636],[279],[444],[586],[924],[812],[387],[83],[349],[286],[992],[805],[927],[707],[531],[702],[454],[50],[858],[443],[975],[523],[524],[982],[398],[208],[421],[364],[626],[36],[915],[324],[927],[765],[599],[953],[33],[689],[9],[369],[189],[684],[30],[965],[2],[514],[897],[241],[130],[747],[722],[132],[935],[138],[74],[110],[980],[945],[684],[805],[151],[713],[701],[145],[786],[383],[183],[455],[658],[503],[803],[94],[943],[805],[485],[751],[22],[602],[72],[835],[960],[135],[50],[179],[67],[182],[198],[680],[671],[271],[801],[877],[363],[966],[586],[547],[340],[761],[989],[767],[675],[218],[294],[101],[408],[455],[54],[800],[107],[278],[425],[3],[184],[93],[219],[935],[901],[337],[670],[128],[698],[565],[750],[156],[945],[993],[81],[497],[772],[902],[315],[531],[505],[326],[645],[404],[429],[201],[30],[270],[120],[918],[322],[453],[194],[862],[577],[273],[642],[811],[767],[231],[770],[988],[646],[650],[933],[443],[68],0]},{"file":"testcase_2.txt","input":[[594],[124],[22],[878],[306],[661],[302],[368],[310],[979],[25],[242],[729],[800],[668],[296],[576],[579],[98],[21],[238],[134],[4],[659],[95],[536],[801],[952],[614],[889],[418],[664],[435],[610],[38],[527],[662],[263],[233],[983],[595],[373],[558],[131],[639],[223],[75],[467],[701],[273],[645],[986],[626],[741],[52],[335],[540],[267],[703],[198],[182],[277],[144],[282],[983],[974],[218],[37],[616],[76],[256],[769],[271],[190],[331],[594],[252],[197],[716],[992],[401],[473],[33],[791],[201],[558],[186],[348],[614],[498],[458],[230],[553],[780],[225],[770],[149],[612],[780],[212],[92],[587],[889],[506],[221],[222],[990],[27],[223],[745],[714],[323],[753],[219],[258],[270],[435],[564],[939],[640],[55],[743],[330],[937],[470],[182],[151],[390],[193],[995],[988],[766],[527],[686],[334],[197],[550],[219],[837],[855],[310],[315],[606],[504],[420],[600],[502],[430],[679],[989],[882],[335],[619],[727],[725],[847],[58],[985],[776],[462],[130],[19],[813],[513],[352],[668],[896],[231],[270],[986],[448],[634],[887],[103],[46],[993],[269],[393],[298],[379],[990],[984],[987],[834],[22],[286],[181],[149],[19],[250],[939],[221],[249],[137],[169],[791],[304],[394],[576],[221],[368],[499],[742],[564],[545],[437],[768],[505],[973],[92],[673],[366],[129],[742],[255],[705],[333],[546],[798],[962],[794],[758],[929],[944],[573],[791],[189],[444],[965],[917],[925],[68],[919],[548],[781],[941],[463],[384],[938],[541],[903],[502],[650],[954],[322],[566],[390],[935],[494],[447],[450],[491],[598],[909],[564],[744],[24],[962],[522],[34],[281],[376],[538],[508],[224],[37],[458],[484],[892],[802],[333],[260],[320],[653],[948],[604],[870],[567],[451],[618],[541],[586],[461],[171],[973],[932],[804],[349],[160],[4],[73],[543],[182],[544],[816],[549],[643],[618],[20],[616],[882],[50],[186],[149],[379],[295],[677],[628],[786],[432],[580],[413],[405],[406],[683],[497],[734],[336],[118],[501],[66],[395],[697],[590],[210],[686],[443],[797],[427],[518],[855],[733],[272],[424],[244],[326],[53],[844],[469],[478],[264],[874],[618],[503],[682],[105],[181],[185],[94],[759],[803],[851],[71],[687],[618],[600],[5],[995],[573],[975],[436],[557],[405],[207],[3],[968],[525],[156],[182],[858],[627],[417],[881],[741],[556],[939],[667],[25],[277],[971],[150],[32],[368],[300],[696],[421],[849],[296],[163],[981,981],[544],[759],[710],[134],[814],[871],[966],[938],[600],[721],[351],[978],[481],[146],[356],[517],[886],[149],[102],[694],[131],[615],[81],[587],[133],[708],[852],[801],[798],[149],[776],[660],[168],[245],[995],[277],[553],[981],[803],[341],[225],[539],[198],[748],[162],[945],[97],[346],[425],[130],[163],[100],[425],[916],[937],[90],[202],[689],[536],[718],[555],[201],[976],[152],[782],[421],[761],[695],[356],[897],[38],[268],[411],[578],[897],[998],[20],[66],[832],[261],[253],[755],[495],[831],[610],[91],[491],[804],[831],[479],[42],[630],[285],[121],[640],[782],[543],[602],[17],[994],[69],[455],[313],[937],[98],[920],[203],[209],0],"output":[[594],[124],[22],[878],[306],[661],[302],[368],[310],[979],[25],[242],[729],[800],[668],[296],[576],[579],[98],[21],[238],[134],[4],[659],[95],[536],[801],[952],[614],[889],[418],[664],[435],[610],[38],[527],[662],[263],[233],[983],[595],[373],[558],[131],[639],[223],[75],[467],[701],[273],[645],[986],[626],[741],[52],[335],[540],[267],[703],[198],[182],[277],[144],[282],[983],[974],[218],[37],[616],[76],[256],[769],[271],[190],[331],[594],[252],[197],[716],[992],[401],[473],[33],[791],[201],[558],[186],[348],[614],[498],[458],[230],[553],[780],[225],[770],[149],[612],[780],[212],[92],[587],[889],[506],[221],[222],[990],[27],[223],[745],[714],[323],[753],[219],[258],[270],[435],[564],[939],[640],[55],[743],[330],[937],[470],[182],[151],[390],[193],[995],[988],[766],[527],[686],[334],[197],[550],[219],[837],[855],[310],[315],[606],[504],[420],[600],[502],[430],[679],[989],[882],[335],[619],[727],[725],[847],[58],[985],[776],[462],[130],[19],[813],[513],[352],[668],[896],[231],[270],[986],[448],[634],[887],[103],[46],[993],[269],[393],[298],[379],[990],[984],[987],[834],[22],[286],[181],[149],[19],[250],[939],[221],[249],[137],[169],[791],[304],[394],[576],[221],[368],[499],[742],[564],[545],[437],[768],[505],[973],[92],[673],[366],[129],[742],[255],[705],[333],[546],[798],[962],[794],[758],[929],[944],[573],[791],[189],[444],[965],[917],[925],[68],[919],[548],[781],[941],[463],[384],[938],[541],[903],[502],[650],[954],[322],[566],[390],[935],[494],[447],[450],[491],[598],[909],[564],[744],[24],[962],[522],[34],[281],[376],[538],[508],[224],[37],[458],[484],[892],[802],[333],[260],[320],[653],[948],[604],[870],[567],[451],[618],[541],[586],[461],[171],[973],[932],[804],[349],[160],[4],[73],[543],[182],[544],[816],[549],[643],[618],[20],[616],[882],[50],[186],[149],[379],[295],[677],[628],[786],[432],[580],[413],[405],[406],[683],[497],[734],[336],[118],[501],[66],[395],[697],[590],[210],[686],[443],[797],[427],[518],[855],[733],[272],[424],[244],[326],[53],[844],[469],[478],[264],[874],[618],[503],[682],[105],[181],[185],[94],[759],[803],[851],[71],[687],[618],[600],[5],[995],[573],[975],[436],[557],[405],[207],[3],[968],[525],[156],[182],[858],[627],[417],[881],[741],[556],[939],[667],[25],[277],[971],[150],[32],[368],[300],[696],[421],[849],[296],[163],[981,981],[544],[759],[710],[134],[814],[871],[966],[938],[600],[721],[351],[978],[481],[146],[356],[517],[886],[149],[102],[694],[131],[615],[81],[587],[133],[708],[852],[801],[798],[149],[776],[660],[168],[245],[995],[277],[553],[981],[803],[341],[225],[539],[198],[748],[162],[945],[97],[346],[425],[130],[163],[100],[425],[916],[937],[90],[202],[689],[536],[718],[555],[201],[976],[152],[782],[421],[761],[695],[356],[897],[38],[268],[411],[578],[897],[998],[20],[66],[832],[261],[253],[755],[495],[831],[610],[91],[491],[804],[831],[479],[42],[630],[285],[121],[640],[782],[543],[602],[17],[994],[69],[455],[313],[937],[98],[920],[203],[209],0]},{"file":"testcase_3.txt","input":[[988],[802],[856],[18],[968],[618],[701],[871],[875],[937],[898],[967],[90],[770],[319],[25],[35],[59],[303],[736],[500],[689],[15],[894],[16],[408],[604],[71],[203],[240],[12],[170],[364],[867],[60],[295],[366],[175],[9],[133],[384],[53],[641],[80],[167],[867],[678],[156],[237],[656],[90],[207],[702],[674],[735],[22],[478]],"output":[[988],[802],[856],[18],[968],[618],[701],[871],[875],[937],[898],[967],[90],[770],[319],[25],[35],[59],[303],[736],[500],[689],[15],[894],[16],[408],[604],[71],[203],[240],[12],[170],[364],[867],[60],[295],[366],[175],[9],[133],[384],[53],[641],[80],[167],[867],[678],[156],[237],[656],[90],[207],[702],[674],[735],[22],[478]]},{"file":"testcase_4.txt","input":[[649],[291],[575],[926],[544],[217],[197],[635],[754],[171],[753],[336],[330],[374],[716],[464],[103],[635],[227],[680],[762],[194],[484],[182],[142],[894],[835],[960],[501],[136],[797],[217],[189],[567],[160],[907],[816],[210],[744],[546],[82],[412],[672],[369],[831],[982],[608],[349],[282],[179],[795],[275],[362],[998],[348],[458],[754],[561],[667],[339],[136],[355],[48],[169],[799],[679],[786],[190],[311],[677],[109],[269],[398],[661],[923],[809],[893],[954],[99],[427],[611],[189],[808],[630],[94],[262],[752],[489],[915],[34],[417],[299],[864],[155],[524],[528],[347],[368],[761],[813],[337],[908],[551],[159],[601],[549],[747],[302],[290],[794],[8],[375],[593],[334],[314],[416],[611],[389],[254],[578],[273],[71],[746],[933],[443],[686],[835],[823],[873],[964],[831],[768],[304],[625],[342],[218],[964],[659],[424],[380],[195],[592],[693],[276]],"output":[[649],[291],[575],[926],[544],[217],[197],[635],[754],[171],[753],[336],[330],[374],[716],[464],[103],[635],[227],[680],[762],[194],[484],[182],[142],[894],[835],[960],[501],[136],[797],[217],[189],[567],[160],[907],[816],[210],[744],[546],[82],[412],[672],[369],[831],[982],[608],[349],[282],[179],[795],[275],[362],[998],[348],[458],[754],[561],[667],[339],[136],[355],[48],[169],[799],[679],[786],[190],[311],[677],[109],[269],[398],[661],[923],[809],[893],[954],[99],[427],[611],[189],[808],[630],[94],[262],[752],[489],[915],[34],[417],[299],[864],[155],[524],[528],[347],[368],[761],[813],[337],[908],[551],[159],[601],[549],[747],[302],[290],[794],[8],[375],[593],[334],[314],[416],[611],[389],[254],[578],[273],[71],[746],[933],[443],[686],[835],[823],[873],[964],[831],[768],[304],[625],[342],[218],[964],[659],[424],[380],[195],[592],[693],[276]]},{"file":"testcase_5.txt","input":[[813],[701],[965],[43],[260],[577],[813],[490],[804],[159],[529],[767],[312],[227],[159],[684],[585],[790],[46],[103],[963],[751],[923],[863],[76],[621],[17],[653],[239],[752],[964],[162],[852],[639],[189],[387],[486],[43],[616],[387],[513],[243],[215],[197],[748],[643],[119],[852],[582],[902],[387],[75],[183],[161],[624],[321],[140],[418],[218],[291],[22],[137],[702],[170],[190],[444],[59],[260],[982],[413],[264],[821],[475],[485],[573],[839],[271],[170],[681],[752],[862],[85],[870],[126],[830],[481],[678],[149],[89],[632],[398],[716],[170],[396],[615],[504],[670],[553],[774],[359],[569],[516],[532],[42],[363],[254],[562],[250],[672],[220],[814],[879],[333],[162],[756],[879],[538],[444],[791],[926],[941],[111],[4],[715],[17],[932],[772],[193],[736],[590],[723],[353],[965],[293],[37],[749],[321],[714],[562],[794],[787],[748],[346],[816],[954],[744],[103],[564],[877],[487],[219],[645],[132],[387],[47],[31],[153],[820],[279],[668],[263],[236],[881],[745],[682],[612],[577],[649],[105],[963],[656],[568],[809],[851],[459],[958],[769],[210],[985],[938],[373],[868],[31],[598],[722],[433],[343],[243],[117],[593],[144],[748],[180],[333],[489],[941],[464],[526],[663],[299],[456],[644],[762],[373],[663],[246],[179],[597],[289],[265],[853],[805],[372],[32],[266],[889],[19],[558],[250],[952],[893],[78],[658],[742],[558],[731],[739],[880],[768],[43],[7],[489],[274],[467],[624],[186],[645],[983],[940],[576],[721],[513],[6],[33],[228],[891],[326],[819],[55],[98],[974],[946],[449],[488],[484],[595],[942],[384],[251],[56],[441],[917],[935],[265],[660],[832],[414],[667],[36],[890],[428],[244],[0],[991],[286],[716],[353],[928],[307],[934],[673],[878],[593],[880],[368],[563],[143],[435],[736],[222],[37],[595],[421],[468],[106],[507],[214],[401],[462],[209],[710],[609],[449],[99],[460],[221],[475],[962],[283],[542],[974],[416],[498],[238],[657],[42],[714],[255],[214],[965],[14],[252],[118],[750],[95],[426],[827],[267],[995],[26],[354],[516],[152],[833],[258],[408],[628],[34],[299],[322],[853],[578],[541],[201],[240],[73],[952],[300],[336],[823],[744],[812],[666],[745],[859],[769],[361],[476],[262],[634],[896],[730],[657],[62],[490],[155],[804],[532],[548],[813],[703],[983],[315],[260],[56],[521],[49],[602],[631],[763],[313],[332],[863],[788],[921],[359],[946],[721],[693],[135],[209],[558],[638],[451],[625],[736],[979],[821],[653],[909],[253],[654],[645],[809],[387],[400],[297],[225],[842],[700],[380],[812],[667],[923],[439],[223],[818],[338],[376],[73],[744],[761],[444],[682],[824],[301],[122],[981],[527],[239],[479],[666],[106],[641],[281],[754],[420],[710],[950],[947],[117],[902],[562],[422],[539],[819],[214],[654],[814],[532],[177],[745],[882],[752],[247],[922],[915],[311],[5],[764],[840],[581],[365],[612],[159],[247],[95],[525],[632],[470],[365],[727],[680],[333],[250],[960],[109],[543],[756],[147],[365],[49],[543],[442],[964],[793],[17],[611],[774],[454],[505],[943],[81],[727],[595],[653],[946],[843],[972],[543],[691],[485],[508],[725],[967],[584],[693],[127],[190],[618],[106],[926],[334],[982],[324],[431],[336],[133],[798],[328],[531],[323],[711],[472],[298],[748],[415],[497],[380],[618],[602],[985],[199],[580],[132],[202],[898],[361],[463],[167],[246],[2],[56],[467],[804],[314],[834],[278],[524],[720],[755],[923],[722],[742],[241],[752],[372],[153],[752],[0],[358],[556],[158],[697],[868],[518],[496],[603],[811],[957],[648],[839],[741],[632],[945],[775],[442],[285],[64],[114],[834],[839],[240],[197],[264],[391,391],[641],[467],[532],[865],[607],[483],[346],[420],[374],[81],[652],[438],[93],[583],[801],[65],[827],[509],[375],[312],[874],[106],[467],[526],[66],[11],[979],[298],[804],[64],[509],[459],[28],[874],[427],[825],[524],[625],[576],[150],[654],[684],[50],[342],[255],[215],[977],[509],[289],[877],[848],[703],[143],[601],[43],[293],[752],[280],[784],[991],[306],[72],[93],[837],[272],[549],[483],[990],[950],[940],[339],[118],[87],[152],[55],[874],[77],[123],[119],[838],[674],[303],[557],[499],[460],[710],[659],[876],[790],[432],[9],[267],[103],[455],[197],[369],[306],[908],[195],[430],[781],[873],[685],[158],[641],[456],[527],[872],[264],[502],[184],[314],[406],[378],[932],[714],[8],[698],[617],[237],[523],[398],[490],[86],[403],[742],[896],[469],[278],[518],[111],[589],[801],[86],[288],[836],[255],[970],[680],[813],[961],[474],[767],[4],[304],[54],[396],[618],[788],[604],[937],[840],[766],[596],[247],[311],[217],[480],[207],[228],[428],[466],[326],[569],[323],[523],[753],[907],[471],[329],[420],[318],[633],[104],[834],[648],[141],[19],[147],[224],[153],[670],[223],[895],[951],[564],[696],[123],[208],[165],[503],[564],[612],[281],[238],[113],[891],[256],[299],[470],[169],[62],[450],[469],[241],[125],[644],[407],[57],[653],[444],[595],[1000],[477],[692],[211],[752],[723],[755],[290],[84],[448],[770],[223],[990],[421],[26],[824],[372],[880],[441],[648],[952],[699],[623],[765],[526],[43],[9],[530],[744],[428],[549],[30],[630],[311],[931],[957],[154],[683],[363],[614],[225],[506],[223],[237],[874],[813],[744],[361],[308],[876],[582],[609],[229],[603],[918],[445],[702],[316],[45],[290],[508],[888],[374],[896],[487],[258],[954],[226],[207],[168],[324],[390],[204],[94],[570],[716],[492],[421],[848],[739],[721],[700],[438],[199],[348],[772],[941],[86],[12],[78],[204],[780],[133],[254],[557],[628],[187],[988],[861],[302],[655],[406],[955],[975],[669],[497],[192],[592],[388],[431],[7],[693],[422],[560],[611],[676],[721],[988],[523],[727],[118],[654],[635],[59],[112],[892],[772],[994],[610],[293],[272],[923],[220],[549],[261],[717],[491],[158],[200],[404],[911],[618],[578],[480],[119],[665],[277],[633],[293],[61],[733],[658],[264],[623],[685],[487],[773],[655],[77],[818],[43],[16],[48],[841],[450],[291],[300],[914],[181],[961],[3],[337],[341],[958],[160],[133],[372],[334],[795],[827],[940],[983],[494],[766],[179],[346],[892],[938],[34],[357],0],"output":[[813],[701],[965],[43],[260],[577],[813],[490],[804],[159],[529],[767],[312],[227],[159],[684],[585],[790],[46],[103],[963],[751],[923],[863],[76],[621],[17],[653],[239],[752],[964],[162],[852],[639],[189],[387],[486],[43],[616],[387],[513],[243],[215],[197],[748],[643],[119],[852],[582],[902],[387],[75],[183],[161],[624],[321],[140],[418],[218],[291],[22],[137],[702],[170],[190],[444],[59],[260],[982],[413],[264],[821],[475],[485],[573],[839],[271],[170],[681],[752],[862],[85],[870],[126],[830],[481],[678],[149],[89],[632],[398],[716],[170],[396],[615],[504],[670],[553],[774],[359],[569],[516],[532],[42],[363],[254],[562],[250],[672],[220],[814],[879],[333],[162],[756],[879],[538],[444],[791],[926],[941],[111],[4],[715],[17],[932],[772],[193],[736],[590],[723],[353],[965],[293],[37],[749],[321],[714],[562],[794],[787],[748],[346],[816],[954],[744],[103],[564],[877],[487],[219],[645],[132],[387],[47],[31],[153],[820],[279],[668],[263],[236],[881],[745],[682],[612],[577],[649],[105],[963],[656],[568],[809],[851],[459],[958],[769],[210],[985],[938],[373],[868],[31],[598],[722],[433],[343],[243],[117],[593],[144],[748],[180],[333],[489],[941],[464],[526],[663],[299],[456],[644],[762],[373],[663],[246],[179],[597],[289],[265],[853],[805],[372],[32],[266],[889],[19],[558],[250],[952],[893],[78],[658],[742],[558],[731],[739],[880],[768],[43],[7],[489],[274],[467],[624],[186],[645],[983],[940],[576],[721],[513],[6],[33],[228],[891],[326],[819],[55],[98],[974],[946],[449],[488],[484],[595],[942],[384],[251],[56],[441],[917],[935],[265],[660],[832],[414],[667],[36],[890],[428],[244],[0],[991],[286],[716],[353],[928],[307],[934],[673],[878],[593],[880],[368],[563],[143],[435],[736],[222],[37],[595],[421],[468],[106],[507],[214],[401],[462],[209],[710],[609],[449],[99],[460],[221],[475],[962],[283],[542],[974],[416],[498],[238],[657],[42],[714],[255],[214],[965],[14],[252],[118],[750],[95],[426],[827],[267],[995],[26],[354],[516],[152],[833],[258],[408],[628],[34],[299],[322],[853],[578],[541],[201],[240],[73],[952],[300],[336],[823],[744],[812],[666],[745],[859],[769],[361],[476],[262],[634],[896],[730],[657],[62],[490],[155],[804],[532],[548],[813],[703],[983],[315],[260],[56],[521],[49],[602],[631],[763],[313],[332],[863],[788],[921],[359],[946],[721],[693],[135],[209],[558],[638],[451],[625],[736],[979],[821],[653],[909],[253],[654],[645],[809],[387],[400],[297],[225],[842],[700],[380],[812],[667],[923],[439],[223],[818],[338],[376],[73],[744],[761],[444],[682],[824],[301],[122],[981],[527],[239],[479],[666],[106],[641],[281],[754],[420],[710],[950],[947],[117],[902],[562],[422],[539],[819],[214],[654],[814],[532],[177],[745],[882],[752],[247],[922],[915],[311],[5],[764],[840],[581],[365],[612],[159],[247],[95],[525],[632],[470],[365],[727],[680],[333],[250],[960],[109],[543],[756],[147],[365],[49],[543],[442],[964],[793],[17],[611],[774],[454],[505],[943],[81],[727],[595],[653],[946],[843],[972],[543],[691],[485],[508],[725],[967],[584],[693],[127],[190],[618],[106],[926],[334],[982],[324],[431],[336],[133],[798],[328],[531],[323],[711],[472],[298],[748],[415],[497],[380],[618],[602],[985],[199],[580],[132],[202],[898],[361],[463],[167],[246],[2],[56],[467],[804],[314],[834],[278],[524],[720],[755],[923],[722],[742],[241],[752],[372],[153],[752],[0],[358],[556],[158],[697],[868],[518],[496],[603],[811],[957],[648],[839],[741],[632],[945],[775],[442],[285],[64],[114],[834],[839],[240],[197],[264],[391,391],[641],[467],[532],[865],[607],[483],[346],[420],[374],[81],[652],[438],[93],[583],[801],[65],[827],[509],[375],[312],[874],[106],[467],[526],[66],[11],[979],[298],[804],[64],[509],[459],[28],[874],[427],[825],[524],[625],[576],[150],[654],[684],[50],[342],[255],[215],[977],[509],[289],[877],[848],[703],[143],[601],[43],[293],[752],[280],[784],[991],[306],[72],[93],[837],[272],[549],[483],[990],[950],[940],[339],[118],[87],[152],[55],[874],[77],[123],[119],[838],[674],[303],[557],[499],[460],[710],[659],[876],[790],[432],[9],[267],[103],[455],[197],[369],[306],[908],[195],[430],[781],[873],[685],[158],[641],[456],[527],[872],[264],[502],[184],[314],[406],[378],[932],[714],[8],[698],[617],[237],[523],[398],[490],[86],[403],[742],[896],[469],[278],[518],[111],[589],[801],[86],[288],[836],[255],[970],[680],[813],[961],[474],[767],[4],[304],[54],[396],[618],[788],[604],[937],[840],[766],[596],[247],[311],[217],[480],[207],[228],[428],[466],[326],[569],[323],[523],[753],[907],[471],[329],[420],[318],[633],[104],[834],[648],[141],[19],[147],[224],[153],[670],[223],[895],[951],[564],[696],[123],[208],[165],[503],[564],[612],[281],[238],[113],[891],[256],[299],[470],[169],[62],[450],[469],[241],[125],[644],[407],[57],[653],[444],[595],[1000],[477],[692],[211],[752],[723],[755],[290],[84],[448],[770],[223],[990],[421],[26],[824],[372],[880],[441],[648],[952],[699],[623],[765],[526],[43],[9],[530],[744],[428],[549],[30],[630],[311],[931],[957],[154],[683],[363],[614],[225],[506],[223],[237],[874],[813],[744],[361],[308],[876],[582],[609],[229],[603],[918],[445],[702],[316],[45],[290],[508],[888],[374],[896],[487],[258],[954],[226],[207],[168],[324],[390],[204],[94],[570],[716],[492],[421],[848],[739],[721],[700],[438],[199],[348],[772],[941],[86],[12],[78],[204],[780],[133],[254],[557],[628],[187],[988],[861],[302],[655],[406],[955],[975],[669],[497],[192],[592],[388],[431],[7],[693],[422],[560],[611],[676],[721],[988],[523],[727],[118],[654],[635],[59],[112],[892],[772],[994],[610],[293],[272],[923],[220],[549],[261],[717],[491],[158],[200],[404],[911],[618],[578],[480],[119],[665],[277],[633],[293],[61],[733],[658],[264],[623],[685],[487],[773],[655],[77],[818],[43],[16],[48],[841],[450],[291],[300],[914],[181],[961],[3],[337],[341],[958],[160],[133],[372],[334],[795],[827],[940],[983],[494],[766],[179],[346],[892],[938],[34],[357],0]},{"file":"testcase_6.txt","input":[[549],[623],[342],[276],[273],[755],[658],[201],[597],[166],[92],[262],[370],[534],[279],[943],[440],[59],[829],[128],[413],[580],[870],[542],[332],[283],[760],[658],[935],[429],[85],[652],[265],[51],[218],[765],[186],[734],[96],[819],[731],[351],[290],[802],[248],[23],[832],[30],[685],[309],[273],[450],[571],[45],[94],[37],[816],[404],[705],[396],[581],[798],[994],[103],[573],[682],[791],[792],[643],[507],[435],[956],[625],[136],[532],[523],[393],[473],[96],[350],[636],[111],[679],[15],[372],[820],[662],[266],[712],[55],[663],[741],[573],[28],[508],[230],[506],[740],[908],[390],[378],[653],[250],[702],[980],[149],[647],[565],[55],[921],[988],[55],[719],[19],[580],[621],[163],[301],[945],[64],[851],[542],[434],[36],[537],[308],[487],[197],[811],[772],[279],[205],[27],[603],[514],[809],[810],[40],[79],[524],[464],[892],[528],[834],[634],[477],[878],[902],[486],[578],[891],[768],[771],[737],[998],[962],[440],[942],[191],[135],[69],[991],[388],[634],[387],[883],[3],[831],[151],[804],[201],[874],[955],[374],[103],[725],[542],[382],[942],[204],[186],[47],[204],[353],[743],[586],[930],[187],[754],[949],[113],[955],[638],[446],[487],[272],[28],[242],[33],[436],[230],[788],[593],[153],[933],[407],[542],[188],[447],[98],[594],[140],[943],[597],[958],[233],[623],[887],[326],[404],[905],[763],[145],[387],[417],[601],[341],[472],[213],[647],[249],[954],[353],[291],[717],[670],[535],[1],[944],[23],[740],[490],[210],[609],[594],[782],[1],[896],[10],[167],[602],[63],[486],[122],[483],[486],[666],[913],[38],[377],[55],[72],[330],[202],[371],[852],[865],[992],[606],[303],[745],[33],[223],[839],[661],[499],[456],[468],[595],[684],[152],[336],[950],[648],[835],[99],[136],[494],[839],[846],[549],[528],[628],[838],[599],[201],[112],[679],[326],[774],[455],[416],[91],[589],[814],[306],[739],[820],[55],[998],[425],[654],[591],[706],[140],[599],[340],[990],[718],[184],[798],[209],[259],[138],[895],[889],[342],[888],[608],[5],[426],[758],[489],[553],[144],[900],[421],[196],[687],[533],[689],[761],[726],[356],[64],[410],[745],[705],[627],[686],[516],[288],[818],[434],[526],[761],[38],[857],[140],[596],[883],[678],[238],[615],[666],[558],[511],[11],[910]],"output":[[549],[623],[342],[276],[273],[755],[658],[201],[597],[166],[92],[262],[370],[534],[279],[943],[440],[59],[829],[128],[413],[580],[870],[542],[332],[283],[760],[658],[935],[429],[85],[652],[265],[51],[218],[765],[186],[734],[96],[819],[731],[351],[290],[802],[248],[23],[832],[30],[685],[309],[273],[450],[571],[45],[94],[37],[816],[404],[705],[396],[581],[798],[994],[103],[573],[682],[791],[792],[643],[507],[435],[956],[625],[136],[532],[523],[393],[473],[96],[350],[636],[111],[679],[15],[372],[820],[662],[266],[712],[55],[663],[741],[573],[28],[508],[230],[506],[740],[908],[390],[378],[653],[250],[702],[980],[149],[647],[565],[55],[921],[988],[55],[719],[19],[580],[621],[163],[301],[945],[64],[851],[542],[434],[36],[537],[308],[487],[197],[811],[772],[279],[205],[27],[603],[514],[809],[810],[40],[79],[524],[464],[892],[528],[834],[634],[477],[878],[902],[486],[578],[891],[768],[771],[737],[998],[962],[440],[942],[191],[135],[69],[991],[388],[634],[387],[883],[3],[831],[151],[804],[201],[874],[955],[374],[103],[725],[542],[382],[942],[204],[186],[47],[204],[353],[743],[586],[930],[187],[754],[949],[113],[955],[638],[446],[487],[272],[28],[242],[33],[436],[230],[788],[593],[153],[933],[407],[542],[188],[447],[98],[594],[140],[943],[597],[958],[233],[623],[887],[326],[404],[905],[763],[145],[387],[417],[601],[341],[472],[213],[647],[249],[954],[353],[291],[717],[670],[535],[1],[944],[23],[740],[490],[210],[609],[594],[782],[1],[896],[10],[167],[602],[63],[486],[122],[483],[486],[666],[913],[38],[377],[55],[72],[330],[202],[371],[852],[865],[992],[606],[303],[745],[33],[223],[839],[661],[499],[456],[468],[595],[684],[152],[336],[950],[648],[835],[99],[136],[494],[839],[846],[549],[528],[628],[838],[599],[201],[112],[679],[326],[774],[455],[416],[91],[589],[814],[306],[739],[820],[55],[998],[425],[654],[591],[706],[140],[599],[340],[990],[718],[184],[798],[209],[259],[138],[895],[889],[342],[888],[608],[5],[426],[758],[489],[553],[144],[900],[421],[196],[687],[533],[689],[761],[726],[356],[64],[410],[745],[705],[627],[686],[516],[288],[818],[434],[526],[761],[38],[857],[140],[596],[883],[678],[238],[615],[666],[558],[511],[11],[910]]},{"file":"testcase_7.txt","input":[[164],[417],[480],[206],[168],[968],[906],[777],[161],[672],[712],[714],[142],[184],[792],[30],[715],[787],[393],[953],[588],[836],[372],[561],[770],[597],[782],[929],[308],[13],[278],[527],[790],[529],[284],[40],[206],[270],[808],[865],[853],[517],[462],[757],[873],[958],[283],[737],[813],[116],[195],[16],[637],[199],[239],[720],[995],[185],[659],[0],[98],[2],[966],[496],[256],[224],[249],[665],[937],[61],[812],[117],[77],[260],[704],[177],[688],[194],[842],[569],[527],[500],[57],[738],[498],[256],[845],[470],[507],[576],[995],[213],[300],[59],[761],[759],[453],[827],[335],[955],[516],[67],[756],[757],[801],[992],[344],[581],[938],[721],[926],[4],[334],[903],[981],[463],[332],[25],[410],[858],[50],[545],[376],[417],[875],[212],[551],[962],[19],[75],[771],[630],[418],[312],[22],[393],[852],[910],[443],[527],[320],[65],[87],[977],[901],[942],[445],[389],[646],[773],[232],[976],[24],[822],[425],[104],[907],[271],[962],[694],[440],[441],[213],[674],[51],[602],[591],[566],[299],[560],[64],[273],[585],[886],[680],[214],[937],[489],[335],[947],[961],[615],[979],[111],[765],[144],[657],[289],[88],[475],[227],[406],[345],[725],[550],[482],[0],[593],[357],[564],[140],[375],[329],[855],[699],[251],[407],[425],[404],[422],[975],[43],[72],[796],[564],[28],[658],[967],[417],[77],[493],[371],[260],[541],[144],[209],[590],[108],[672],[768],[216],[408],[229],[832],[188],[744],[510],[410],[24],[88],[430],[135],[935],[165],[644],[71],[228],[363],[7],[218],[464],[706],[379],[708],[45],[500],[858],[496],[572],[139],[982],[479],[824],[53],[151],[438],[293],[1000],[60],[21],[535],[103],[673],[155],[585],[743],[187],[716],[38],[637],[898],[217],[50],[912],[951],[659],[454],[386],[187],[546],[87],[607],[456],[797],[743],[658],[327],[323],[517],[824],[391],[80],[219],[522],[63],[342],[159],[716],[361],[790],[780],[192],[615],[38],[818],[40],[456],[1],[685],[722],[698],[681],[476],[564],[3],[564],[353],[141],[644],[266],[489],[809],[155],[757],[37],[315],[758],[541],[474],[612],[959],[689],[249],[205],[398],[191],[790],[902],[860],[893],[151],[709],[374],[496],[181],[675],[932],[395],[784],[955],[976],[510],[312],[518],[171],[474],[365],[867],[413],[586],[532],[581],[377],[646],[238],[615],[528],[258],[290],[230],[990],[378],[879],[641],[315],[166],[807],[685],[228],[125],[955],[669],[990],[379],[944],[209],[96],[536],[718],[290],[145],[285],[967],[409],[642],[971],[139],[40],[659],[417],[805],[708],[282],[67],[698],[469],[440],[690],[48],[817],[945],[771],[0],[108],[733],[781],[894],[453],[717],[728],[654],[825],[555],[580],[237],[111],[983],[63],[501],[39],[437],[1],[793],[351],[768],[165],[581],[615],[440],[582],[665],[321],[798],[132],[557],[344],[664],[702],[838],[995],[605],[577],[766],[472],[17],[192],[451],[74],[878],[235],[740],[323],[453],[278],[685],[489],[445],[710],[791],[135],[626],[685],[222],[871],[789],[923],[542],[165],[174],[126],[920],[715],[663],[333],[413],[983],[200],[848],[432],[164],[653],[536]],"output":[[164],[417],[480],[206],[168],[968],[906],[777],[161],[672],[712],[714],[142],[184],[792],[30],[715],[787],[393],[953],[588],[836],[372],[561],[770],[597],[782],[929],[308],[13],[278],[527],[790],[529],[284],[40],[206],[270],[808],[865],[853],[517],[462],[757],[873],[958],[283],[737],[813],[116],[195],[16],[637],[199],[239],[720],[995],[185],[659],[0],[98],[2],[966],[496],[256],[224],[249],[665],[937],[61],[812],[117],[77],[260],[704],[177],[688],[194],[842],[569],[527],[500],[57],[738],[498],[256],[845],[470],[507],[576],[995],[213],[300],[59],[761],[759],[453],[827],[335],[955],[516],[67],[756],[757],[801],[992],[344],[581],[938],[721],[926],[4],[334],[903],[981],[463],[332],[25],[410],[858],[50],[545],[376],[417],[875],[212],[551],[962],[19],[75],[771],[630],[418],[312],[22],[393],[852],[910],[443],[527],[320],[65],[87],[977],[901],[942],[445],[389],[646],[773],[232],[976],[24],[822],[425],[104],[907],[271],[962],[694],[440],[441],[213],[674],[51],[602],[591],[566],[299],[560],[64],[273],[585],[886],[680],[214],[937],[489],[335],[947],[961],[615],[979],[111],[765],[144],[657],[289],[88],[475],[227],[406],[345],[725],[550],[482],[0],[593],[357],[564],[140],[375],[329],[855],[699],[251],[407],[425],[404],[422],[975],[43],[72],[796],[564],[28],[658],[967],[417],[77],[493],[371],[260],[541],[144],[209],[590],[108],[672],[768],[216],[408],[229],[832],[188],[744],[510],[410],[24],[88],[430],[135],[935],[165],[644],[71],[228],[363],[7],[218],[464],[706],[379],[708],[45],[500],[858],[496],[572],[139],[982],[479],[824],[53],[151],[438],[293],[1000],[60],[21],[535],[103],[673],[155],[585],[743],[187],[716],[38],[637],[898],[217],[50],[912],[951],[659],[454],[386],[187],[546],[87],[607],[456],[797],[743],[658],[327],[323],[517],[824],[391],[80],[219],[522],[63],[342],[159],[716],[361],[790],[780],[192],[615],[38],[818],[40],[456],[1],[685],[722],[698],[681],[476],[564],[3],[564],[353],[141],[644],[266],[489],[809],[155],[757],[37],[315],[758],[541],[474],[612],[959],[689],[249],[205],[398],[191],[790],[902],[860],[893],[151],[709],[374],[496],[181],[675],[932],[395],[784],[955],[976],[510],[312],[518],[171],[474],[365],[867],[413],[586],[532],[581],[377],[646],[238],[615],[528],[258],[290],[230],[990],[378],[879],[641],[315],[166],[807],[685],[228],[125],[955],[669],[990],[379],[944],[209],[96],[536],[718],[290],[145],[285],[967],[409],[642],[971],[139],[40],[659],[417],[805],[708],[282],[67],[698],[469],[440],[690],[48],[817],[945],[771],[0],[108],[733],[781],[894],[453],[717],[728],[654],[825],[555],[580],[237],[111],[983],[63],[501],[39],[437],[1],[793],[351],[768],[165],[581],[615],[440],[582],[665],[321],[798],[132],[557],[344],[664],[702],[838],[995],[605],[577],[766],[472],[17],[192],[451],[74],[878],[235],[740],[323],[453],[278],[685],[489],[445],[710],[791],[135],[626],[685],[222],[871],[789],[923],[542],[165],[174],[126],[920],[715],[663],[333],[413],[983],[200],[848],[432],[164],[653],[536]]},{"file":"testcase_8.txt","input":[[537],[102],[351],[574],[400],[707],[374],[365],[150],[791],[550],[780],[441],[902],[739],[883],[510],[507],[497],[318],[275],[478],[992],[928],[948],[634],[529],[696],[71],[436],[556],[298],[133],[273],[971],[545],[100],[629],[494],[273],[12],[134],[628],[154],[453],[373],[118],[795],[855],[981],[510],[611],[535],[209],[438],[421],[703],[59],[213],[747],[809],[24],[248],[155],[46],[815],[752],[270],[535],[328],[965],[120],[841],[129],[428],[923],[540],[573],[126],[300],[502],[767],[444],[897],[126],[998],[864],[915],[10],[659],[368],[29],[239],[952],[196],[439],[912],[242],[151],[168],[306],[885],[703],[692],[105],[144],[351],[524],[698],[82],[32],[34],[419],[276],[157],[394],[436],[945],[643],[677],[873],[77],[884],[251],[865],[934],[565],[936],[750],[90],[225],[655],[721],[633],[329],[123],[807],[869],[999],[461],[804],[398],[762],[549],[797],[846],[350],[696],[571],[176],[669],[430],[632],[131],[967],[614],[239],[567],[322],[288],[261],[845],[723],[672],[830],[654],[97],[864],[939],[639],[263],[427],[888],[390],[247],[320],[704],[17],[997],[172],[123],[243],[461],[338],[87],[610],[923],[457],[835],[733],[459],[939],[921],[145],[324],[527],[618],[540],[209],[963],[980],[524],[275],[285],[276],[267],[220],[21],[323],[942],[344],[110],[17],[536],[920],[402],[418],[950],[155],[349],[913],[423],[334],[211],[436],[848],[520],[566],[23],[656],[362],[879],[722],[99],[72],[392],[376],[238],[47],[597],[259],[225],[131],[125],[344],[144],[272],[629],[669],[856],[51],[127],[231],[364],[123],[335],[381],[730],[965],[672],[398],[48],[121],[417],[300],[358],[926],[984],[573],[820],[376],[98],[693],[238],[841],[430],[65],[285],[846],[246],[845],[108],[493],[197],[277],[644],[767],[556],[544],[695],[561],[447],[372],[358],[410],[424],[77],[306],[280],[896],[914],[768],[457],[340],[451],[788],[61],[74],[827],[876],[48],[535],[186],[394],[512],[644],[671],[196],[785],[259],[962],[132],[842],[393],[637],[798],[786],[416],[740],[938],[673],[658],[957],[389],[990],[914],[138],[219],[499],[716],[273],[909],[617],[239],[44],[874],[762],[363],[733],[46],[689],[370],[701],[175],[991],[153],[906],[723],[294],[475],[713],[295],[578],[360],[569],[476],[762],[918],[63],[214],[982],[691],[357],[66],[168],[438],[261],[330],[832],[29],[617],[596],[979],[872],[237],[349],[213],[346],[998],[734],[523],[749],[436],[39],[677],[186],[834],[356],[225],[189],[846],[606],[406],[376],[341],[263],[852],[619],[472],[609],[406],[382],[767],[398],[846],[122],[490],[766],[116],[964],[325],[702],[43],[636],[606],[295],[195],[962],[54],[691],[453],[616],[973],[230],[647],[240],[993],[303],[892],[786],[543],[456],[908],[339],[774],[564],[582],[75],[668],[243],[123],[584],[880],[804],[305],[763],[729],[777],[657],[921],[643],[472],[293],[607],[125],[617],[757],[237],[791],[226],[738],[103],[175],[747],[711],[421],[710],[436],[287],[478],[647],[65],[54],[532],[281],[104],[360],[826],[7],[159],[814],[59]],"output":[[537],[102],[351],[574],[400],[707],[374],[365],[150],[791],[550],[780],[441],[902],[739],[883],[510],[507],[497],[318],[275],[478],[992],[928],[948],[634],[529],[696],[71],[436],[556],[298],[133],[273],[971],[545],[100],[629],[494],[273],[12],[134],[628],[154],[453],[373],[118],[795],[855],[981],[510],[611],[535],[209],[438],[421],[703],[59],[213],[747],[809],[24],[248],[155],[46],[815],[752],[270],[535],[328],[965],[120],[841],[129],[428],[923],[540],[573],[126],[300],[502],[767],[444],[897],[126],[998],[864],[915],[10],[659],[368],[29],[239],[952],[196],[439],[912],[242],[151],[168],[306],[885],[703],[692],[105],[144],[351],[524],[698],[82],[32],[34],[419],[276],[157],[394],[436],[945],[643],[677],[873],[77],[884],[251],[865],[934],[565],[936],[750],[90],[225],[655],[721],[633],[329],[123],[807],[869],[999],[461],[804],[398],[762],[549],[797],[846],[350],[696],[571],[176],[669],[430],[632],[131],[967],[614],[239],[567],[322],[288],[261],[845],[723],[672],[830],[654],[97],[864],[939],[639],[263],[427],[888],[390],[247],[320],[704],[17],[997],[172],[123],[243],[461],[338],[87],[610],[923],[457],[835],[733],[459],[939],[921],[145],[324],[527],[618],[540],[209],[963],[980],[524],[275],[285],[276],[267],[220],[21],[323],[942],[344],[110],[17],[536],[920],[402],[418],[950],[155],[349],[913],[423],[334],[211],[436],[848],[520],[566],[23],[656],[362],[879],[722],[99],[72],[392],[376],[238],[47],[597],[259],[225],[131],[125],[344],[144],[272],[629],[669],[856],[51],[127],[231],[364],[123],[335],[381],[730],[965],[672],[398],[48],[121],[417],[300],[358],[926],[984],[573],[820],[376],[98],[693],[238],[841],[430],[65],[285],[846],[246],[845],[108],[493],[197],[277],[644],[767],[556],[544],[695],[561],[447],[372],[358],[410],[424],[77],[306],[280],[896],[914],[768],[457],[340],[451],[788],[61],[74],[827],[876],[48],[535],[186],[394],[512],[644],[671],[196],[785],[259],[962],[132],[842],[393],[637],[798],[786],[416],[740],[938],[673],[658],[957],[389],[990],[914],[138],[219],[499],[716],[273],[909],[617],[239],[44],[874],[762],[363],[733],[46],[689],[370],[701],[175],[991],[153],[906],[723],[294],[475],[713],[295],[578],[360],[569],[476],[762],[918],[63],[214],[982],[691],[357],[66],[168],[438],[261],[330],[832],[29],[617],[596],[979],[872],[237],[349],[213],[346],[998],[734],[523],[749],[436],[39],[677],[186],[834],[356],[225],[189],[846],[606],[406],[376],[341],[263],[852],[619],[472],[609],[406],[382],[767],[398],[846],[122],[490],[766],[116],[964],[325],[702],[43],[636],[606],[295],[195],[962],[54],[691],[453],[616],[973],[230],[647],[240],[993],[303],[892],[786],[543],[456],[908],[339],[774],[564],[582],[75],[668],[243],[123],[584],[880],[804],[305],[763],[729],[777],[657],[921],[643],[472],[293],[607],[125],[617],[757],[237],[791],[226],[738],[103],[175],[747],[711],[421],[710],[436],[287],[478],[647],[65],[54],[532],[281],[104],[360],[826],[7],[159],[814],[59]]},{"file":"testcase_9.txt","input":[[939],[248],[96],[64],[964],[561],[969],[458],[209],[876],[610],[354],[261],[346],[542],[131],[392],[395],[553],[837],[270],[809],[28],[22],[877],[483],[968],[885],[616],[676],[184],[791],[616],[55],[762],[677],[366],[516],[414],[259],[962],[612],[613],[961],[750],[653],[83],[891],[244],[757],[181],[627],[412],[270],[794],[527],[188],[887],[525],[758],[610],[713],[503],[101],[148],[686],[437],[390],[72],[76],[430],[534],[193],[261],[732],[884],[883],[619],[462],[955],[310],[727],[272],[698],[942],[344],[323],[3],[157],[532],[533],[22],[836],[781],[730],[403],[924],[623],[139],[250],[998],[777],[746],[722],[197],[612],[9],[787],[896],[920],[487],[521],[109],[522],[33],[118],[816],[289],[68],[838],[973],[53],[694],[782],[461],[201],[593],[338],[228],[99],[265],[498],[68],[879],[894],[272],[408],[663],[652],[25],[9],[153],[703],[726],[431],[812],[798],[333],[139],[137],[307],[59],[953],[743],[973],[625],[286],[708],[190],[443],[326],[682],[255],[874],[456],[785],[513],[796],[295],[755],[695],[940],[29],[973],[328],[568],[497],[175],[348],[58],[385],[799],[823],[941],[598],[970],[911],[246],[990],[288],[708],[362],[786],[871],[255],[778],[612],[406],[922],[794],[156],[322],[386],[27],[168],[979],[512],[448],[564],[906],[581],[163],[1],[722],[791],[704],[224],[223],[963],[746],[371,371],[400],[760],[458],[276],[764],[840],[292],[658],[560],[357],[193],[186],[748],[925],[586],[716],[271],[217],[356],[385],[310],[237],[275],[212],[816],[74],[940],[654],[837],[204],[40],[595],[885],[904],[163],[605],[382],[986],[107],[539],[531],[108],[58],[824],[475],[909],[134],[61],[218],[767],[67],[303],[898],[881],[20],[712],[741],[848],[706],[581],[484],[829],[329],[951],[94],[553],[264],[316],[48],[357],[841],[449],[959],[170],[155],[738],[848],[858],[276],[602],[447],[898],[400],[405],[278],[143],[341],[997],[698],[619],[642],[436],[939],[898],[350],[666],[216],[730],[633],[315],[642],[130],[628],[784],[269],[223,223],[280],[981],[782],[127],[551],[386],[402],[640],[685],[151],[926],[604],[614],[382],[666],[265],[560],[454],[578],[320],[147],[631],[706],[338],[522],[615],[156],[388],[234],[930],[713],[227],[623],[64],[371],[262],[337],[369],[467],[323],[250],[640],[782],[158],[471],[696],[341],[566],[170],[114],[796],[515],[953],[420],[54],[988],0,0],"output":[[939],[248],[96],[64],[964],[561],[969],[458],[209],[876],[610],[354],[261],[346],[542],[131],[392],[395],[553],[837],[270],[809],[28],[22],[877],[483],[968],[885],[616],[676],[184],[791],[616],[55],[762],[677],[366],[516],[414],[259],[962],[612],[613],[961],[750],[653],[83],[891],[244],[757],[181],[627],[412],[270],[794],[527],[188],[887],[525],[758],[610],[713],[503],[101],[148],[686],[437],[390],[72],[76],[430],[534],[193],[261],[732],[884],[883],[619],[462],[955],[310],[727],[272],[698],[942],[344],[323],[3],[157],[532],[533],[22],[836],[781],[730],[403],[924],[623],[139],[250],[998],[777],[746],[722],[197],[612],[9],[787],[896],[920],[487],[521],[109],[522],[33],[118],[816],[289],[68],[838],[973],[53],[694],[782],[461],[201],[593],[338],[228],[99],[265],[498],[68],[879],[894],[272],[408],[663],[652],[25],[9],[153],[703],[726],[431],[812],[798],[333],[139],[137],[307],[59],[953],[743],[973],[625],[286],[708],[190],[443],[326],[682],[255],[874],[456],[785],[513],[796],[295],[755],[695],[940],[29],[973],[328],[568],[497],[175],[348],[58],[385],[799],[823],[941],[598],[970],[911],[246],[990],[288],[708],[362],[786],[871],[255],[778],[612],[406],[922],[794],[156],[322],[386],[27],[168],[979],[512],[448],[564],[906],[581],[163],[1],[722],[791],[704],[224],[223],[963],[746],[371,371],[400],[760],[458],[276],[764],[840],[292],[658],[560],[357],[193],[186],[748],[925],[586],[716],[271],[217],[356],[385],[310],[237],[275],[212],[816],[74],[940],[654],[837],[204],[40],[595],[885],[904],[163],[605],[382],[986],[107],[539],[531],[108],[58],[824],[475],[909],[134],[61],[218],[767],[67],[303],[898],[881],[20],[712],[741],[848],[706],[581],[484],[829],[329],[951],[94],[553],[264],[316],[48],[357],[841],[449],[959],[170],[155],[738],[848],[858],[276],[602],[447],[898],[400],[405],[278],[143],[341],[997],[698],[619],[642],[436],[939],[898],[350],[666],[216],[730],[633],[315],[642],[130],[628],[784],[269],[223,223],[280],[981],[782],[127],[551],[386],[402],[640],[685],[151],[926],[604],[614],[382],[666],[265],[560],[454],[578],[320],[147],[631],[706],[338],[522],[615],[156],[388],[234],[930],[713],[227],[623],[64],[371],[262],[337],[369],[467],[323],[250],[640],[782],[158],[471],[696],[341],[566],[170],[114],[796],[515],[953],[420],[54],[988],0,0]}]
|
apply-operations-to-make-all-array-elements-equal-to-zero.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[248,443,48,128,589,173,284,978,612,599,339,589,848,466,809,531,441,358,792,646,465,853,68,541,474,756,392,354,908,460,91,686,779,472,644,215,865,301,316,253,260,714,611,137,720,108,330,172,819,650,715,152,350,714,498,875,371,66,107,845,17,507,186,24,542,721,840,300,367,531,997,470,906,206,365,143,892,912,808,187,467,67,786,720,903,122,267,153,817,517,528,181,655,363,58,55,141,408,473,704,362,317,503,217,384,556,357,473,366,914,762,528,771,215,645,703,954,658,151,758,739,566,412,963,170,943,900,81,202,579,813,768,380,0,814,112,623,228,932,559,233,114,466,940,997,587,158,179,414,173,951,640,688,463,124,278,667,150,864,298,351,198,759,883,399,681,526,146,450,667,8,149,905,230,349,671,112,261,998,318,241,965,632,986,325,626,122,421,499,957,789,109,275,715,778,270,632,703,164,201,237,717,114,473,201,987,927,718,827,49,192,207,166,992,117,893,987,67,107,333,108,878,994,803,423,98,366,730,969,998,578,741,390,518,84,320,867,826,316,726,827,865,877,625,300,898,921,279,259,69,685,692,604,752,718,927,963,538,582,360,598,60,964,702,314,827,647,457,721,668,116,482,331,264,811,157,866,953,3,680,72,211,674,345,22,566,202,190,756,630,998,350,299,74,153,147,183,280,935,616,316,657,66,269,779,845,164,103,145,326,233,169,556,510,14,741,530,773,284,121,840,651,602,533,811,239,287,508,534,170,805,224,251,393,583,125,352,868,96,339,163,814,956,226,732,914,974,572,876,735,446,324,594,971,370,610,627,383,865,516,462,819,730,46,770,608,811,158,51,179,788,110,206,21,166,375,249,516,233,188,377,820,454,347,523,545,270,450,856,672,214,400,756,920,705,371,943,748,140,624,842,779,934,267,766,304,475,470,159,548,591,545,263,819,712,23,572,984,153,971,735,20,116,175,9,400,558,74,409,814,56,601,637,868,373,717,502,732,286,255,650,91,299,797,857,869,276,77,248,766,764,238,700,412,481,360,243,636,325,999,1,8,134,250,876,42,236,110,790,21,529,460,384,498,106,94,155,298,367,663,109,541,558,53,659,569,926,771,136,725,45,176,78,907,722,414,443,486,404,82,724,750,470,687,296,482,787,440,413,705,145,411,658,275,1,669,310,169,545,107,23,857,652,914,473,544,211,687,844,397,739,187,963,656,123,299,330,702,376,524,54,978,31,409,493,471,398,234,740,248,825,98,320,344,299,738,716,50,51,876,884,19,658,151,890,330,84,884,640,853,804,406,498,520,486,109,722,651,448,154,786,400,385,923,659,173,593,118,40,310,391,137,234,994,241,441,528,313,738,464,927,657,895,686,148,33,530,599,74,311,26,506,987,954,995,826,509,309,362,507,212,875,713,236,520,726,554,823,682,726,21,539,929,122,771,780,390,750,880,920,70,27,951,53,435,891,268,190,845,114,433,288,38,315,693,228,681,215,841,241,693,235,788,795,772,735,607,299,95,85,565,175,89,21,5,760,165,882,833,336,826,500,701,755,51,749,920,456,393,331,826,281,153,487,342,50,939,337,391,443,264,236,483,371,758,804,606,619,567,928,727,126,653,161,109,777,644,844,129,117,17,688,476,577,254,768,886,273,310,393,836,607,673,653,765,197,125,565,578,695,555,333,501,899,473,57,370,445,794,331,396,273,411,456,955,249,85,823,62,525,29,237,918,338,991,77,810,264,191,149,6,468,513,605,773,463,836,950,199,772,693,534,871,837,954,821,125,348,624,416,152,978,106,953,475,473,548,248,388,351,306,691,870,161,893,739,912,132,725,935,948,112,87,975,881,69,433,34,954,338,817,825,140,348,701,246,522,543,980,303,685,285,955,19,682,779,614,792,353,368,178,717,311,742,841,992,287,204,154,86,198,515,864,396,184,986,323,683,251,87,313,413,776,109,658,926,463,875,965,255,803,250,55,717,973,34,922,595,714,893,139,774,776,673,169,528,69,57,162,602,405,67,303,956,286,199,384,162,124,354,683,916,923,9,885,640,577,460,823,515,5,98,776,456,210,786,127,421,469,946,251,113,630,413,415,270,153,511,625,982,14,972,577,970,235,219,287,661,372,591,172,672,556,496,946,603,747,184,249,26,996,575,796,28,723,128,56,188,730,258,605,361,697,697,673,11,30,345,166,420,454,721,783,559,516,515,840,608,903,471,716,345,697,485,406,976,413,917,530,806,794,493,307,328],414],"output":false},{"file":"testcase_10.txt","input":[[58,528,230,370,110,582,660,888,755,496,593,406,879,123,10,798,402,846,327,106,404,1,346,659,357,607,33,526,285,119,242,667,478,292,113,822,634,334,26,524,443,925,95,833,983,21,222,470,16,801,694,76,603,739,701,908,615,340,841,963,930,907,487,833,829,720,118,780,217,446,694,445,172,81,499,388,549,840,254,859,228,448,201,630,191,283,217,776,57,743,672,751,85,126,93,275,344,280,121,513,856,109,60,76,589,409,791,973,640,521,500,464,427,398,782,646,174,762,901,307,657,321,231,448,878,599,784,912,273,535,428,651,83,351,438,129,8,633,208,705,102,414,439,771,598,255,282,567,328,696,95,174,141,225,880,222,505,632,663,741,991,533,469,71,983,990,738,262,553,92,622,581,884,504,938,611,251,378,409,648,805],166],"output":false},{"file":"testcase_2.txt","input":[[46,296,461,496,100,596,10,517,807,955,415,652,485,647,238,427,594,15,357,528,736,700,862,142,915,782,356,640,215,796,983,545,519,710,680,628,354,844,675,784,787,602,88,300,282,379,193,756,220,825,395,974,297,923,824,154,229,485,565,67,6,457,758,68,97,735,642,1,646,135,443,494,201,139,822,687,696,384,431,854,536,569,667,800,249,580,131,305,505,732,695,115,500,477,286,830,806,598,305,231,127,427,678,81,626,317,301,24,192,458,903,190,975,584,826,679,450,727,764,245,38,828,158,968,380,859,813,994,831,765,35,915,462,528,609,712,734,740,93,711,393,954,457,314,562,531,646,611,777,153,24,746,273,902,420,455,901,723,270,383,568,624,159,382,868,211,164,716,930,21,818,82,119,386,674,500,213,855,909,46,957,650,398,6,758,756,936,608,97,590,837,892,719,596,153,428,501,422,865,440,725,3,227,257,832,186,283,346,621,987,13,670,297,421,499,825,53,734,697,632,64,54,879,634,924,207,300,785,870,321,643,110,475,135,612,210,464,596,253,719,247,194,99,618,521,480,94,956,522,398,307,941,71,693,927,674,622,479,945,436,469,462,10,20,159,585,445,987,254,714,376,779,548,235,867,822,443,514,894,407,172,677,442,299,429,645,480,429,64,117,434,22,559,388,157,378,473,744,415,326,144,131,318,232,497,46,596,587,787,69,471,818,869,324,623,792,504,375,79,164,127,594,428,78,661,607,617,39,89,767,419,168,659,25,605,479,598,783,755,195,516,398,584,96,713,549,192,889,662,662,391,797,642,905,629,739,53,336,216,875,295,487,834,823,355,310,449,312,461,854,326,289,308,107,329,614,599,212,864,438,772,115,532,561,365,544,974,940,7,258,689,836,534,388,949,839,952,356,592,534,42,183,483,187,403,302,304,751,908,937,169,5,184,552,528,556,385,422,967,454,573,645,60,964,498,661,896,695,537,851,293,917,543,924,970,411,243,707,254,620,502,652,796,594,134,58,124,544,240,464,496,902,858,821,570,575,862,79,568,545,506,741,93,761,54,679,968,723,386,45,613,137,754,776,685,382,748,248,259,323,294,969,245,672,300,256,880,187,621,524,916,248,553,866,821,747,700,566,155,139,954,659,575,267,266,920,408,449,496,788,265,490,285,110,628,35,468,831,181,209,860,47,669,392,418,44,53,16,620,512,156,346,791,891,586,862,270,657,925,310,797,92,63,245,783,508,881,737,304,668,44,895,441,560,463,932,499,447,709,277,257,211,870,877,829,781,423,605,436,383,940,164,146,143,499,321,760,138,649,94,213,811,488,522,919,684,392,3,488,437,790,194,533,545,842,34,509,429,704,650,36,17,478,490,598,480,838,751,276,523,807,175,766,983,903,744,918,444,53,913,7,579,918,135,65,362,154,817,512,842,300,779,499,776,805,735,8,718,917,575,363,493,535,156,383,719,370,213,608,890,76,68,481,613,682,371,408,320,67,437,238,952,849,922,358,974,574,842,882,973,921,762,437,776,966,183,627,152,594,900,153,249,381,835,292,147,121,62,109,391,113,25,787,749,134,903,863,533,696,2,873,290,819,784,493,265,115,249,13,520,516,743,449,865,735,734,805,449,486,505,398,464,221,29,118,488,627,818,355,376,56,202,219,916,932,713,614,882,355,13,974,176,285,85,539,829,696,306,850,424,581,307,527,431,640,653,791,723,53,658,844,250,459,392,481,538,599,786,398,721,678,703,4,464,200,52,100,813,315,387,344,730,752,302,726,151,835,348,259,258,481,820,92,127,260,17,993,183,544,960,532,491,31,260,45,552,470,45,810,585,367,831,579,129,699,262,410,165,104,882,502,301,847,597,256,440,129,167,193,119,407,185,482,587,786,809,732,806],491],"output":false},{"file":"testcase_3.txt","input":[[789,50,839,209,417,572,892,252,157,751,227,895,950,526,986,496,66,437,28,194,69,589,596,646,749,76,109,413,380,353,325,779,56,455,777,368,569,99,706,476,106,598,413,995,378,86,194,792,846,707,88,136,922,876,823,525,483,977,886,625,861,41,114,915,630,556,833,749,228,994,225,460,842,583,219,501,549,360,671,905,762,945,117,516,44,460,50,931,239,495,39,458,432,579,956,151,412,104,81,237,458,73,120,229,437,611,864,312,383,965,291,424,958,173,978,604,370,971,406,697,808,424,480,515,461,372,265,912,890,681,251,872,931,605,958,888,166,306,374,296,938,180,344,762,842,47,211,440,920,875,297,608,324,285,662,282,301,521,507,205,20,556,992,382,128,811,49,767,257,846,955,3,886,245,873,930,848,338,260,617,40,150,162,482,601,557,314,698,748,318,890,607,570,801,599,92,66,118,301,243,651,741,516,37,534,298,294,741,423,968,136,969,955,252,219,451,902,873,268,686,115,857,815,96,899,723,100,535,672,219,967,731,649,642,199,117,958,320,539,440,47,379,357,760,335,416,354,82,877,359,865,751,244,98,589,459,270,512,178,75,184,404,213,989,62,113,585,428,810,186,113,855,849,442,355,849,641,547,679,584,503,194,184,621,618,957,584,749,708,350,41,246,12,742,57,287,978,692,370,863,261,986,506,56,632,740,686,23,528,568,325,752,327,660,224,408,567,340,377,214,942,950,871,876,557,588,575,771,456,473,440,197,633,237,103,441,863,126,990,408,599,33,822,785,57,549,802,243,375,263,829,336,194,342,9,871,191,156,355,504,625,479,962,188,985,678,922,749,849,556,475,86,540,958,252,722,697,167,678,420,393,516,858,949,642,381,459,680,369,767,514,10,238,669,333,515,309,278,744,509,304,39,308,649,1000,106,254,322,566,521,41,409,323,437,783,634,616,355,428,766,43,618,651,594,627,851,69,65,731,640,321,13,968,603,360,595,924,348,57,56,204,536,273,394,158,282,92,889,519,318,230,367,997,102,584,411,553,852,486,458,750,346,33,102,322,908,54,971,531,181,627,516,373,362,636,259,706,639,353,651,600,831,420,501,878,529,467,914,973,850,930,198,268,219,970,209,700,373,654,357,663,731,560,240,888,914,427,801,46,769,118,393,150,257,422,351,22,706,24,442,752,256,187,447,709,412],456],"output":false},{"file":"testcase_4.txt","input":[[790,656,162,714,131,346,773,316,697,325,543,615,855,591,355,75,576,775,585,184,972,166,383,13,709,389,296,77,612,778,101,610,226,656,788,171,61,985,651,421,271,877,231,471,808,463,515,195,330,130,341,325,550,860,695,917,221,384,646,378,316,553,460,660,358,425,871,951,495,757,523,626,511,816,721,921,514,172,322,295,460,883,5,516,688,764,53,604,313,649,482,713,310,639,181,823,406,191,447,200,856,615,630,934,605,564,714,967,742,861,813,492,758,639,530,507,939,468,738,94,919,294,221,799,978,511,48,311,71,897,991,981,546,951,619,318,208,856,152,838,337,61,456,665,112,620,191,768,846,277,866,306,853,861,697,889,602,602,71,829,272,146,144,356,871,409,897,753,408,786,144,912,796,439,165,321,242,702,860,314,913,515],154],"output":false},{"file":"testcase_5.txt","input":[[168,141,95,16,129,425,434,34,937,884,313,740,177,117,349,637,528,602,380,642,795,560,100,131,893,535,615,310,359,509,482,33,229,995,13,184,593,290,177,603,55,907,461,125,954,186,733,766,696,955,367,553,843,761,663,909,135,720,394,221,871,790,283,108,305,622,414,74,850,539,465,255,629,289,675,452,819,164,634,366,772,576,88,953,232,51,687,630,157,880,691,652,868,424,494,519,337,221,858,568,306,649,80,993,584,510,665,809,540,656,100,91,893,675,654,674,709,749,714,993,279,240,188,318,695,353,807,1000,144,334,655,548,83,775,668,900,819,724,214,492,827,442,67,944,11,53,333,723,834,699,645,885,537,321,466,320,555,903,567,435,829,615,91,908,80,105,316,644,298,90,579,632,532,913,128,165,938,772,456,64,846,708,192,492,399,69,735,879,512,350,7,431,668,410,568,871,485,290,183,282,353,770,352,379,382,689,569,365,687,628,519,638,204,214,537,682,882,542,624,680,806,390,261,477,865,352,370,791,914,930,259,509,36,525,44,958,671,109,731,311,740,529,740,481,423,117,108,287,818,331,714,888,298,346,73,918,964,988,823,685,541,224,596,668,816,283,378,573,545,306,405,972,249,664,657,310,414,298,602,363,898,378,914,979,552,929,750,471,596,363,792,611,14,910,999,19,466,666,322,571,984,972,790,282,338,933,390,514,857,166,63,54,409,25,441,885,620,408,778,806,623,302,465,514,712,160,124,946,134,548,944,55,243,915,190,193,655,77,428,688,118,506,498,401,70,860,633,137,749,933,270,609,923,910,542,574,922,391,979,81,941,785,139,841,76,881,887,132,816,824,623,859,570,700,634,212,970,242,930,663,915,47,421,248,380,50,994,708,121,142,884,816,963,44,253,319,801,34,912,774,489,277,773,710,353,57,841,461,359,892,332,462,802,88,153,63,541,83,805,610,269,905,470,268,427,592,716,974,540,400,46,212,712,684,645,885,152,19,956,138,208,805,223,1000,425,767,202,458,17,581,412,262,484,406,749,367,876,967,215,726,626,835,202,484,55,130,714,490,440,692,595,698,927,870,805,414,735,188,446,905,918,521,4,977,60,521,627,362,943,392,278,383,225,477,6,280,422,698,572,999,834,508,990,814,572,432,6,682,262,84,340,166,500,324,499,115,928,302,223,83,719,634,391,339,64,251,93,558,29,673,993,141,481,315,115,175,956,17,412,259,618,771,906,810,392,474,374],391],"output":false},{"file":"testcase_6.txt","input":[[129,432,334,236,623,195,454,583,735,659,161,324,340,756,375,549,463,778,928,172,218,869,744,959,104,395,916,463,772,39,146,485,73,604,916,99,845,509,171,164,701,836,120,633,836,171,861,546,647,268,951,255,77,41,345,189,603,289,400,239,584,311,907,663,449,689,898,958,842,823,621,338,843,88,5,740,508,484,375,520,620,497,594,37,693,717,256,400,537,82,747,197,58,949,354,23,832,176,840,213,306,64,20,350,245,801,630,333,7,259,636,238,755,22,931,105,694,932,356,586,648,669,874,491,873,605,453,187,605,595,26,652,765,428,146,42,778,798,897,386,439,41,805,90,852,585,988,693,111,884,366,155,270,296,546,496,828,133,934,2,280,658,780,812,179,394,833,991,903,396,603,966,633,704,200,635,174,527,597,200,843],22],"output":false},{"file":"testcase_7.txt","input":[[477,182,311,283,310,631,707,993,970,407,291,210,185,699,588,741,114,35,825,434,738,752,65,25,454,361,214,698,933,635,664,648,263,593,509,420,7,893,102,766,977,637,58,351,174,948,141,674,345,376,791,113,976,672,500,527,91,578,240,765,990,242,826,46,639,250,405,896,627,770,176,795,541,108,882,477,969,771,885,964,56,59,680,436,859,263,827,587,815,450,927,234,206,377,814,736,363,151,764,532,245,77,129,665,404,449,346,959,317,347,716,235,877,944,997,24,80,803,78,222,574,138,551,126,988,103,826,13,346,297,142,878,805,51,840,562,259,280,857,972,646,580,300,20,192,770,238,10,712,485,508,900,434,588,920,276,414,551,20,680,711,833,836,951,239,602,664,520,280,713,823,438,746,986,297,493,451,498,307,301,790,825,771,31,746,85,656,851,500,289,744,627,227,332,434,38,559,651,192,188,784,249,512,506,976,638,562,149,611,736,161,649,952,937,990,978,19,633,134,558,850,202,763,659,387,766,915,845,292,618,379,974,136,881,216,154,100,344,643,900,950,962,13,841,19,194,984,399,346,341,927,644,703,301,178,275,656,942,975,348,217,45,45,470,846,990,930,194,294,1,178,607,513,972,789,575,888,95,731,197,35,723,279,131,816,763,698,945,59,885,111,733,128,588,264,34,489,593,803,652,638,591,745,977,173,963,548,756,297,992,60,69,542,112,595,957,533,189,969,365,583,783,198,413,221,95,533,571,404,807,146,225,476,483,925,690,941,750,907,493,979,520,155,448,55,47,621,216,397,194,140,667,558,167,457,277,658,642,615,889,303,736,210,416,633,567,552,499,53,485,69,771,555,629,468,608,921,855,583,215,149,200,452,470,122,392,55,410,356,785,244,700,66,246,956,624,399,81,335,98,84,358,865,704,822,375,436,134,472,987,551,128,226,311,758,302,911,885,859,773,187,778,787,289,81,362,743,893,78,953,136,245,526,346,744,827,649,696,593,794,55,513,294,553,431,484,925,450,477,908,921,476,495,516,192,496,53,734,893,863,659,472,661,519,327,315,290,615,873,6,880,509,671,278,244,205,388,131,300,284,77,447,639,548,445,265,897,244,497,521,74,64,530,234,293,349,796,838,829,177,393,387,697,708,324,941,774,814,42,498,188,3,37,724,46,359,35,921,616,975,966,830,237,285,625,353,733,462,625,758,85,147,659,606,356,374,297,611,731,90,167,628,302,999,302,398,427,685,770,930,139,494,472,844,97,655,2,888,994,150,808,631,419,738,546,829,494,117,937,805,118,572,737,158,646,993,806,749,931,883,491,324,647,129,976,480,165,218,466,841,401,987,674,789,159,988,516,177,672,816,988,461,439,407,32,81,332,171,402,187,110,385,425,502,894,535,994,742,963,954,984,216,592,356,225,309,105,244,956,90,398,235,345,524,949,719,896,495,812,719,952,657,88,959,786,668,141,21,210,160,796,249,857,512,139,670,478,877,733,463,578,909,301,514,860,756,1000,791,979,34,825,151,841,781,550,519,932,98,534,162,668,208,489,346,309,620,797,422,904,114,208,308,485,167,601,763,783,627,759,139,864,911,121,894,723,467,748,249,343,165,757,173,393,122,788,506,68,911,630,675,5,653,252,471,482,57,463,16,412,315,246,1,203,764,10,530,855,594,123,618,609,711,206,23,536,76,38,375,349,297,11,743,93,811,619,543,710,53,249,463,54,38,995,17,377,182,317,855,685,316,600,698,711,775,874,165,477,503,681,888,612,653,69,221,613,216,403,487,328,879,807,239,145,39,280,504,277,330,642,443,47,433,136,83,326,13,524,624,57,196,676,482,946,260,299,831,90,872,900,397,750,857,407,635,123,157,57,510,324,740,113,127,772,16,851,792,471,309,845,538,521,494,144,394,202,920,220,580,811,898,680,645,142,988,187,760,802,986,49,87,414,136,711,561,235,804,213,586,601,840,710,480,721,142,534,853,648,302,6,749,677,951,200,411,94,542,271,458,376,596,54,923],687],"output":false},{"file":"testcase_8.txt","input":[[572,249,135,21,270,237,484,363,98,842,546,590,804,841,921,103,642,953,330,502,139,777,684,976,307,573,973,116,699,779,846,344,700,12,946,605,235,897,595,903,159,684,712,131,291,804,734,953,174,70,197,505,549],29],"output":false},{"file":"testcase_9.txt","input":[[533,333,441,489,531,679,937,3,719,968,233,157,184,910,28,566,812,874,322,185,747,635,220,421,787,447,864,399,324,310,354,955,696,481,11,274,976,167,59,914,558,221,26,468,250,449,916,118,307,960,670,601,843,855,210,844,71,796,390,229,404,814,291,801,928,164,143,991,521,588,317,230,727,427,293,347,293,90,600,676,368,930,538,401,198,441,565,914,164,921,779,69,347,625,686,913,687,387,117,411,266,780,556,554,853,850,405,590,379,396,874,302,30,363,852,975,226,129,275,799,445,67,858,513,226,828,257,915,544,567,127,921,649,200,388,35,534,654,327,439,432,894,789,472,955,812,237,472,661,793,968,877,790,893,859,452,703,584,800,770,835,421,984,10,542,895,732,481,275,811,262,823,717,746,457,239,260,548,650,179,170,174,64,201,468,113,535,893,976,182,568,170,298,85,655,446,283,541,213,997,239,449,585,585,914,306,816,554,171,656,147,879,348,245,580,88,984,601,323,84,972,761,464,445,350,778,341,456,776,217,21,922,861,135,381,399,321,780,639,542,301,472,26,770,121,39,126,750,997,52,606,385,282,112,544,779,668,870,164,840,312,721,893,400,349,207,961,477,823,623,249,201,130,40,985,313,870,206,88,874,532,217,826,261,539,658,563,54,992,286,453,667,500,46,319,242,991,834,638,784,992,178,917,640,13,776,993,194,224,385,598,204,953,782,78,890,964,262,823,698,520,574,502,653,253,967,43,440,874,553,981,580,918,589,954,155,23,708,437,582,33,531,659,623,92,271,569,533,283,32,476,771,44,41,119,718,221,737,609,121,535,484,793,179,425,935,571,645,571,222,759,693,267,61,678,358,989,678,285,289,618,468,989,194,228,734,24,203,559,571,127,645,18,429,58,735,824,741,5,176,991,472,903,469,95,465,660,476,314,30,979,452,842,603,586,357,453,571,614,598,137,332,398,813,281,353,54,305,798,389,373,21,912,782,490,156,842,297,168,352,890,183,669,234,18,819,420,145,33,527,474,531,139,711,305,149,383,31,561,745,167,115,92,938,423,892,204,901,230,54,94,561,329,271,148,983,556,725,29,606,969,258,769,594,346,380,93,952,331,936,473,743,294,619,974,515,821,71,297,256,38,235,55,867,370,278,802,879,573,134,642,253,103,145,572,696,489,883,260,675,223,997,771,746,258,639,203,18,367,211,208,971,92,993,986,630,631,533,800,749,347,404,476,70,325,137,962,180,966,732,449,194,568,767,788,970,4,859,523,101,723,665,476,483,99,698,261,381,200,92,331,514,606,845,939,52,810,203,663,582,471,79,903,555,235,27,804,310,951,706,603,685,224,728,362,341,136,846,965,941,225,6,865,277,326,163,302,946,401,460,633,788,27,275,511,195,641,480,150,479,860,342,913,386,752,494,265,863,626,478],447],"output":false}]
|
apply-operations-to-make-string-empty.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":"e","output":"e"},{"file":"testcase_2.txt","input":"hgjdlulfk","output":"l"},{"file":"testcase_3.txt","input":"ebznsudgllweguccvjzmfiooqcvsoaxqbktgfocnuzclsywfcfo","output":"c"},{"file":"testcase_4.txt","input":"iaapiibfwlptijpsxchvvfddzhhtrchuirdosfbfbrdlxuaofkwjkjzsfwuvcxgomwbnyvmyvelrcfnosyuwxmegrstrfhjyhnraoxjcgguwbwqgjhcvmcogiuutiorypcmbjowmbklrczbwbyipyemdyipqbiquwrbtazwptcmvqhjzamhuanxwlbdwxnxhltmmibokybixzfjbxcjeecl","output":"b"},{"file":"testcase_5.txt","input":"vlrbgwgkaruvhkoiwfwxrcwptgugwgrnbjoaodsukfdrtyogaokujokeoqgqmbuznfcxnhueabyhcvhuodhetgmafihadtuqqhjnnisugexubxuchrsfetvrppxrshnnotgqrptwcqgvlkfuhxxfkcxaoinblvxycogtbvpdtijvqukftsuyvxfnhzjdrqejqavbpyizjcnqkeeukxpptoheadywdsprvgzswgxekjytyuxghnatidktfwajiowfkjznifuvmgssqcuztqpefqnxcxmzuozcibebqngqgatubbirdlqtakpxqdczrvcojuujontvclizlthvbmtzefogosumxwvbpnsfimrsczucylrenhsbulpoyycjkzigwgegrdofucijoshzhlcjcnpgdpgqgwapasrvxrwzfsgteiicytexwwatzbhncmvddmanukemgplvcpfvmyaodkriwxmuoxzvozidrqqyitiagjvvrckpfuzixzvgltoygdpnamltjmpmqwaxobsbitfjukytetmadqxxmymnnngtbjcxykmmhqlnguirkektlxjtwauturewizdcwyxhrnkolpaffxdlxmyrarbzcajzcayoudsnigardhadvbjfavonnmwpskwwykshzerfzxybujzsxogqjfqspioyhbdrtubbnlatstdyzztgdizqhihdzndzsbpnhzmnopqsukqgfncnlexjrbdijxzxolzsddppnxtyablchlnlwvlqgdpjkvdipymhpequpyxicoikyudzarvbnsvtacltqyvixsaauulqyftwlduszommeuktyywknhlwvwptyggtxqusyglymguijsjucbkqwaurfrntiztwxdqjhuhuvihimthhbdnckgpxyvgdpbehwgsshdmmwwgvnnxrtcrlmwcoohvdakekxhsxecadbdfekpjdlgfxmqfwlwxyuvtqtvcbayviaxrqumzxgibf","output":"u"},{"file":"testcase_6.txt","input":"wimcepvrgdzlujfshxqtoaynkb","output":"wimcepvrgdzlujfshxqtoaynkb"},{"file":"testcase_7.txt","input":"ewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewbewb","output":"ewb"},{"file":"testcase_8.txt","input":"lwlfvouwcuuvnmfrgdgbflmqidqopjuierfxzubcaoufvoimdztddbedvhdhlcsogfkyicevnvqjcxmmzjogohouoqogcgnaxofptobwawtejmdykhlckejywzrmqpwdbijolquovnygxkwmh","output":"o"}]
|
apply-operations-to-make-two-strings-equal.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":["010011001101100010001000010101011011011100111011110011010111101111010110101001101010101101001111100010011000111011001011101010001010010100100000110111001100000010110111000000011010101001100100101101000011000000100001110000111010111000001110101","110101111100111010111111110010111101110101000111011100000010111110001110011011001011100110010010011001010011010101111000010101001101101110100101111011010001001001001001010101100111011100111011001010011100100110001010010010100111101100001101001",357],"output":121},{"file":"testcase_10.txt","input":["0100101000011011001101110101000101000010001001011011000000111000001100100011110010110001011111111111110100011100000111010000001100001000011000001010111011110111100110001010101010000010010010010000110001111011001001100010011110010101010000011101010111001011011100100011010011101001110100101111110001101011100000101001100010001010110010100100000010100011000111101000010100101100110001011001101111000110111011011111011100010100100111100001101111110011001000111011011111110001001001","0100101000011011001101110101000101000010001001011011000000111000001100100011110010110001011111111111110100011100000111010000001100001000011000001010111011110111100110001010101010000010010010010000110001111011001001100010011110010101010000011101010111001011011100100011010011101001110100101111110001101011100000101001100010001010110010100100000010100011000111101000010100101100110001011001101111000110111011011111011100010100100111100001101111110011001000111011011111110001001001",67],"output":0},{"file":"testcase_2.txt","input":["1011010100010110110101110001011000001110110000000110011000000001111001101111111110110101010011001001000101110000110100110110010101001001111110101001010000101011001011100100000000111111111001010001010100101100001011010010111011001110011110100101010011100011110111111101111010010000100010111000011011101010110101111111000110001000011100010111110011001101110101100001011001000001001000","1011010100010110110101110001011000001110110000000110011000000001111001101111111110110101010011001001000101110000110100110110010101001001111110101001010000101011001011100100000000111111111001010001010100101100001011010010111011001110011110100101010011100011110111111101111010010000100010111000011011101010110101111111000110001000011100010111110011001101110101100001011001000001001000",366],"output":0},{"file":"testcase_3.txt","input":["01000001101100100111011000101101111111101110000110000010001101111011011110110011110101001101011101001010011010000100110100001110001011010011101111100111000010010000010101100001001001011000011001100110000011011111111101000111100110110111110100001111100011111111111101100110010101000000110000111100110000110100001010101100100010111010110111111111011110010011111011101011110101111100000111101010000001000101000101000111001001111000111001100011110100111000101110000011010011","01000001101100100111011000101101111111101110000110000010001101111011011110110011110101001101011101001010011010000100110100001110001011010011101111100111000010010000010101100001001001011000011001100110000011011111111101000111100110110111110100001111100011111111111101100110010101000000110000111100110000110100001010101100100010111010110111111111011110010011111011101011110101111100000111101010000001000101000101000111001001111000111001100011110100111000101110000011010011",86],"output":0},{"file":"testcase_4.txt","input":["111010110001000100100010010011111","100101111100110111110110001100101",447],"output":15},{"file":"testcase_5.txt","input":["10110111000111110110101001001100101101000000101000100110001111111011010100101000111111010011001010000001100110100111111010001101111111110111000110101011101100001110011100101010011110000000110001110101010011010000010100001111010100000000011001100011110010011101001011101011100100000000011101011010010010010001101100000111101101101010010111101011011000110111100010011000100101100011010110101110111001110110111111010111101011101001110100001111111000010011000110111000110000","01010100100001011111001100101010011011001001111110101011001011101001001101100110011110010111001111001100001001001101110111001100110000111100100011011100011110100000100001011000100000101010100101001111011010010100101100000000110010100111010000110101011000000100101010110110111100110101101011010101101110110000001001000010101001000001100111000100111000010010111001000000110101101110010101010011011101010101011111100110110111000111100010101101011100001110011111100111000011",311],"output":-1},{"file":"testcase_6.txt","input":["101000100101111101101110001100011110000010110011010111011101110110011111001111","101000100101111101101110001100011110000010110011010111011101110110011111001111",127],"output":0},{"file":"testcase_7.txt","input":["01010010111010000110111001101011010111101111111110100010001000110001100111010100110001110100001100011010011011000000110011001010000001011110001101111110001100100001101010111001110101001101011110001000110100101111000011010111110000100001110100000100101111111100011100011110001000101010001011000111010111010101100001001011100010101011100100001011001001001011011101100110001110001100011111100110111011001010011110000","10000001010110100110101110010001101110010001111000011101101001110010010101110101001111111101110001010010110010101100101110110100111010111011001100100010001100010101110111010000111111000111000111001110110100101011000011100110000000100100000101010111110100001000101100110100010100100101010111000011000110000101111011001111011110100011110011001100100001000010111001000100011000110001110110110111101111001110011001001",278],"output":202},{"file":"testcase_8.txt","input":["0110001110010001101001111100100101010000111100010100000111000101101011010111011110100010001011110101110011101110001101011111010100001101000010000000100011100111010001010001011100101011101101111110000011","0010110111100110000000111101000010000111110100110101011101001111011100011101110100101011100110010101000101001001001010011100001001001111011001100001100111000010001110101101011100100011001011101000001011",389],"output":99},{"file":"testcase_9.txt","input":["1100011010100100100001010010000000010100010010001000100000111001010101010000011011101000011111110101111111111011001100010110100100100101000110100110011101010011110111011001110111","1100011010100100100001010010000000010100010010001000100000111001010101010000011011101000011111110101111111111011001100010110100100100101000110100110011101010011110111011001110111",116],"output":0}]
|
apply-operations-to-maximize-frequency-score.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[10,14,20,22,25,29,30,31,34,35,37,37,50,53,53,57,58,59,59,60,62,62,69,76,81,83,86,87,90,100,104,108,115,123,124,125,136,139,144,149,153,154,160,169,173,180,180,181,186,191,197,199,201,204,207,209,214,223,225,231,245,247,250,252,254,255,261,263,274,278,281,285,285,288,292,292,314,317,320,323,325,325,328,332,344,346,347,348,348,353,355,364,365,366,366,368,376,382,385,388,392,392,400,401,401,408,410,411,415,425,426,427,435,443,444,449,454,461,465,465,465,466,472,473,473,481,483,485,486,488,495,498,506,507,508,514,516,518,522,523,525,526,527,528,533,539,546,550,551,558,562,563,566,569,583,588,590,592,592,597,599,608,610,611,623,624,631,631,640,641,641,644,646,655,657,664,667,673,675,686,690,692,693,697,704,707,709,711,712,712,712,712,715,715,720,732,741,744,744,747,747,748,748,751,757,759,765,767,769,773,776,778,780,781,781,785,796,800,804,818,835,837,838,840,845,850,852,857,858,859,862,863,865,872,874,876,878,880,886,888,891,901,904,905,907,909,914,914,915,921,926,934,938,939,945,947,951,955,955,955,956,957,958,963,964,975,975,979,987,990,994,997,998],325],"output":22},{"file":"testcase_10.txt","input":[[9,25,27,31,53,56,64,80,91,139,150,165,174,176,187,201,201,210,232,240,248,254,259,281,302,322,324,340,346,351,355,363,371,371,383,384,389,409,414,418,463,479,479,479,485,489,490,503,505,513,516,542,543,561,566,585,587,596,610,611,634,635,645,651,655,658,660,689,725,732,747,751,755,767,773,776,783,784,791,801,807,809,848,850,855,909,919,927,928,929,940,945,947,964,975,999],26],"output":5},{"file":"testcase_2.txt","input":[[1,1,2,3,4,4,4,5,8,9,11,12,17,18,18,20,22,26,33,34,34,35,35,36,42,42,43,43,44,44,46,47,49,50,54,54,60,61,61,64,65,70,71,71,72,73,75,75,75,76,76,77,80,80,84,84,86,89,89,91,93,95,96,102,103,105,108,108,108,109,110,111,113,113,116,116,117,118,118,120,120,121,123,126,126,127,129,130,131,131,132,132,133,137,142,142,144,144,150,151,151,151,152,152,155,157,157,158,158,159,162,163,168,170,170,171,173,173,176,176,177,177,178,182,182,185,187,189,189,194,196,200,203,207,207,208,209,210,211,212,213,214,215,216,221,222,222,225,225,225,227,227,231,232,233,235,237,238,238,241,241,242,242,243,244,248,249,250,250,250,252,253,258,259,264,269,270,271,272,273,274,279,279,281,281,281,282,282,284,284,284,285,287,289,291,294,296,300,301,302,305,306,307,311,312,315,316,317,319,320,324,324,325,327,327,328,328,330,331,336,341,342,342,342,344,345,347,347,349,350,352,354,356,357,360,360,362,363,367,367,368,369,370,370,372,373,373,376,379,379,381,384,385,389,389,392,399,402,406,410,415,415,415,415,420,427,427,429,429,430,431,433,435,435,436,437,439,441,441,441,442,443,443,443,444,444,452,456,456,461,462,464,466,470,470,472,473,473,477,478,478,478,479,479,479,479,479,481,481,484,486,486,486,486,487,487,487,490,490,492,492,499,500,501,508,510,511,513,514,514,515,515,516,518,519,522,522,524,525,526,529,531,534,534,534,536,537,539,540,543,543,545,546,553,557,558,558,559,563,563,565,569,571,571,573,573,573,576,577,577,579,579,580,580,581,581,581,581,582,582,583,585,588,590,593,597,599,601,604,604,604,607,608,608,610,610,612,613,615,616,616,617,618,619,620,621,622,623,626,628,628,628,628,630,631,632,632,635,635,637,637,638,638,640,645,647,648,649,654,658,658,659,664,667,667,667,667,668,668,670,671,671,672,672,673,673,673,675,675,677,678,679,680,684,686,687,687,690,690,691,694,695,696,696,699,699,699,702,703,704,705,705,705,705,707,708,710,711,711,714,714,716,718,718,719,723,724,725,725,725,726,728,734,739,740,741,742,743,744,744,745,746,746,749,750,750,752,754,754,756,756,757,757,757,761,762,762,763,763,764,765,767,769,774,777,777,779,779,780,780,781,781,783,784,786,788,789,791,794,795,795,796,798,801,802,805,806,811,811,812,813,814,819,822,822,824,825,829,830,836,836,838,839,839,840,841,841,841,841,842,842,846,851,851,853,854,856,857,860,862,863,864,866,871,872,873,874,876,876,876,878,879,884,884,885,887,888,889,891,892,892,892,894,894,896,898,900,905,906,906,908,909,910,910,911,914,914,915,920,921,921,925,927,929,930,930,933,933,934,938,938,940,941,941,942,942,943,943,944,944,944,945,945,947,948,951,954,955,956,957,957,957,959,960,963,964,967,967,968,970,970,971,974,975,976,977,978,980,983,984,991,993,996,997],349],"output":37},{"file":"testcase_3.txt","input":[[9,12,21,24,31,40,49,57,58,93,113,121,129,136,141,160,164,167,169,170,173,176,177,190,193,203,205,207,207,218,220,238,243,258,260,262,288,299,303,315,317,317,320,334,335,336,344,348,366,368,371,371,382,385,388,396,398,401,414,417,424,425,429,430,445,449,458,460,463,465,488,491,498,500,502,503,514,521,522,529,529,532,539,539,543,543,544,546,553,553,563,571,572,589,604,604,606,615,615,616,618,631,639,641,648,648,653,657,662,666,672,675,684,690,690,709,718,720,722,725,731,735,737,742,744,746,752,753,758,766,767,768,778,798,799,800,805,810,812,814,823,825,826,828,830,840,847,852,864,864,868,869,872,882,891,895,904,905,910,918,918,925,926,927,931,936,943,947,948,951,952,956,965,966,970,976,985,994,995,996,997],88],"output":11},{"file":"testcase_4.txt","input":[[2,2,2,3,4,5,7,9,11,11,11,12,13,15,15,16,17,19,20,21,22,23,23,23,26,26,27,27,27,29,29,30,31,31,33,33,34,36,36,38,38,39,39,40,43,44,47,50,51,53,53,54,54,54,55,57,57,59,59,60,62,63,64,65,65,65,67,68,69,71,73,73,75,76,76,77,77,80,80,82,83,83,83,84,85,85,85,86,88,89,90,90,91,94,96,99,100,102,103,105,105,106,107,108,109,109,110,110,111,112,113,114,119,120,120,125,127,129,129,130,132,132,133,135,136,137,140,141,141,142,143,147,149,152,154,157,157,159,160,163,163,165,167,169,171,172,176,177,177,179,183,187,190,190,191,193,195,197,197,200,200,201,201,201,201,201,202,204,205,206,207,208,208,208,211,214,215,215,216,217,217,219,219,220,222,222,222,223,224,225,226,226,231,234,235,237,237,239,240,240,242,245,246,246,247,247,247,248,249,253,253,254,256,258,258,259,266,266,268,269,270,272,276,277,278,278,279,281,283,283,283,285,285,289,292,292,292,293,295,296,297,298,298,298,299,300,303,304,307,309,310,310,310,311,312,313,313,313,313,316,319,319,320,320,321,323,324,325,329,331,335,337,340,340,340,340,340,342,342,342,343,343,345,345,345,347,349,351,352,353,355,357,358,358,358,358,359,359,359,360,360,361,362,363,364,365,366,369,371,375,377,378,379,380,380,380,381,382,382,384,385,385,386,388,388,391,392,393,394,394,394,395,395,396,397,397,398,399,402,403,406,407,409,410,410,411,412,413,414,415,417,417,419,421,421,421,423,423,424,424,424,425,425,425,425,426,427,427,431,433,434,435,435,435,436,437,437,438,440,440,440,442,442,442,442,445,445,446,446,446,447,448,448,448,450,453,454,455,457,459,459,460,460,461,463,463,467,469,469,470,470,471,471,472,476,477,477,478,479,479,481,482,482,483,485,485,486,487,487,487,488,488,489,489,491,493,494,500,501,502,502,504,504,505,506,508,508,509,509,510,511,512,513,513,515,516,516,516,518,519,522,524,525,525,527,529,529,530,530,531,531,532,532,534,536,537,538,538,540,540,540,540,540,541,541,542,543,543,545,545,546,547,548,548,549,550,550,551,552,553,556,557,557,557,558,560,561,561,562,564,564,565,566,569,569,570,570,570,573,573,573,574,575,575,576,576,578,579,579,582,582,582,583,583,584,584,585,587,587,589,590,592,592,594,597,597,597,598,600,602,603,604,604,605,608,609,609,611,612,613,613,613,615,615,616,616,617,618,618,619,620,620,622,626,627,628,629,629,629,631,631,631,632,633,633,633,636,636,637,638,641,642,644,646,647,648,649,649,652,654,659,659,660,660,661,665,666,667,668,668,668,672,673,674,675,675,678,679,679,679,679,680,680,683,684,685,686,686,686,686,686,687,688,688,690,690,690,690,691,691,691,692,692,694,694,697,697,701,702,703,703,708,710,710,711,711,711,713,713,714,717,717,718,718,722,722,723,724,726,729,729,730,732,733,733,734,738,740,741,742,744,744,745,746,746,752,752,753,753,753,754,755,759,760,760,763,764,765,765,765,765,766,766,768,770,771,772,772,772,773,773,775,776,779,780,780,781,785,785,786,786,787,787,789,789,792,794,795,797,797,800,800,801,802,806,807,811,812,813,813,813,813,814,815,818,819,820,820,822,826,826,828,828,828,829,829,829,830,831,831,832,833,834,835,836,837,838,838,838,839,839,840,843,847,847,848,849,849,852,854,856,858,859,860,862,862,862,862,867,868,870,870,871,871,872,873,874,877,881,881,885,888,888,888,889,889,892,892,892,893,894,895,896,896,896,896,898,898,900,900,901,903,905,906,912,912,914,915,918,919,920,920,921,921,922,923,927,927,927,928,928,929,930,931,932,934,934,935,937,938,940,941,942,942,943,950,950,951,955,955,956,956,958,959,959,960,960,960,962,962,963,965,968,968,969,971,972,974,976,979,980,981,982,983,983,984,984,987,987,988,988,990,991,991,993,993,994,997,998,998,999,1000],84],"output":25},{"file":"testcase_5.txt","input":[[2,2,7,7,11,16,16,18,19,20,21,23,25,27,27,28,29,31,33,36,37,39,39,40,41,41,42,43,44,46,47,51,51,51,53,53,54,56,56,56,56,57,57,58,58,58,59,61,61,62,63,64,64,66,67,69,70,71,71,71,72,74,75,75,80,81,82,85,87,92,93,96,107,108,111,112,116,116,118,118,120,122,124,125,131,132,134,135,138,139,140,145,147,148,148,150,151,154,155,157,161,162,162,163,164,165,166,167,167,168,170,171,171,174,174,174,175,176,176,180,181,182,182,185,185,186,187,187,189,192,193,193,198,199,199,203,205,206,207,208,208,209,210,210,210,211,215,215,216,220,223,224,224,228,228,228,230,232,232,234,234,235,238,241,244,244,247,248,248,249,249,250,252,257,258,261,262,272,272,273,273,275,275,276,276,277,278,278,280,281,281,282,283,283,285,286,288,288,288,291,292,294,299,299,302,303,304,304,305,306,306,306,307,308,309,310,312,313,316,316,317,319,319,324,327,328,329,329,333,334,334,336,336,338,339,342,343,343,343,344,344,345,349,352,355,356,356,358,359,359,359,361,363,364,367,367,369,369,371,374,376,376,376,381,381,381,382,383,385,385,388,389,390,391,394,399,401,401,402,403,407,408,410,412,414,416,416,417,417,417,421,426,430,432,434,436,437,437,438,438,440,441,441,442,444,445,447,448,449,450,451,453,455,459,461,461,462,463,464,464,464,464,465,465,469,471,473,475,482,482,486,486,490,492,492,495,496,496,498,499,502,502,502,504,512,517,519,522,523,525,525,527,528,528,531,533,535,535,538,542,545,545,546,547,547,549,549,551,552,552,552,552,553,554,555,555,556,556,559,561,561,562,563,566,567,568,569,570,570,571,573,574,575,575,575,578,580,580,581,585,586,587,588,590,591,593,594,597,598,598,598,599,603,604,606,608,612,613,613,614,617,620,622,622,623,627,628,631,633,634,634,636,637,637,638,639,640,640,642,642,645,647,648,650,650,654,654,655,656,659,659,660,662,665,665,667,670,670,672,672,672,674,677,678,680,681,681,681,685,686,687,688,689,690,691,692,693,695,696,696,699,700,701,702,705,709,711,719,720,722,724,724,725,727,728,728,730,733,735,735,736,736,737,738,739,741,741,745,746,748,749,749,750,754,754,755,756,759,759,759,761,763,764,765,765,765,765,774,775,778,780,781,783,784,789,790,794,795,795,798,801,802,804,805,805,806,810,813,813,814,814,815,816,818,819,821,822,822,824,829,830,830,842,842,843,846,851,851,852,857,859,862,862,863,863,863,864,865,868,868,868,870,870,870,873,874,875,875,875,875,879,880,882,883,884,885,885,887,887,887,888,890,891,893,894,894,895,895,903,903,903,905,905,906,906,907,909,909,911,914,915,915,915,916,919,919,922,924,925,927,930,931,931,933,933,934,935,937,938,939,942,943,944,946,946,947,947,948,949,950,953,955,956,958,963,965,968,969,970,970,972,974,977,977,977,978,979,979,982,983,984,987,987,989,990,990,992,993,995,996,997,999],146],"output":28},{"file":"testcase_6.txt","input":[[1,4,5,8,9,10,10,17,18,18,19,20,20,20,21,21,24,24,28,31,33,33,35,36,37,39,40,41,50,51,54,55,55,56,59,63,65,66,70,73,74,75,79,81,85,94,96,100,101,103,103,107,109,112,115,118,125,127,128,131,131,134,140,143,148,151,157,158,161,163,163,163,165,166,166,169,173,178,180,180,181,182,184,184,184,187,191,192,194,194,203,206,210,210,211,215,217,217,218,219,222,223,228,232,234,240,242,244,246,247,248,252,255,257,257,260,260,262,262,262,265,265,266,268,268,269,273,274,275,275,275,281,281,282,282,285,286,286,289,290,291,293,294,296,297,302,306,306,310,310,311,315,319,322,323,324,326,326,326,326,326,327,329,329,332,334,335,339,339,342,342,343,344,345,345,351,351,354,355,355,359,359,360,360,361,363,366,367,370,370,371,373,376,379,380,380,380,383,384,384,384,386,387,389,389,390,391,394,396,399,401,403,404,405,406,411,411,412,414,417,418,419,422,423,428,429,433,433,437,438,440,440,443,445,446,446,446,449,449,450,451,456,457,457,461,463,464,466,468,475,476,480,482,483,487,487,488,490,491,493,494,504,506,508,511,514,514,515,515,532,533,533,534,537,538,540,544,545,545,545,549,550,557,558,559,559,561,568,573,585,585,586,588,597,598,599,600,601,602,606,606,608,610,616,628,628,632,634,636,639,640,642,645,646,647,651,651,657,661,661,662,665,666,667,668,668,672,675,676,679,681,682,683,684,691,692,693,694,696,696,698,699,700,701,703,705,706,707,710,713,715,716,718,718,722,722,724,725,726,728,728,730,734,735,740,743,744,745,747,749,750,751,753,754,755,756,757,759,759,759,761,763,764,765,768,769,771,772,772,772,778,778,780,781,782,782,788,789,789,790,793,795,795,796,799,801,808,813,813,813,815,816,817,818,820,821,824,825,825,830,835,836,840,845,850,851,851,853,853,854,855,857,859,864,868,872,877,883,883,886,886,887,889,893,897,903,905,913,915,916,932,937,938,938,939,940,944,948,948,954,959,964,979,980,981,981,985,986,988,988,995,999,1000],24],"output":12},{"file":"testcase_7.txt","input":[[18,18,26,26,27,37,45,63,64,64,66,66,67,75,78,80,81,84,92,101,107,114,114,124,124,131,139,147,149,156,157,171,182,188,188,193,205,213,214,223,229,230,235,252,260,262,263,268,287,294,296,308,320,320,330,333,336,343,345,348,351,352,354,360,372,374,377,383,387,392,395,399,409,411,416,421,427,434,437,449,452,452,452,455,456,458,458,464,470,471,474,477,488,490,492,499,507,508,509,514,519,519,521,524,525,528,545,553,566,573,582,594,596,612,614,620,629,634,639,651,654,654,670,684,686,690,699,702,704,709,713,716,719,726,728,749,755,758,760,762,763,766,771,773,785,791,800,806,812,824,825,837,841,843,848,854,856,861,884,890,899,905,909,915,925,930,930,934,937,941,942,943,971,983,992,993,993,995,1000],533],"output":25},{"file":"testcase_8.txt","input":[[1,2,3,4,5,6,8,9,13,14,15,16,17,17,18,19,19,19,21,24,24,27,29,30,31,31,31,33,34,34,35,36,36,38,42,43,44,45,56,59,59,60,60,62,62,63,66,66,66,69,71,71,71,75,77,78,79,80,80,81,82,83,86,86,87,87,91,92,94,94,94,94,95,96,97,98,99,102,103,105,106,108,108,108,108,112,112,112,117,119,120,121,121,122,122,125,127,132,133,134,135,137,137,142,142,142,142,144,146,146,146,149,150,151,152,155,155,156,158,160,162,164,167,167,169,170,170,172,174,174,177,182,184,186,186,188,189,191,192,193,197,198,198,198,198,198,199,200,201,201,202,203,203,205,206,207,207,207,207,207,215,216,217,221,223,224,225,225,225,228,228,229,230,231,231,232,232,239,240,240,241,241,242,243,244,245,245,249,250,250,252,256,257,258,258,259,261,263,265,267,268,268,268,269,269,270,270,271,271,275,276,277,278,278,279,280,280,280,283,284,285,287,287,289,290,291,291,292,292,297,299,299,299,300,300,302,302,303,304,304,304,305,305,305,306,307,308,308,308,308,308,309,309,310,310,312,313,313,314,315,318,320,321,323,324,325,325,327,327,329,331,332,334,334,334,335,335,336,337,337,337,338,338,339,346,346,350,351,351,352,357,358,359,360,361,361,362,364,367,371,373,374,377,379,380,380,381,382,386,386,387,389,389,390,390,392,392,392,393,394,395,395,395,397,398,400,401,401,403,404,404,405,406,406,406,408,410,411,412,412,412,412,416,416,417,417,418,419,420,422,423,425,426,426,427,428,428,428,429,431,432,433,436,436,438,438,439,441,441,441,442,442,444,444,445,446,448,448,451,453,454,454,461,461,462,462,464,464,465,466,467,470,471,471,471,472,473,473,474,474,475,475,476,477,479,479,479,480,482,482,483,483,484,486,486,490,490,491,492,492,495,496,499,500,500,502,503,505,505,508,509,509,513,514,514,515,515,516,516,518,518,518,519,522,524,524,526,528,528,534,534,536,539,539,540,540,542,542,543,550,550,553,555,556,559,562,563,565,566,569,570,573,573,574,575,576,581,581,582,582,584,584,585,586,587,588,588,589,590,591,593,593,594,595,595,596,596,598,599,600,601,601,602,602,603,603,605,605,606,608,608,609,609,610,611,613,614,614,615,615,615,616,616,618,619,619,619,620,621,624,624,625,625,625,627,628,628,633,633,634,634,635,636,636,637,640,641,641,642,642,642,643,643,643,643,648,648,649,652,652,652,653,653,659,660,662,663,666,666,671,672,673,675,678,678,680,680,684,685,685,686,687,687,689,689,689,689,689,690,690,691,692,694,695,695,696,696,697,698,700,700,701,702,703,703,704,705,707,711,711,711,712,712,713,713,716,716,717,717,718,718,721,722,722,723,723,725,727,727,728,728,728,729,729,730,731,732,733,734,738,738,739,741,743,743,745,748,749,749,749,750,750,752,752,753,753,755,755,756,756,757,759,761,762,763,763,763,764,765,766,766,766,768,770,772,772,775,777,777,778,779,779,781,783,784,788,791,791,791,792,793,793,793,795,796,798,799,800,801,802,803,806,810,814,815,815,815,816,816,817,819,820,820,820,821,821,822,823,823,826,826,826,827,829,831,833,834,835,837,838,839,839,839,840,841,844,845,845,845,846,847,849,849,850,851,851,852,853,853,853,855,856,856,857,857,860,861,866,866,869,869,869,870,871,871,871,873,874,874,875,876,876,877,878,878,879,880,880,881,881,884,885,886,889,889,890,892,892,893,893,894,894,896,896,897,897,898,898,901,902,903,905,906,906,908,909,910,911,913,913,917,918,920,920,920,922,925,926,926,928,929,929,930,931,931,931,933,933,934,934,935,936,936,936,937,938,941,941,942,944,946,949,951,951,951,952,954,955,961,961,961,962,968,970,971,972,972,974,975,977,981,985,985,985,985,986,987,987,989,990,995,997,1000,1000],297],"output":42},{"file":"testcase_9.txt","input":[[11,11,23,26,27,29,36,38,44,45,51,64,69,69,70,76,80,82,84,86,88,91,93,98,101,104,105,105,106,111,116,119,133,134,139,148,149,164,165,168,168,171,180,184,188,190,193,208,212,219,220,224,225,231,231,233,239,242,247,248,249,254,260,267,273,282,283,283,289,299,300,321,333,334,335,342,343,346,349,353,356,356,358,359,360,364,365,371,372,375,379,380,387,398,398,404,406,413,424,437,440,442,446,446,455,458,469,475,480,488,499,505,507,511,517,517,518,524,524,525,534,541,543,544,550,553,556,563,567,569,569,573,574,574,576,577,577,588,593,599,600,604,606,612,615,615,617,620,623,627,631,633,634,634,634,637,638,639,648,670,673,682,685,686,689,699,702,713,715,715,718,720,721,724,724,727,730,733,747,750,759,760,766,767,768,773,776,776,777,778,783,786,788,794,797,797,807,815,815,817,818,826,838,844,846,848,855,857,859,859,863,868,874,876,880,882,883,884,887,887,891,896,904,909,910,917,918,923,930,931,936,940,942,947,949,952,956,958,962,963,967,968,968,969,972,974,989,996],9],"output":6}]
|
apply-operations-to-maximize-score.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[298,693,867,351,483,442,880,835,262,589,956,941,129,429,422,84,23,883,752,670,484,814,323,619,579,53,8,632,824,257],424],"output":836400918},{"file":"testcase_10.txt","input":[[568,433,999,332,546,429,699,92,220,567,730,27,836,963,326,733,97,198,758,50,769,237,600,47,652,3,687,160,577,386,958,859,715,715,201,854,73,203,212,670,699,944,756,597,477,348,836,567,259,754,922,927,183,905,125,160,213,350,734,709,208,950,708,476,232,218,562,361,840,884,944,669,89,25,386,377,480,645,867,564,218,366,543,823,177,622,946,384,384,452,41,333,253,822,201,530,246,644,567,775,401,990,872,95,552,678,896,468,1000,696,950,166,937,454,126,166,351,178,970,526,855,196,946,556,543,46,47,379,776,589,957,70,571,880,881,897,948,639,732,747,135,974,320,683,521,954,413,97,424,465,608,487,635,908,118,890,979,896,229,93,468,5,692,851,201,762,618,640,605,106,229,93,925,891,747,321,89,935,547,449,905,664,539,889,303,389,448,71,245,153,581,540,238,317,680,765,704,596,332,714,424,455,647,716,927,125,351,846,534,276,577,858,663,222,737,857,489,505,472,892,755,699,815,139,213,135,74,854,394,764,195,852,713,902,607,616,535,621,959,298,855,518,448,223,25,802,145,561,233,6,703,374,740,517,123,935,899,778,71,796,752,551,300,717,385,361,358,440,805,456,395,806,591,776,243,125,581,307,33,763,422,710,729,237,54,705,611,668,54,427,532,826,365,142,743,592,563,679,147,656,532,187,659,304,173,512,173,110,859,876,645,593,578,308,707,661,821,949,34,782,836,14,937,63,64,341,396,530,565,595,683,464,824,342,48,185,862,31,107,994,511,753,270,949,10,324,551,462,412,677,256,545,657,786,152,525,247,26,909,109,317,81,20,145,381,923,887,489,770,458,500,142,428,776,676,363,738,494,514,624,45,170,366,121,39,705,459,712,417,987,540,266,848,817,566,451,83,577,983,184,440,347,101,216,395,517,835,745,760,197,436,676,972,388,624,644,913,631,417,985,905,495,574,473,6,364,294,526,881,396,111,221,244,590,647,746,110,248,271,495,854,89,548,978,937,304,826,426,113,277,756,880,424,139,590,207,316,601,628,319,990,195,578,287,58,589,487,136,79,937,932,979,553,32,233,338,164,111,408,724,165,260,174,81,116,960,229,823,429,566,230,384,69,187,572,927,111,638,149,977,792,131,339,959,1000,566,770,856,98,185,970,413,533,171,34,104,966,569,590,338,525,604,504,466,909,850,645,126,688,562,54,44,500,214,533,713,151,510,914,947,751,534,633,767,982,858,456,747,889,242,727,943,510,916,584,943,725,153,432,763,947,857,315,788,40,4,401,578,515,79,631,57,124,702,267,698,167,864,784,921,878,634,261,255,827,40,933,821,420,543,743,89,620,108,786,453,559,222,876,14,280,402,932,582,693,838,649,798,882,73,695,903,400,7,684,417,249,695,899,941,352,753,956,401,641,226,626,562,182,194,961,45,718,797,310,284,440,360,661,366,598,565,513,484,655,90,158,80,346,355,687,481,39,987,701,202,814,587,205,647,806,37,464,233,201,945,732,833,638,980,179,903,726,430,812,632,644,501,301,706,443,927,671,510,389,422,736,525,180,790,859,856,756,226,871,297,289,786,249,239,696,366,58,776,985,658,100,668,849,597,681,724,197,313,887,334,271,606,195,934,511,283,726,388,491,757,178,402,855,669,403,138,643,348,175,585,894,573,468,232,848,481,131,781,977,474,133,391,638,613,779,122,181,631,50,145,692,525,147,556,464,743,975,398,412,172,95,831,507,732,123,946,389,283,60,278,751,878,851,767,693,328,793,911,55,94,494,206,825,398,481,101,543,713,571,834,313],560],"output":435385091},{"file":"testcase_2.txt","input":[[488,741,9,349,773,852,42,395,138,304,392,315,69,382,460,32,802,42,880,996,107,350,413,426,368,235,811,839,597,502,166,780,705,351,920,194,524,401,621,79,112,120,502,687,489,233,84,974,35,720,488,626,265,336,235,580,270,711,427,629,40,292,219,132,287,607,498,978,681,155,793,403,239,847,618,214,723,372,906,974,653,146,771,859,126,222,279,828,612,71,299,337,87,533,356,731,763,255,140,819,530,634,269,318,836,588,736,589,632,865,485,787,703,616,344,677,153,447,778,714,750,225,616,760,779,75,292,252,517,313,364,590,386,609,959,442,108,555,519,513,632,666,102,853,773,183,746,869,152,628,699,702,958,433,236,767,171,316,524,636,613,170,748,665,361,768,58,723,603,915,928,104,717,437,438,109,480,223,752,887,918,862,212,373,929,543,237,315,543,124,494,132,691,26,653,130,495,468,283,33,984,974,233,545,179,342,675,712,161,760,489,500,727,252,699,89,723,62,282,241,143,403,402,655,693,835,79,886,372,999,358,929,926,183,222,406,62,364,480,313,202,601,590,407,326,22,615,996,598,832,425,700,570,587,939,97,329,756,869,769,930,231,348,734,489,614,949,414,450,396,879,535,94,150,6,298,925,315,105,262,805,757,566,614,181,853,998,845,789,661,580,259,501,713,946,650,232,86,918,213,157,435,845,303,290,778,512,331,933,484,408,428,175,59,136,895,497,264,217,797,766,957,715,578,494,405,421,536,310,343,330,701,841,560,737,418,616,767,946,776,250,388,552,932,540,727,929,836,148,13,583,98,476,931,407,235,262,347,573,67,626,168,943,853,232,74,696,782,542,939,957,503,273,576,501,597,367,363,256,854,110,497,704,744,649,757,364,69,999,175,112,261,460,178,65,855,721,928,319,312,357,201,103,175,467,233,20,571,529,283,330,720,649,270,818,938,733,249,72,612,482,313,900,90,255,395,158,200,979,104,137,202,488,111,586,952,758,425,685,357,816,438,583,643,273,346,500,71,969,63,325,724,33,30,702,172,268,186,808,983,296,511,190,795,300,235,839,273,850,800,252,402,691,887,675,772,530,833,1000,663,121,606,599,322,130,456,383,265,196,439,800,882,157,837,77,791,808,198,511,832,906,4,211,266,607,104,534,271,887,993,565,503,343,34,811,24,279,189,932,321,649,239,660,622,39,783,858,450,208,564,195,779,144,342,462,570,599,474,895,423,506,739,65,12,863,482,822,882,488,565,289,35,103,669,648,262,470,182,82,952,665,122,418,183,841,307,194,732,645,878,219,846,978,597,889,835,155,251,109,93,912,540,890,159,785,802,31,639,726,576,911,69,367,493,169,247,121,575,652,816,818,569,437,994,494,248,345,759,88,649,705,922,559,23,339,445,168,830,624,696,416,253,634,671,901,88,718,68,767,343,304,611,959,631,557,629,144,500,103,489,35,601,419,324,624,205,992,899,432,207,258,667,375,973,584,218,554,762,833,982,151,336,964,352,915,691,654,567,174,424,66,314,390,908,809,161,621,95,268,88,878,694,524,968,624,44,242,151,102,771,358,42,856,931,367,984,959,84,447,820,536,80,919,577,371,72,346,286,506,188,341,351,236,586,613,755,29,211,181,682,118,448,422,513,154,637,412,545,403,993,657,614,583,442,249,898,464,615,356,190,679,559,711,256,265,915,922,537,474,419,700,259,643,416,70,342,622,654,404,842,790,886,872,652,199,43,222,518,546,529,474,579,160,778,890,801,358,731,176,231,23,22,271,744,703,366,90,687,382,577,198,742,206,588,942,926,423,731,414,387,841,519,105,758,603,485,935,865,89,485,223,440,454,235,382,462,536,326,959,942,486,856,200,932,69,950,85,842,415,429,483,403,366,821,245,258,696,276,432,23,362,504,469,932,103,139,60,426,785,89,366,745,492,299,46,645,763,494,617],235],"output":522594083},{"file":"testcase_3.txt","input":[[264,487,307,655,27,305,474,450,81,123,709,285,566,987,919,597,76,61,136,136,106,302,619,612,149,421,830,951,671,197,164,442,289,542,498,424,894,132,863,319,279,915,383,877,154,588,358,246,742,793,115,851,721,422,231,287,171,879,592,698,857,855,633,419,240,339,812,987,684,487,44,561,340,330,523,585,148,938,447,280,907,52,82,480,992,723,673,592,297,845,168,622,150,316,722,39,870,961,786,183,157,840,331,492,711,2,923,950,856,221,22,94,683,843,85,896,326,835,265,148,692,720,725,571,471,686,56,204,504,117,168,389,731,35,124,587,960,198,156,490,68,434,821,959,251,913,843,231,849,219,92,249,9,142,634,287,92,287,43,647,438,768,212,314,905,842,481,596,721,954,767,312,363,108,481,659,632,264,894,613,605,385,825,523,870,726,538,226,616,14,358,940,348,24,992,452,97,959,301,473,148,480,960,444,575,88,603,572,640,589,450,590,295,10,80,475,876,449,591,486,538,119,53,658,808,69,253,918,97,110,37,457,38,599,652,885,205,711,462,462,407,529,938,2,952,775,94,356,16,24,386,216,686,43,992,354,548,312,850,204,559,201,384,828,892,88,929,610,598,520,99,125,184,744,371,292,951,733,871,189,340,144,728,827,255,301,103,125,159,822,456,746,580,114,537,773,473,853,916,569,428,133,285,374,107,549,257,416,506,355,442,856,280,83,260,735,747,505,988,148,744,507,608,77,844,502,413,13,928,851,263,954,549,89,192,70,389,942,721,335,927,373,859,229,431,402,858,14,271,972,885,761,950,716,298,421,602,808,427,757,566,420,748,478,869,323,540,632,784,371,917,348,257,116,794,114,203,250,657,964,726,932,6,608,133,956,133,752,411,777,526,509,579,897,24,329,707,572,57,72,870,274,330,483,150,513,720,171,649,252,820,514,991,436,825,517,854,326,752,447,646,921,128,839,617,18,969,981,33,274,399,337,488,932,711,709,128,522,343,796,491,63,541,403,748,100,681,881,390,984,31,102,159,795,70,878,639,749,688,468,732,726,610,769,521,199,505,679,858,670,210,324,854,569,240,683,116,295,566,713,801,408,918,981,790,712,210,219,426,450,398,827,290,269,282,5,70,187,430,444,533,344,642,369,562,596,199,722,208,433,884,346,777,778,451,977,213,298,743,98,137,447,916,621,722,639,607,279,226,81,475,478,982,683,777,87,481,861,551,327,894,429,247,156,29,710,268,136,179,312,666,130,624,365,291,825,5,141,89,640,698,837,190,234,164,22,471,847,55,316,13,470,407,823,575,379,156,619,648,121,699,768,105,214,702,450,462,897,49,912,987,530,312,84,73,939,135,934,298,307,531,483,920,340,684,23,386,72,298,271,298,73,985,773,555,132,648,599,644,655,60,377,61,612,955,516,549,165,408,851,611,519,674,913,495,111,660,742,493,461,977,913,515,102,416,866,37,976,236,987,694,229,569,825,117,673,924,344,274,771,596,160,412,856,988,634,388,746,334,755,7,267,69,882,523,123,670,903,536,894,494,732,250,698,526,968,295,481,913,706,479,240,808,727,672,137,925,263,356,72,764,637,989,276,28,580,387,75,336,516,725,312,102,942,345,591,980,745,989,758,510,658,813,723,298,66,854,712,930,303,281,970,656,51,54,935,659,957,852,585,261,449,788,494,288,301,271,909,136,517,331,515,626,56,594,414,949,378,366,695,901,520,386,302,332,8,124,876,895,107,599,611,682,656,131,678,669,14,875,656,219,76,535,231,474,838,477,120,834,419,152,303,113,720,489,501,566,213,603,985,372,410,102,890,339,923,197,27,91,928,995,293,283,768,925,395],123],"output":591123473},{"file":"testcase_4.txt","input":[[607,924,117,871,688,391,957,566,581,870,852,52,382,429,308,889,377,770,957,670,827,453,981,973,578,601,187,669,279,354,649,904,392,716,938,81,81,985,210,669,380,143,543,338,613,679,30,13,499,88,405,428,363,936,370,656,359,522,976,638,705,797,400,964,342,870,664,255,496,846,565,675,194,736,19,573,589,116,906,56,616,894,434,975,618,647,837,254,93,781,312,809,496,45,908,274,892,47,528,778,670,390,585,557,965,518,949,95,225,397,983,346,766,20,621,374,396,96,573,436,595,685,955,837,157,502,291,97,557,31,779,413,665,663,199,181,859,687,613,220,717,519,163,76,557,770,346,312,825,607,684,331,340,101,204,665,264,249,420,742,417,160,563,470,402,448,929,351,160,342,990,395,33,922,107,873,19,137,856,462,756,934,961,781,776,569,330,524,314,795,774,150,679,263,137,752,457,298,45,29,325,280,724,471,714,898,219,386,81,904,937,882,654,963,418,600,368,456,391,476,283,485,920,653,539,127,812,847,28,551,118,725,11,543,221,57,680,683,674,876,243,117,64,756,625,362,911,63,658,713,925,162,197,892,714,743,448,138,835,359,724,170,416,310,30,479,110,228,435,547,232,930,986,558,543,26,896,66,462,802,827,241,605,133,141,716,848,802,19,991,423,949,885,322,949,610,980,651,465,194,691,991,967,805,492,59,148,380,294,657,12,25,206,105,499,872,852,560,484,692,190,794,759,128,749,505,244,19,530,727,683,823,322,299,878,588,493,543,791,955,41,533,702,168,711,732,394,953,924,433,738,728,729,17,355,52,136,713,917,106,618,301,508,430,802,290,869,320,818,39,169,576,373,418,919,844,742,111,404,407,425,488,875,427,231,590,904,957,990,351,223,68,710,981,207,878,130,550,437,489,560,616,16,329,143,781,498,785,336,697,836,598,476,410,538,282,815,905,559,472,16,874,922,629,15,789,190,643,41,65,781,83,615,344,824,584,794,23,288,512,251,799,545,936,462,936,845,338,698,173,162,97,140,121,996,285,208,694,411,19,401,646,194,61,440,84,83,490,895,926,718,916,297,612,20,309,934,177,338,839,805,24,783,765,179,243,419,135,194,447,332,943,563,983,644,327,690,547,379,1000,248,599,139,629,398,35,64,874,735,523,834,699,44,416,477,227,269,20,272,590,23,230,445,547,752,688,185,280,493,196,820,183,351,325,247,818,684,6,238,274,561,595,829,314,32,715,930,114,850,804,772,755,589,420,423,778,628,124,247,566,907,480,64,492,249,430,432,151,667,133,820,601,117,469,62,410,519,759,648,93,897,603,273,879,913,279,747,546,441,507,683,780,648,198,454,810,954,531,364,1,565,299,428,261,984,162,650,314,598,203,947,846,124,367,271,564,224,2,954,691,704,811,197,705,508,383,548,821,390,57,421,186,416,425,368,687,259,162,753,258,533,587,792,184,57,992,644,366,24,383,897,571,782,262,380,349,893,516,108,68,397,218,281,11,448,169,496,961,89,658,160,51,226,733,808,197,691],437],"output":524474009},{"file":"testcase_5.txt","input":[[496,414,121,41,25,993,817,980,143,641,797,911,708,413,906,919,266,994,412,175,685,653,995,80,514,1,378,459,874,938,636,113,927,363,961,485,468,965,601,76,828,249,897,643,346,632,680,234,597,776,743,18,719,912,945,669,401,786,738,36,548,402,853,283,222,838,443,537,849,235,175,69,725,606,226,360,402,514,673,512,576,406,170,676,525,341,980,694,744,366,464,503,528,149,388,544,355,402,17,397,969,766,434,537,239,577,162,785,854,841,856,157,534,591,457,945,882,759,917,513,213,232,465,631,8,222,87,735,123,422,17,787,506,132,842,205,483,287,821,663,123,221,985,105,966,791,826,584,537,770,31,234,122,581,490,590,400,648,620,46,807,648,966,483,168,210,461,73,422,535,770,929,203,363,187,29,447,327,667,902,213,519,637,884,769,140,880,245,88,297,438,120,242,348,493,638,11,802,160,323,956,284,546,271,754,586,316,158,854,52],480],"output":650868281},{"file":"testcase_6.txt","input":[[484,657,553,954,470,65,772,295,910,854,41,64,239,422,622,299,131,731,895,672,592,336,935,971,347,804,914,689,637,12,397,682,52,306,897,384,617,203,603,974,756,667,754,497,41,730,660,926,991,965,589,149,686,781,61,255,157,560,719,657,320,275,886,356,400,64,286,349,862,6,853,43,559,418,710,571,820,559,466,68,993,929,657,966,92,292,325,65,151,527,113,581,238,317,145,446,820,993,480,371,155,17,96,494,947,754,619,26,222,603,814,508,155,446,871,350,465,211,597,672,867,437,684,330,47,928,13,749,526,201,893,313,229,598,520,923,169,56,111,264,216,791,812,610,542,23,137,93,569,321,103,119,715,412,389,339,913,348,43,930,541,381,838,60,927,215,741,800,77,910,590,414,209,980,989,641,604,273,550,994,153,527,560,208,909,517,523,212,191,948,746,806,447,196,111,357,821,357,61,956,918,381,257,417,656,267,793,39,726,714,111,556,847,454,805,509,704,265,749,299,71,696,236,27,639,947,174,946,186,329,161,817,349,676,510,702,733,969,556,960,17,413,162,522,503,547,950,88,362,490,202,528,736,310,134,411,506,886,301,673,852,315,677,820,143,349,883,127,534,416,951,958,463,625,842,55,77,89,871,457,969,53,3,700,205,100,933,154,451],437],"output":563136204},{"file":"testcase_7.txt","input":[[954,546,603,422,104,969,343,59,668,743,157,798,403,811,501,174,852,848,200,529,317,658,241,320,776,219,340,343,623,299,53,469,177,722,930,934,682,123,69,847,809,11,940,259,778,270,400,1000,28,89,486,516,32,227,851,325,764,351,178,389,535,64,666,787,331,499,827,118,276,698,921,534,262,281,946,324,465,213,602,393,435,651,322,523,34,322,12,529,310,617,556,103,127,796,265,95,168,642,658,864,597,830,510,289,71,795,612,858,470,395,451,476,808,63,301,432,594,166,158,670,173,11,913,47,73,844,880,654,95,831,62,806,167,872,82,326,818,732,184,759,91,283,390,304,363,338,474,621,224,69,250,82,700,946,272,653,106,17,989,807,627,375,944,695,711,325,285,318,478,103,876,888,601,910,467,98,85,442,38,456,248,88,755,357,913,169,444,7,211,270,531,876,148,72,308,597,239,749,295,866,899,841,495,394,120,87,247,827,241,258,908,457,107,746,69,708,716,941,884,195,455,749,221,350,91,334,702,393,991,138,469,564,754,716,174,745,978,362,107,589,712,291,745,308,501,264,20,410,9,7,425,840,648,228,870,881,755,703,65,806,358,790,561,648,853,959,342,39,824,162,864,868,866,86,890,497,208,239,219,520,591,833,314,212,824,197,645,423,26,323,685,394,247,945,713,266,767,127,259,345,801,76,833,635,466,467,807,80,595,235,534,255,176,821,416,996,17,306,529,981,782,175,899,347,794,828,662,651,682,523,526,942,993,648,234,450,867,767,832,953,201,70,180,320,126,931,685,824,921,854,997,233,753,157,682,182,354,545,205,100,134,382,888,523,908,26,710,146,175,133,452,836,125,834,265,147,503,225,395,614,244,555,137,999,314,841,635,937,829,332,695,799,517,38,205,61,669,340,457,281,46,125,172,597,474,962,277,635,81,682,952,845,802,123,216,997,252,575,111,26,6,462,633,701,459,481,475,993,320,856,519,135,924,435,297,840,894,238,259,612,663,732,408,852,371,425,323,694,683,723,233,661,764,526,96,844,306,947,560,969,790,477,414,78,134,190,447,871,378,685,911,133,385,955,421,190,647,938,43,365,81,488,542,430,305,515,854,493,300,287,903,262,733,200,558,761,347,408,178,757,618,417,31,838,871,183,308,695,119,562,146,144,701,906,609,26,979,271,695,939,319,269,665,960,402,874,766,321,436,76,553,21,993,614,325,558,304,839,889,458,912,667,737,579,834,588,955,369,729,181,495,160,452,896,124,779,56,442,420,189,936,985,817,841,646,576,691,475,269,486,388,572,934],171],"output":97005961},{"file":"testcase_8.txt","input":[[490,8,375,432,949,206,602,870,284,307,614,525,110,31,105,216,610,740,259,938,42,861,242,621,778,562,47,287,271,64,365,73,258,215,902,126,92,52,757,88,430,365,677,515,427,838,39,506,979,562,911,373,621,581,698,534,721,860,958,379,483,292,271,379,799,610,5,124,500,552,177,987,282,64,536,335,951,856,358,857,381,542,945,382,659,822,70,294,616,606,1,398,90,278,19,580,955,136,77,400,37,859,495,357,399,803,535,554,133,274,688,999,740,137,868,334,653,768,181,589,893,820,76,166,555,40,777,267,689,348,49,803,521,631,119,534,555,328,383,406,505,255,221,909,401,657,951,939,952,963,280,163,902,822,315,17,889,865,364,737,986,909,184,969,781,997,535,962,830,263,587,147,482,758,767,760,532,588,12,603,474,322,258,181,579,808,712,323,667,856,860,766,447,875,984,536,872,526,100,771,845,137,597,704,584,566,66,895,450,693,3,118,249,705,567,276,637,797,500,605,604,498,630,525,400,789,678,267,23,675,234,231,180,988,424,192,128,912,298,292,106,123,875,59,349,402,648,293,937,342,843,889,708,864,908,378,812,884,573,781,649,611,245,872,646,293,507,564,103,27,276,963,343,330,353,469,169,991,184,410,360,169,40,711,703,654,638,558,770,223,335,740,779,576,316,540,922,584,54,837,429,371,809,960,604,6,975,91,558,975,448,509,246,987,846,453,961,273,112,21,239,118,283,919,589,799,347,362,924,404,850,543,897,362,666,926,930,982,953,729,620,475,502,183,184,896,642,443,742,462,145,204,256,77,826,358,166,44,271,157,364,878,157,127,567,697,863,647,762,177,439,831,407,698,606,518,562,135,760,614,52,35,778,840,402,374,447,754,592,528,127,78,553,696,189,66,561,646,314,29,122,559,351,738,143,846,166,126,322,37,738,723,147,955,114,747,31,21,76,801,222,90,123,158,431,836,210,629,133,56,350,296,757,494,575,156,674,768,376,852,583,497,578,603,60,819,750,533,933,91,776,486,436,597,110,610,394,820,300,628,388,146,389,968,648,262,313,264,433,521,214,231,769,62,492,574,317,827,42,154,149,241,848,46,769,414,121,244,420,901,163,201,939,639,339,528,264,921,48,554,520,186,589,644,884,175,866,166,501,109,84,8,262,394,818,489,50,634,530,66,433,935,35,877,891,868,851,591,198,901,443,154,981,287,443,746,184,25,156,593,817,409,69,326,571,331,210,760,676,580,348,887,494,875,745,703,609,574,414,1000,763,242,178,777,796,141,915,392,862,164,340,954,139,691,173,774,263,950,494,362,739,673,300,618,845,617,319,19,310,221,51,369,63,576,51,237,772,323,181,535,580,409,511,90,301,977,880,543,267,755,96,809,321,269,882,615,529,110,765,190,877,99,182,718,147,13,232,874,849,232,333,538,246,475,122,984,475,651,852,136,539,351,17,688,795,378,644,22,744,773,723,371,411,832,649,466,331,505,578,487,473,767,924,890,572,495,467,44,174,123,986,276,443,740,760,409,134,301,814,174,749,500,70,341,188,59,560,441,757,313,765,205,98,113,279,1,853,623,808,900,795,941,221,148,486,168,884,713,302,265,867,76,10,764,378,784,312,597,290,674,361,984,16,699,821,31,127,675,869,496,326,287,284,915,250,383,502,679,216,469,850,281,926,766,770,926,814,491,212,179,5,559,513,844,68,124,300,594,448,632,956,95,589,152,879,103,901,254,222,461,817,674,370,6,500,469,683,230,246,607,921,443,879,7,128,324,407,346,387,575,188,396,771,706,540,880,802,671,426,589,416,794,611,463],297],"output":960996912},{"file":"testcase_9.txt","input":[[469,376,70,413,13,989,629,306,197,10,87,792,618,773,651,402,674,99,142,838,45,889,544,811,39,622,266,378,572,713,804,88,728,992,90,833,631,275,997,259,501,562,879,890,776,228,444,201,676,873,622,453,390,117,793,677,958,201,563,838,338,699,417,640,256,693,269,334,413,586,305,922,870,49,618,406,767,177,972,115,264,852,94,722,147,257,606,931,349,143,487,990,530,683,542,13,222,862,792,232,693,742,975,993,668,101,108,817,987,433,572,172,541,494,871,301,291,533,190,597,647,145,449,536,279,581,966,502,809,463,861,1,851,963,811,811,214,968,14,923,167,681,582,16,595,678,792,750,267,475,923,411,406,952,556,124],663],"output":611725730}]
|
assign-elements-to-groups-with-constraints.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[646,15,217,864,434,873,757,881,946,824,115,368,868,152,701,625,984,134,294,355,639,302,202,448],[715,289,471,179,95,86,115,409,346,458,893,729,577,900,775,175,656,995,911,34,648,502,932,707,261,284,784,215,505,174]],"output":[19,-1,-1,-1,-1,-1,-1,-1,5,-1,6,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]},{"file":"testcase_10.txt","input":[[409,504,919,567,740,313,523,921,568,493,768,836,449,574,710,481,564,942,600,33,337,628,695,825,35,662],[96,217,713,901,455,811,161,195,245,296,191,513,26,977,767,358,819,21,917,616,964,65,966,298,630,42,404,255,198,655,480,58,41,260,725,153,585,592,391,473,189,65,502,933,804,303,787,977,324,523,719,67,752,317,775,236,799,113,899,394,69,609,482,914,894,407,632,632,754,281,834,190,16,120,644,139,159,952,714,211,882,738,13,213,785,998]],"output":[-1,17,-1,17,-1,-1,49,-1,-1,-1,0,-1,-1,32,-1,82,-1,-1,73,-1,-1,-1,75,-1,-1,-1]},{"file":"testcase_2.txt","input":[[561,7,560,535,355,865,269,46,798,562,159,784,197,232,423,172,68,803,866,222,321,429,409,673,134,176,549,634,733,793,135,678,678,329,874,565,948,866,250,302,272,932,961,183,847,196,62,457,920,536,217,515,562,510,443,491,336,580,730,691,703,444,51,89],[510,499,301,897,668,661,874,666,281,782,764,663,202,990,725,211,599,389,744,303,720]],"output":[-1,-1,-1,-1,-1,-1,-1,-1,-1,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]},{"file":"testcase_3.txt","input":[[519,150,527,459,741,267,187,648,51,636,598,384,884,866,892,911],[405,164,533,239,33,956,582,570,913,785,518,458,135,760,988,381,926,823,900,688,505,900,272,511,626,656,966,594,701,674,574,181,708,180,319,969,12,850,384,415,552,179,386,138,216,991,445,853,334,189,872,523,226,218,73,668,287,975,731,963,163,898,458,926,874,243,83,809,773,194,634,939,187,118,71,253]],"output":[-1,-1,-1,-1,-1,-1,72,36,-1,36,-1,36,-1,-1,-1,-1]},{"file":"testcase_4.txt","input":[[140,333,286,950,893,667,945,599,155,534,540,976,344,41,333,718,457,494,316,228,767,545,38,996,476,557,606,129,390,651,766,698,801,706,632,384,174,151,208,958,508,19,180,523,11,930,597,140,982,810,202,104],[876,431,504,70,120,68,204]],"output":[3,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3,-1,-1,-1,-1]},{"file":"testcase_5.txt","input":[[165,876,107,914,656,8,771,322,954,156,640,142,351,304,961,743,83,783,757,641,887,361,6,581,738,197,70,691,514,461,806,60,677,217,417,840,563],[356,233,604,311,900,659,651,769,155,700,506,809,326,723,233,456,943,388,658,196,362,629,956,353,852,408,972,88,105,490,754,783,216,214,821,812,676,412,571,230,892,940,584,384,10,801,433,455,646,445,660,807,850,856,439,301,888]],"output":[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,44,-1,-1,-1,-1,-1,-1,31,-1,-1,-1,-1,-1,-1,-1,-1,44,-1,-1,-1,-1,44,-1,-1,-1,28,-1]},{"file":"testcase_6.txt","input":[[399,438,308,551,625,984,472,92,294,126,996,110,219,844,276,111,229,721,172,65,162,67,895,347,115,116,950,26,640,340,486,889,233,511,487,619,781,573,216,1,135,179,607,35,133,908,113],[48,254,924,456,677,792,899,409,126,495,325,651,497,922,107,400,310,396,579,514,905,387,591,40,891,788,442,936,145,890,222,774,207,825,965,595,52,62,346,267,705,371,596,979,252,86,554]],"output":[-1,-1,-1,-1,-1,-1,-1,-1,-1,8,-1,-1,-1,-1,-1,-1,-1,-1,45,-1,-1,-1,-1,-1,-1,-1,-1,-1,23,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]},{"file":"testcase_7.txt","input":[[333,522,121,568,16,689,480,514,413,429,542,299,503,83,64,8,460,710,52,909,660,482,84,892,469,885,970,31,394,263,649,123,686,607,343,752,894,504,452,729,560,839,221,836,521,943,390,753,310,226,558,287,247,758,138,372,202,620,477,52,413,285,541,177,470,459,443,169,600,96,156,524,476,947,240,350,376,945,902,358,327,760,183,156,579,288,569],[517,95,660,479,520,190,733,470,710,703,351,919,111,133,228,361,774,497,374,188,546,655,854,573,969,952,675,391,139,294,612,206,37,304,747,491,865,500,387,811,328,639,761,846,942,519,101,915,423,981,141,678]],"output":[12,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,-1,46,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,19,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,46,-1,-1,-1,-1,1,-1,-1,7,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,19,-1,-1,-1,-1,1,-1,-1,-1,-1,-1]},{"file":"testcase_8.txt","input":[[453,694,260,239,943,677,646,891,244,623,110,865,140,790,945,753,864,782,347,508,674,633,648,938,156,130,247,792,426,181,129,234,334,184,675,916,880,829,402,498,533,130,414,922,827,783,885,831,776,445,319,525,117,921,574,545,100,325,460,633,674,325,734,705,203,97,245,933,325,987,868,290,385,441,882,414,904],[419,149,676,57,719,410]],"output":[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]},{"file":"testcase_9.txt","input":[[461,764,444,489,240,141,565,709,484,596,56],[391,276,659,291,357,531,818,657,438,472,621,483,642,64,921,854,341,183,490,475,616,390,495,994,611,642,555,998,991,7,709,44,258,331,234,104,323,688,597,286,2,839,47,486,518,691]],"output":[-1,40,40,-1,40,42,-1,30,31,40,29]}]
|
average-value-of-even-numbers-that-are-divisible-by-three.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[271,564,491,750,903,230,243,383,234,530,579,424,662,848,673,80,583,649,625,80,682,995,867,336,470,710,711,478,805,524,949,483,415,530,485,63,642,862,996,167,715,329,150,493,484,682,829,366,961,956,132,894,93,513,239,413,968,453,824,71,934,25,836,963,589,416,516,777,989,585,163,255,151,562,860,36,435,615,261,651,623,577,523,294,774,80,981,488,208,562,284,432,199,219,657,834,396,848,977,995,553,148,760,775,11,359,553,837,593,987,579,228,536,180,259,753,429,220,801,525,3,42,864,198,52,248,37,291,410,562,49,259,627,591,268,862,771,761,808,383,395,601,1000,101,120,774,141,284,528,258,259,773,918,964,583,21,573,638,31,142,591,555,549,139,630,185,153,69,234,838,852,462,547,40,543,33,999,765,792,253,886,370,335,519,472,987,370,972,371,338,34,286,978,496,663,410,660,552,569,851,645,83,883,958,519,442,106,88,844,167,278,289,808,451,384,481,70,985,897,613,867,834,1000,541,192,756,413,126,465,258,131,604,69,274,559,321,732,325,132,166,475,4,224,581,947,665,192,564,210,197,795,300,851,508,964,114,322,842,925,667,11,93,634,639,827,250,102,163,636,213,517,808,870],"output":480},{"file":"testcase_10.txt","input":[135,916,808,115,945,611,32,955,718,82,623,922,143,377,758,278,106,427,923,813,24,256,659,625,128,167,502,485,727,782,406,297,611,346,282,59,601,637,667,284,532,131,816,671,585,525,281,703,869,968,842,872,925,278,120,310,436,863,890,841,788,707,7,291,929,620,646,740,732,808,3,447,752,610,206,424,315,942,601,979,588,432,346,823,394,219,880,58,137,440,635,120,180,628,853,936,700,104,845,585,55,834,136,489,434,182,31,807,159,538,295,6,346,675,395,228,195,797,52,346,208,277,293,509,304,534,532,530,903,314,162,46,321,44,279,249,349,656,705,40,404,594,599,566,775,678,353,98,5,680,50,343,561,712,243,422,754,936,355,22,229,230,66,122,399,43,195,9,150,232,977,554,914,174,514,688,424,148,462,236,564,186,708,85,213,431,822,681,257,887,748,955,917,695,634,120,989,758,83,713,118,453,744,128,89,544,601,513,36,402,737,325,538,247,383,634,255,401,216,798,240,881,786,118,433,284,876,324,660,459,854,149,658,851,254,501,367,586,277,894,344,709,373,687,347,917,221,555,551,154,989,597,83,518,180,983,988,650,821,833,464,215,192,808,337,210,717,505,866,707,447,576,931,273,98,271,87,42,869,514,762,560,40,789,173,293,841,125,659,9,906,455,753,463,138,458,161,150,174,977,520,958,756,210,285,600,82,209,513,958,620,439,515,557,178,161,224,474,346,646,966,466,207,823,811,339,835,364,635,183,387,495,136,110,261,25,945,448,749,762,48,2,10,665,116,359,48,383,531,449,512,401,395,660,309,359,552,375,466,387,358,96,577,710,580,51,648,721,295,200,196,769,112,542,95,13,467,271,103,769,520,120,588,886,635,854,913,709,111,808,551,563,80,722,621,135,137,755,190,411,234,233,32,876,337,945,922,773,215,308,489,693,543,112,280,115,414,982,985,235,802,583,705,999,945,881,821,981,706,900,227,379,308,308,521,317,683,247,586,538,843,984,131,644,47,628,166,3,694,958,95,996,700,338,284,794,34,473,919,855,654,219,208,741,320,602,188,838,518,183,533,589,291,890,400,165,639,612,274,607,838,312,193,78,640,27,399,835,31,500,480,899,853,629,732,959,8,692,837,865,702,423,569,644,740,304,367,205,307,743,689,588,746,777,119,780,519,331,861,668,712,712,849,770,488,644,732,861,975,343,296,466,865,361,854,479,831,969,323,400,906,980,59,555,869,275,592,833,54,558,943,818,366,199,49,22,169,622,414,340,960,196,174,109,890,502,194,3,918,395,926,704,720,132,344,560,868,650,323,482,360,780,295,123,77,567,17,415,84,502,159,364,639,433,450,234,197,309,540,739,109,175,40,123,494,531,340,982,521,441,79,458,24,628,517,224,875,378,883,595,163,481,744,90,353,167,600,793,373,324,666,665,106,28,497,856,504,68,842,916,242,902,602,875,937,647,635,786,410,819,517,523,926,250,96,927,415,789,283,468,123,444,351,174,634,927,194,142,202,984,168,359,903,313,842,958,871,63,876,745,670,364,547,228,933,735,970,870,24,537,862,403,305,75,474,322,568,677,184,772,643,819,891,9,241,605,250,788,276,463,44,143,633,439,990,672,162,891,923,892,419,386,750,456,705,395,30,933,441,378,886,129,614,828,220,740,537,434,569,58,180,786,879,845,412,980,399,494,959,528,894,476,712,697,148,960,685,65,717,605,140,2,698,943,977,535,348,941,198,582,257,307,34,77,503,682,848,391,13,166,55,165,319,721,369,639,805,832,209,123,583,557,421,843,255,470,301,699,38,637,875,739,449,319,351,325,396,716,565,412,277,351,503,46,187,300,217,522,705,243,415,699,680,591,332,633,600,687,582,681,953,295,993,712,147,466,245,847,765,964,622,493,309,130,668,962,383,997,983,574,849,111,672,536,488,980,140,149,315,909,635,59,542,489,205,507,305,722,872,57,653,38,316,298,573,435,825,694,204,804,232,481,812,471,863,771],"output":485},{"file":"testcase_2.txt","input":[979,488,380,501,870,189,359,952,688],"output":870},{"file":"testcase_3.txt","input":[265,490,652,611,67,277,118,902,873,563,427,825,315,332,228,978,685,389,938,806,274,298,625,623,331,238,205,313,992,380,847,853,106,470,908,615,764,750,932,681,124,833,201,547,831,640,329,152,63,501,190,446,766,279,363,550,50,37,230,803,823,997,540,367,491,415,354,776,770,638,607,193,441,774,603,153,458,84,253,993,8,955,131,128,192,5,579,122,493,806,591,430,27,553,774,147,708,73,715,835,957,22,556,752,397,507,527,318,278,749,742,188,23,756,568,239,701,633,180,173,796,931,127,771,192,918,670,501,39,762,702,232,421,741,331,655,202,243,906,239,268,944,326,541,386,946,189,379,544,412,124,14,326,310,83,239,1,794,132,282,159,970,414,231,940,221,418,664,25,439,440,305,601,389,851,121,367,196,306,467,553,991,865,899,664,338,42,234,80,483,638,776,255,713,881,578,196,430,311,178,799,60,610,503,507,498,835,881,697,387,453,448,424,688,801,845,262,552,676,182,33,201,808,98,810,933,577,170,671,891,778,206,86,247,314,323,497,31,216,981,162,84,220,541,605,183,209,624,815,107,598,743,595,509,99,755,904,864,33,140,107,104,924,810,708,989,218,787,569,987,373,441,489,829,406,566,228,465,531,185,63,4,948,269,768,402,336,267,706,33,892,52,898,648,126,35,378,279,404,741,427,155,445,425,239,130,102,563,6,283,489,517,674,259,482,9,7,938,839,778,599,317,609,711],"output":473},{"file":"testcase_4.txt","input":[673,138,628,273,25,575,333,407,20,846,179,570,631,377,783,3,460,420,855,346,639,47,3,715,187,546,935,301,284,92,73,595],"output":504},{"file":"testcase_5.txt","input":[592,172,403,365,382,120,868,518,260,927,712,396,629,1,974,107,491,303,555,227,125,664,220,688,68,133,601,818,674,414,729,760,259,184,391,125,812,346,169,619,155,855,540,765,739,973,535,505,362,285,466,999,488,127,609,890,878,421,598,572,5,779,718,207,300,977,894,263,562,986,495,880,450,823,847,604,682,297,381,845,798,804,165,523,534,50,141,770,865,419,454,787,233,941,987,271,675,5,209,202,256,830,48,588,994,190,665,426,835,401,120,831,761,606,357,325,993,771,249,636,532,497,447,311,982,194,864,28,851,110,622,391,239,348,393,569,174,663,259,52,60,469,632,331,274,568,139,861,166,500,601,508,645,175,734,693,687,488,379,282,236,558],"output":452},{"file":"testcase_6.txt","input":[380,697,479,788,600,331,308,873,835,119,172,705,680,228,525,604,256,672,873,110,520,641,106,224,36,606,20,720,746,520,824,324,782,91,713,346,907,39,522,482,330,768,663,127,269,509,553,297,844,347,838,592,161,74,327,809,588,297,218,244,147,697,77,420,714,841,889,532,272,818,128,96,874,476,897,411,728,306,43,711,708,540,594,420,638,225,475,874,370,45,888,774,268,469,109,654,476,933,321,550,33,817,347,91,345,152,385,617,462,886,408,375,204,215,929,37,651,88,905,309,617,961,23,706,396,187,999,318,16,164,508,863,753,502,806,958,285,800,326,207,467,755,920,561,567,759,628,192,261,145,754,262,299,629,988,246,841,925,790,97,279,18,762,821,877,78,217,971,243,634,558,866,163,505,565,547,330,559,124,837,101,865,592,999,793,638,397,77,3,276,938,248,345,945,537,35,486,664,85,163,399,484,471,975,282,547,465,72,57,426,321,99,144,495,873,291,681,891,63,840,877,87,102,53,744,870,335,951,356,679,826,202,947,133,403,570,437,453,814,286,56,473,397,772,659,497,444,267,829,71,373,850,358,62,804,968,869,612,125,169,451,156,629,139,927,772,58,974,221,815,337,345,275,515,94,180,102,314,174,168,807,159,63,319,736,558,121,850,498,556,205,139,64,625,806,145,320,472,437,608,397,425,593,324,421,759,139,737,500,182,505,205,777,898,812,736,191,408,321,990,916,156,473,679,91,423,285,251,971,907,778,241,740,972,420,289,816,54,420,632,379,122,971,475,817,275,686,540,527,462,216,569,507,584,304,789,921,281,978,230,306,390,997,496,454,807,286,183,131,497,308,390,180,190,249,847,632,824,590,661,869,487,140,623,955,129,128,984,655,983,62,194,904,586,132,813,636,278,900,687,903,856,611,915,274,277,671,135,863,666,164,114,266,654,141,848,630,302,712,137,195,545,988,13,634,720,69,397,261,807,549,449,674,811,86,537,963,607,596,540,935,92,169,322,200,959,592,322,846,265,335,858,248,182,484,82,89,321,632,386,259,377,131,980,654,444,213,595,245,840,944,401,784,651,995,21,90,216,114,432,169,970,673,489,200,432,188,538,215,125,597,168,903,83,237,949,707,703,45,542,141,723,98,174,227,881,362,639,550,588,931,245,990,511,896,891,835,626,937,114,472,402,101,414,392,823,972,330,893,232,236,879,370,864,681,335,762,128,555,594,689,900,872,824,713,129,997,262,686,342,573,46,733,863,720,45,103,9,690,784,392,383,570,606,818,840,132,467,67,766,677,258,813,376,456,856,57,461,306,806,350,156,533,518,617,621,293,852,365,524,331,650,33,715,819,443,923,580,160,926,586,654,775,777,850,379,634,509,605,439,433,716,932,219,381,622,157,487,60,580,387,768,209,812,879,27,152,783,22,129,731,286,4,424,23,264,664,650,12,800,246,634,841,917,570,795,97,740,125,632,27,664,679,765,909,576,114,336,828,526,913,421,622,508,884,429,973,124,50,868,666,737,276,708,942,291,230,851,159,36,938,260,400,43,653,721,33,6,8,44,251,215,166,445,166,243,210,892,659,565,861,843,516,875,251,270,323,285,76,947,494,883,498,853,881,173,496,736,580,375,789,603,227,888,999,170,792,505,761,443,207,171,208,708,945,375,779,32,691,746,917,27,187,529,123,937,62,678,29,841,451,415,62,358,924,534,215,209,73,2,315,155,601,769,91,642,696,523,571,595,349,946,775,211,906,906,266,294,18,45,823,398,249,820,910,530,516,416,610,961,189,3,428,559,240,1,96,756,948,378,505,911,489,844,7,210,625,953,408,317,451],"output":482},{"file":"testcase_7.txt","input":[994,533,743,242,547,562,69,141,353,362,291,660,473,162,556,22,406,766,874,789,102,413,117,845,366,225,918,567,643,798,293,394,540,847,134,11,61,254,538,145,759,793,700,522,150,591,856,628,854,842,841,958,399,52,477,916,388,463,471,839,98,409,591,983,104,786,543,432,504,830,929,762,471,377,361,249,152,100,566,752,845,902,974,241,901,487,661,113,955,306,295,690,454,804,473,989,932,784,472,982,546,855,129,172,562,275,975,7,438,875,380,37,134,25,88,85,445,437,626,269,399,127,559,143,662,904,898,5,899,849,636,909,770,223,155,212,494,902,876,64,334,4,473,367,226,762,967,624,554,640,459,268,801,72,178,563,326,910,557,89,685,544,49,12,910,871,738,890,762,250,908,713,55,838,814,314,740,643,347,152,658,144,274,306,711,126,434,708,57,147,861,491,811,247,605,46,823,137,576,342,252,594,809,891,649,128,673,908,156,524,946,808,827,593,837,781,340,163,570,233,516,711,286,444,572,542,240,747,172,745,862,946,750,344,112,603,690,969,272,792,718,85,967,640,643,906,946,919,607,827,278,564,92,388,656,194,2,269,274,451,138,434,83,896,272,934,245,450,78,879,766,464,538,118,305,970,169,199,357,926,184,269,958,473,362,124,167,785,756,967,947,946,968,632,904,751,84,731,603,881,278,961,405,714,242,809,816,51,30,995,760,768,152,376,834,980,5,349,549,340,464,423,969,224,384,289,552,791,312,194,582,718,955,28,831,919,489,816,602,540,155,511,583,186,654,173,886,733,431,50,598,507,83,844,533,713,255,529,101,319,567,494,315,985,974,418,131,748,925,310,387,172,557,455,938,290,706,317,109,146,189,894,918,827,654,20,119,407,586,405,347,241,291,357,197,214,423,800,46,607,263,943,795,547,228,493,998,112,267,305,127,395,785,195,156,643,393,429,530,519,705,357,58,800,165,396,924,352,921,545,344,11,291,956,463,938,895,348,268,587,261,604,213,730,257,781,480,666,546,481,743,378,463,598,598,22,655,326,791,849,949,757,907,225,335,744,727,784,473,924,229,18,663,686,247,369,994,884,140,76,536,256,254,251,678,107,846,792,394,402,822,98,590,143,781,221,723,174,875,327,497,809,812,560,393,629,797,684,40,713,979,321,857,948,96],"output":523},{"file":"testcase_8.txt","input":[95,140,174,318,608,705,972,693,37,251,484,88,997,818,885,536,949,168,485,609,503,370,697,524,28,242,2,28,414,55,329,424,815,730,566,3,971,768,144,118,306,905,581,810,990,152,697,799,355,146,303,22,99,778,522,212,812,161,163,171,897,892,238,96,736,760,529,122,22,559,319,427,892,336,660,868,464,224,542,361,650,763,566,139,640,457,259,198,45,432,224,766,814,136,653,659,221,828,630,17,382,940,790,705,470,272,154,318,73,148,942,439,156,566,432,330,357,561,333,605,618,165,178,969,938,737,733,569,84,318,117,726,453,951,168,627,310,280,517,297,687,760,353,358,700,384,733,415,826,959,469,45,691,983,60,174,795,776,811,171,983,948,864,764,394,573,281,286,611,257,998,959,585,211,37,148,266,775,291,724,427,474,143,357,758,821,882,389,787,375,209,759,446,781,768,924,495,915,96,310,467,544,500,73,892,84,135,865,897,956,601,103,505,419,393,327,445,771,757,734,908,786,132,370,68,149,139,638,491,394,450,914,777,198,626,966,405,782,585,1000,550,429,926,854,360,924,55,808,464,423,285,114,196,701,370,492,22,550,444,329,852,980,505,127,271,467,2,92,367,999,141,808,50,39,240,847,950,58,247,147,428,994,760,960,240,227,637,724,370,430,50,925,806,122,306,81,213,436,298,268,116,873,360,494,934,833,452,813,306,133,455,74,245,726,274,639,87,253,248,441,695,857,187,244,825,503,378,154,140,590,15,326,108,546,64,289,600,578,940,768,731,758,636,521,221,668,199,207,820,964,266,231,597,197,691,650,742,638,348,397,873,210,934,328,183,652,857,382,976,573,419,479,522,902,515,909,239,157,601,61,994,887,240,373,931,529,414,338,352,587,16,332,116,767,971,22,1000,323,457,506,60,709,606,240,342,855,970,609,236,256,675,482,431,222,955,382,788,674,324,498,37,449,235,423,478,466,434,521,406,577,418,91,530,869,48,527,572,322,309,294,739,750,161,710,369,544,844,671,793,900,148,438,100,865,931,675,656,890,9,199,366,394,590,531,159,815,318,979,497,546,669,894,822,180,869,82,590,358,359,730,911,606,450,423,223,656,929,161,401,680,224,638,356,953,29,295,578,842,303,914,669,404],"output":466},{"file":"testcase_9.txt","input":[181,777,67,444,971,413,185,816,376,917,669,880,117,41,887,204,579,245,982,269,869,236,860,267,680,194,882,867,162,35,103,877,447,890,685,758,856,786,454,725,974,65,758,768,689,955,678,386,679,18,762,674,16,603,544,151,514,655,978,667,215,485,715,799,280,764,872,819,104,339,742,154,374,166,366,779,167,600,281,196,215,84,343,232,739,602,383,686,632,16,187,164,464,482,397,859,22,213,27,367,631,930,132,667,410,891,915,230,820,467,393,641,396,307,862,496,142,635,797,400,382,813,641,947,763,468,56,482,852,146,654,131,396,121,818,67,860,672,245,573,58,428,758,124,970,203,119,245,965,909,751,534,705,277,871,310,482,116,684,495,271,718,650,265,628,85,676,581,507,328,290,748,230,464,122,155,46,834,899,254,560,681,707,683,428,346,46,23,353,112,692,489,401,503,49,558,902,493,493,420,814,892,920,607,152,704,581,471,59,317,750,49,810,949,943,805,590,28,909,31,719,911,701,553,399,551,474,822,677,149,934,571,603,200,269,737,927,976,923,30,499,442,826,325,519,229,404,855,901,152,932,688,662,284,251,220,244,87,277,716,883,139,492,549,326,610,909,72,682,551,996,222,997,673,571,373,712,793,268,630,51,58,850,561,735,714,477,6,26,955,735,31,349,486,994,79,115,373,843,14,312,72,567,702,442,237,575,38,710,586,843,231,626,207,425,677,958,283,930,830,718,511,995,669,612,52,172,375,768,636,371,182,116,637,843,332,658,313,248,239,176,735,265,700,410,241,909,837,191,130,416,650,345,965,72,767,538,972,808,390,928,214,551,26,868,141,596,466,764,535,588,714,24,267,305,218,823,424,34,790,557,972,624,775,421,812,204,269,139,343,191,530,262,234,419,288,472,596,346,112,755,211,904,408,830,173,343,990,780,302,448,677,860,807,845,849,509,951,288,259,42,293,519,548,304,532,603,386,122,198,4,405,666,315,838,653,501,658,101,1000,758,351,371,207,332,446,654,934,719,93,677,5,729,618,359,430,721,593,851,949,981,508,227,233,497,117,753,117,988,314,423,980,960,332,367,622,317,464,430,153,709,703,768,941,736,299,382,629,999,466,754,878,330,20,498,291,137,768,451,563,734,767,601,56,7,763,428,950,951,957,46,867,406,877,808,640,107,420,679,940,13,900,775,358,980,726,87,668,252,656,6,96,475,634,731,673,53,549,972,628,89,190,229,251,647,348,896,720,209,296,465,923,863,965,260,976,261,69,948,702,96,336,387,684,419,611,575,424,61,710,365,962,632,540,585,699,645,802,7,143,32,183,833,479,764,726,970,31,581,649,659,121,905,869,515,609,635,114,423,592,525,282,341,145,375,908,502,54,352,150,997,222,55,912,781,818,233,603,836,584],"output":519}]
|
beautiful-towers-i.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[4,6,7,5,2,2,5,5,4],"output":32},{"file":"testcase_2.txt","input":[42,49,16,7,37,41,47,21,44,50,17,17,49,47,36,24,11,38,28,47,12,27,29,46,12,26,37,7,11,22,36,30,19,10,14,34,1,13,23,17,20,41,18,17,46,3,16,44,41,14,11,4,47],"output":521},{"file":"testcase_3.txt","input":[85,85,5,83,68,73,91,18,77,57,67,4,33,10,91,81,23,33,37,19,66,79,92,7,8,63,59,94,2,7,47,4,68,20,19,80,59,31,3,65,94,34,25,63,70,94,80,27,85,54,26,30,31,81,84,92,83,51,42,42,24,83,11,16,53,68,5,66,28,66,1,82,92,70,95,91,46,29,94,11,49,76,31,71,18,14,80,5,78,37,63,73,61,65,41,80,27,80,19,78,96,75,3,82,66,7,88,98,42,75,44,65,88,30,50,46,98,91,93,86,48,13,37,6,87,32,20,79,27,44,12,59,87,35,74,93,39,73,99,24,80,34,55,89,46,12,78,44,6,25,32,70,65,42,74,57,65,62,63,21,50,45,78,80,41,29,82,94,80,16,66,80,93,8,100,90,1,99,32,35,47,46,72,97,42,72,67,13,28,8,69,78,64,86,4,66,16,66,67,20,27,80,93,75,56,41,14,52,89,53,37,60,53,11,7,8,27,56,85,74,3,86,85,47,14,33,72,9,6,87,82,81,77,39,84,61,29,64,71,56,57,63,40,42,10,57,11,99,66,73,75,42,42,3,40,6,84,81,86,54,65,40,46,70,53,4,58,35,34,3,73,32,7,8,44,97,76,91,96,63,86,4,34,17,36,80,66,55,45,6,53,45,54,8,19,80,83,7,45,27,18,28,60,51,64,65,7,66,71,62,20,80,70,56,83,62,15,28,38,36,55,81,64,35,11,46,42,54,30,29,64,32,86,25,63,87,22,24,21,44,53,44,93,19,57,98,91,85,63,11,73,54,60,1,82,78,22,94,21,16,63,82,12,85,86,23,64,59,38,73,88,99,11,71,85,46,24,35,14,68,32,90,52,69,54,37,100,67,96],"output":1704},{"file":"testcase_4.txt","input":[706,123,673,103,159,180,782,633,727,301,157,498,328,462,789,281,323,101,837,702,842,251,271,748,37,185,422,294,183,169,348,573,242,318,489,462,960,23,761,120,221,894,975,937,854,913,775,326,900,630,990,510,991,494,253,624,172,827,441,247,320,481,717,612,489,777,818,561,981,575,169,923,742,846,20,388,926,167,603,791,826,898,733,684,996,931,90,995,647,613,710,992,895,845,119,479,61,649,508,526,969,359,476,147,521,29,299,445,118,319,706,704,58,522,250,428,177,980,837,623,731,250,918,145,671,170,805,532,421,504,273,729,598,766,384,886,930,108,565,497,304,468,754,721,188,768,984,640,176,528,341,507,182,530,820,616,339,962,728,59,105,784,249,193,630,132,700,959,482,432,522,134,830,15,156,924,1,603,226,921,730,403,128,880,848,714,2,995,77,88,593,303,921,285,714,160,715,354,396,413,505,330,549,584,621,600,559,564,641,210,257,609,919,677,654,2,530,716,187,554,615,983,566,49,42,82,902,640,405,503,868,594,408,205,53,905,870,487,437,892,388,830,960,510,676,583,149,782,826,335,666,906,712,163,301,987,819,805,184,211,850,57,141,95,414,898,681,795,42,372,605,657,937,179,213,460,305,943,350,438,233,105,242,941,256],"output":14630},{"file":"testcase_5.txt","input":[971,545,558,495,875,991,643,43,81,503,598,759,274,735,609,406,136,943,355,171,631,855,375,607,687,764,89,228,346,701,95,12,946,6,986,604,719,466,453,336,567,331,365,721,470,307,778,174,495,630,973,278,465,656,989,890,915,765,432,985,589,964,619,331,350,845,441,675,266,858,904,343,736,706,630,159,675,889,376,525,25,214,876,980,495,970,318,748,998,108,94,106,563,728,868,988,996,163,582,65,218,68,83,706,588,128,431,491,397,697,858,424,227,518,690,568,925,615,362,181,658,550,456,716,101,427,134,927,40,227,634,965,624,853,779,856,738,642,485,681,223,74,335,876,975,673,622,748,848,51,229,421,944,75,505,11,707,461,262,774,618,272,432,197,191,106,54,686,702,818,500,621,795,603,787,456,4,923,457,560,575,668,191,564,479,9,644,175,838,913,410,678,35,195,710,791,874,4,840,224,874,289,201,21,989,923,66,38,765,264,169,868,3,105,494,9,750,212,426,924,680,210,398,352,774,963,682,786,564,30,660,625,386,580,701,817,40,505,113,272,659,124,95,496,838,67,399,875,316,530,43,946,25,149,924,242,301,956,649,195,108,674,368,431,619,778,756,987,814,468,158,839,529,26,860,450,270,107,68,662,118,663,417,25,628,888,590,67,660,8,866,933,501,793,901,489,45,463,642,882,131,883,322,993,724,608,296,50,203,121,341,454,845,554,610,682,301,445,286,521,961,414,824,323,803,528,287,208,222,665,618,546,118,91,496,935,976,465,812,271,179,428,680,420,606,241,970,830,132,885,799,580,268,629,201,752,269,748,242,664,905,491,283,93,660,37,497,636,275,697,107,768,564,976,175,899,31,770,290,992,441,444,23,830,547,540,726,217,76,781,414,122,106,790,406,674,274,90,870,371,569,982,393,603,749,179,775,370,846,339,656,452,410,593,583,764,168,933,607,358,29,629,407,979,696,310,294,768,523,57,485,792,285,898,300,818,46,774,809,604,752,102,911,934,823,733,191,725,870,788,165,974,55,899,443,391,583,246,875,328,599,929,590,861,595,590,96,686,365,445,16,347,741,373,143,16,169,780,846,861,754,79,924,266,742,832,313,709,428,557,52,637,322,749,965,221,663,844,458,726,826,342,465,67,512,839,879,305,778,760,799,253,583,259,68,205,245,917,21,410,29,581,156,938,41,168,654,127,877,462,870,493,224,574,777,461,468,636,110,533,67,10,800,232,941,886,821,956,856,603,758,213,860,638,729,863,274,861,371,1000,967,792,294,543,41,139,891,969,151,60,938,346,85,752,679,188,843,110,353,799,474,911,496,27,624,875,997,272,393,597,578,627,559,476,984,248,1000,118,331,578,410,213,904,268,743,624,350,872,332,719,484,358,670,775,642,278,69,254,716,623,932,103,505,486,823,830,363,723,799,718,402,383,522,651,84,656,925,237,926,855,488,395,439,675,210,449,789,149,611,191,315,54,919,739,548,940,568,497,493,417,849,353,2,591,809,868,874,119,522,143,447,712,983,327,908,650,567,481,416,198,690,740,442,888,60,424,35,678,588,99,84,996,739,984,406,227,546,214,572,218,453,700,330,88,176,26,482],"output":18569},{"file":"testcase_6.txt","input":[1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000],"output":753000},{"file":"testcase_7.txt","input":[54,27,47,77,100,82,95,8,74,99,79,13,41,75,26,56,23,18,12,25,12,65,31,62,53,55,72,29,21,23,81,75,50,61,41,73,81,19,34,28,66,30,15,39,99,70,81,35,12,14,20,37,23,10,76,97,75,7,22,56,82,6,95,66,88,76,23,14,83,75,30,80,16,39,3,7,65,20,18,64,81,4,54,18,98,83,5,12,56,70,22,71,55,65,11,62,77,35,74,11,21,45,60,84,76,33,68,68,80,64,96,14,35,72,42,7,36,77,35,6,67,29,68,84,91,15,81,45,68,78,45,6,97,60,40,77,31,93,8,87,92,88,83,83,76,10,20,17,73,60,18,55,3,53,22,21,8,48,50,7,88,14,91,45,45,5,89,77,5,67,58,35,8,86,9,94,76,19,83,97,57,19,82,35,23,65,42,27,25,63,79,67,66,5,35,12,31,4,79,25,85,40,23,9,53,11,90,56,60,34,81,56,82,57,29,65,68,22,6,16,34,74,85,99,22,63,50,90,85,100,44,57,14,51,4,79,24,63,55,63,65,64,27,46,84,57,5,16,97,87,3,50,6,46,85,29,84,75,41,50,64,6,56,35,100,35,54,87,47,1,73,52,51,69,91,24,54,15,31,14,57,66,53,12,41,70,32,60,97,47,58,14,17,29,37,34,74,31,47,22,32,55,72,66,90,3,52,29,3,68,39,23,100,9,89,29,41,84,94,42,51,21,84,80,37,98,46,93,21,35,78,37,67,12,60,56,93,57,62,43,8,78,29,80,85,14,4,15,5,4,91,43,38,58,99,58,48,19,96,15,27,50,59,47,83,36,4,67,27,66,88,66,46,93,3,30,67,17,5,45,10,59,37,72,99,41,32,6,94,16,38,2,2,56,41,44,51,68,90,36,56,67,2,47,4,64,88,83,74,28,34,83,59,1,94,95,27,11,12,43,43,8,30,29,79,18,54,3,80,94,31,97,91,1,21,34,42,81,35,62,34,36,78,75,2,80,7,45,21,86,31,60,56,47,91,50,30,41,26,58,92,17,50,26,40,82,82,95,61,4,24,33,3,13,95,2,73,66,44,8,80,18,34,98,34,57,65,3,92,3,67,77,39,41,24,6,6,11,51,23,30,60,75,52,77,87,97,30,9,95,74,86,30,95,10,67,26,72,62,5,99,36,31,45,65,51,57,4,51,76,30,79,85,25,56,72,32,74,16,18,30,56,98,40,71,64,61,35,66,70,12,46,24,60,3,46,39,94,27,24,20,90,100,90,78,38,77,22,3,8,63,50,55,41,91,54,11,73,61,76,39,31,83,13,6,68,89,13,49,73,97,72,71,15,25,60,33,70,82,55,26,90,72,36,73,92,1,42,51,49,98,11,94,1,77,99,57,57,38,8,75,60,87,71,75,47,89,44,16,59,16,24,79,53,74,88,28,54,95,62,17,62,65,57,84,9,49,12,53,48,71,52,22,92,63,82,88,19,36,90,78,42,99,37,68,33,94,29,22,9,7,29,91,4,74,30,26,36,34,36,65,18,46,68,95,95,90,52,68,38,93,34,69,86,57,76,64,100,85,8,69,30,42,40,45,95,77,38,100,29,56,60,3,57,75,86,2,41,2,34,2,2,24,68,11,98],"output":2223},{"file":"testcase_8.txt","input":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1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,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],"output":1000},{"file":"testcase_9.txt","input":[1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000],"output":1000000}]
|
beautiful-towers-ii.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[8,4,6,6,9,8,7],"output":44},{"file":"testcase_2.txt","input":[3,17,19,17,37,47,30,25,50,16,14,16,50,30,3,23,46,25,49,26,9,31,28,31,15,33,20,41,31,48,24,23,27,40,45,9,3,16,6,8,38,9,12,11,36,10,14,21,39,32,33,29,11,11,25,10,3,17,36,7,47,14,45,8,15,36,46,23,26,10,19,1,18,5,50,36],"output":545},{"file":"testcase_3.txt","input":[11,87,53,41,27,30,96,58,42,22,94,42,100,34,85,77,59,20,46,71,66,25,14,57,40,22,33,44,30,69,4,17,47,5,83,56,10,67,19,96,45,3,35,87,15,37,26,64,10,45,50,94,97,51,86,71,64,42,49,32,52,15,10,3,62,94,93,52,73,25,41,80,3,34,94,87,96,90,40,67,85,44,68,99,32,31,39,26,44,56,44,90,64,36,48,89,25,62,14,12,29,24,92,36,39,13,67,14,16,99,61,80,66,56,31,61,5,72,56,19,49,66,53,41,16,98,64,53,3,17,83,40,9,4,89,94,10,66,98,40,8,27,10,19,44,32,31,53,85,40,64,91,59,44,21,90,88,56,81,85,61,18,83,69,32,83,80,43,66,43,75,43,88,13,70,91,97,39,15,5,4,85,17,28,97,27,26,10,33,44,2,19,50,92,17,40,73,97,30,38,8,80,31,44,3,14,87,98,61,47,21,45,89,57,32,97,38,33,60,52,34,76,98,54,81,1],"output":1766},{"file":"testcase_4.txt","input":[753,461,676,104,699,868,99,936,442,794,846,509,373,331,830,72,765,835,574,455,35,356,265,350,372,932,396,357,838,912,233,177,377,475,734,504,246,149,201,706,257,448,362,256,18,222,347,63,757,39,409,793,762,336,199,377,476,110,475,391,15,490,974,850,960,456,159,458,588,377,201,768,173,287,836,561,16,105,23,316,819,11,397,207,20,926,736,818,647,284,667,114,893,336,202,583,493,739,735,865,233,137,576,432,970,761,527,977,928,90,154,151,896,143,24,788,215,647,141,346,299,438,481,618,314,851,151,374,890,339,606,707,22,100,985,928,141,665,302,590,743,840,10,975,986,434,210,1000,320,883,556,175,189,407,850,124,889,488,535,557,225,529,694,840,384,892,231,840,696,319,406,28,166,590,469,919,967,455,940,263,230,34,167,745,816,88,349,203,411,187,826,844,13,894,264,481,157,760,350,433,454,324,413,572,847,700,643,365,237,990,893,425,482,966,454,46,68,786,400,537,696,519,803,866,720,957,333,478,531,872,228,737,63,930,633,649,115,969,18,706,813,359,870,243,992,714,713,491,642,850,778,351,326,260,18,681,75,743,201,849,311,669,411,272,549,132,643,386,246,695,879,761,767,956,878,947,140,980,392,975,725,467,820,142,688,357,851,801,248,197,566,618,459,377,48,660,518,634,850,411,694,479,351],"output":13920},{"file":"testcase_5.txt","input":[491,635,449,299,132,147,173,45,364,542,970,235,399,853,284,765,432,725,476,768,704,936,922,708,6,15,468,11,616,477,798,417,409,880,721,184,283,912,641,354,323,818,456,908,123,862,756,852,293,468,800,615,405,403,137,104,592,633,529,206,648,390,147,627,640,247,859,169,171,729,431,30,852,876,731,434,494,634,392,19,154,803,202,354,902,15,307,133,888,293,536,589,24,156,65,132,374,525,540,384,153,569,965,810,759,928,290,665,970,517,287,82,731,878,510,962,440,305,814,627,30,485,334,824,860,633,558,846,969,61,399,493,137,612,648,76,742,532,855,856,584,934,969,168,283,808,837,983,428,639,300,185,586,194,76,69,224,150,860,200,113,490,564,988,195,977,432,114,138,824,554,327,721,119,808,760,947,447,159,506,872,406,937,758,793,833,6,20,775,223,222,116,438,509,90,40,848,193,239,657,760,55,847,165,883,592,185,40,425,272,231,51,816,901,977,155,124,975,797,729,50,574,150,209,583,783,396,637,954,494,862,785,584,141,473,544,900,606,131,627,893,295,206,293,270,934,189,260,465,322,945,226,765,886,791,995,694,416,337,830,729,879,375,233,523,492,734,644,785,257,978,646,192,563,233,888,527,394,195,673,926,632,229,645,457,322,164,910,635,511,579,763,366,354,374,146,150,87,711,479,639,418,788,249,320,513,381,289,893,212,925,916,730,469,407,159,250,576,175,849,196,244,492,229,386,383,571,927,371,72,611,571,620,955,396,468,544,931,68,547,718,314,343,576,760,997,844,353,426,562,581,581,406,36,4,417,476,207,644,980,751,89,891,618,311,306,903,686,490,367,283,710,845,528,904,393,547,911,193,305,289,961,29,417,766,611,114,690,921,707,418,846,343,715,996,629,459,545,768,682,445,434,975,816,691,95,347,442,481,696,343,502,975,486,966,800,710],"output":25022},{"file":"testcase_6.txt","input":[118,984,169,730,178,459,512,311,738,589,334,230,476,795,18,419,475,302,529,470,846,657,670,961,576,524,226,545,357,118,114,917,170,424,797,987,37,116,706,998,570,824,366,349,705,537,965,505,131,699,651,284,935,273,749,229,176,822,459,368,725,315,173,949,148,168,507,223,420,254,681,502,630,985,320,26,593,478,709,695,279,302,442,730,312,873,896],"output":10004},{"file":"testcase_7.txt","input":[874,430,143,531,996,35,680,880,497,998,757,208,477,677,607,959,433,336,499,326,574,243,599,265,564,288,475,65,696,682,125,422,363,611,131,436,974,69,204,618,632,264,984,43,392,156,557],"output":8535},{"file":"testcase_8.txt","input":[215,13,829,926,106,761],"output":1993}]
|
best-poker-hand.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[8,6,9,1,11],"[b,d,d,c,d]"],"output":"High Card"},{"file":"testcase_10.txt","input":[[8,10,13,3,7],"[d,d,c,a,a]"],"output":"High Card"},{"file":"testcase_2.txt","input":[[4,12,5,2,11],"[b,c,b,c,b]"],"output":"High Card"},{"file":"testcase_3.txt","input":[[13,10,6,3,12],"[d,a,c,c,d]"],"output":"High Card"},{"file":"testcase_4.txt","input":[[4,8,1,6,5],"[a,d,a,a,c]"],"output":"High Card"},{"file":"testcase_5.txt","input":[[11,7,3,10,6],"[c,a,b,c,a]"],"output":"High Card"},{"file":"testcase_6.txt","input":[[8,5,4,7,11],"[b,c,b,a,a]"],"output":"High Card"},{"file":"testcase_7.txt","input":[[8,11,10,13,3],"[c,d,c,a,d]"],"output":"High Card"},{"file":"testcase_8.txt","input":[[5,11,1,7,8],"[d,b,b,a,c]"],"output":"High Card"},{"file":"testcase_9.txt","input":[[4,3,2,8,12],"[d,a,c,a,d]"],"output":"High Card"}]
|
bitwise-xor-of-all-pairings.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[25,577,576,420,387,664,293,790,125,138,720,22,677,468,308,998,931,865,911,375,266,517,564,850,943,289,415,848,661,109,478,3,532,803,969,324,276,307,9,991,318,896,547,587,769,416,364,24,926,386,90,715,937,814,164,387,93,250,950,162,157,546,133,309,992,716,369,787,971,599,434,939,615,414,455,325,166,781,588,967,51,704,286,325,591,675,42,189,324,323,732,43,968,414,718,287,944,565,9,531,191,232,955,847,648,352,175,643,305,684,364,644,906,666,102,700,292,607,452,612,560,488,797,570,285,363,50,662,480,208,945,87,624,214,775,837,658,617,87,520,817,980,664,776,904,798,403,14,694,176,820,732,107,979,962,795,67,311,77,730,118,337,61,398,512,871,672,129,5,976,450,122,402,321,185,416,782,168,913,875,675,86,123,668,616,22,971,523,913,155,826,963,934,928,591,624,899,113,561,124,498,118,407,415,734,194,194,321,402,323,360,700,324,637,36,30,242,783,745,59,71,961,260,665,802,703,136,639,180,738,2,144,410,33,517,704,943,87,711,230,145,602,80,928,13,563,139,730,211,11,323,609,400,758,448,755,10,960,311,816,674,588,771,231,252,997,73,123,338,753,360,854,532,312,970,998,821,109,27,478,216,616,981,984,976,388,193,76,458,97,199,881,679,896,636,316,825,375,514,919,520,850,909,149,922,538,926,137,835,393,605,755,25,146,103,828,889,635,317,783,437,593,379,375,405,907,569,525,452,870,950,393,120,935,766,254,76,55,296,398,114,873,509,330,400,754,533,482,353,622,352,374,894,857,499,189,693,314,503,791,856,230,443,169,436,454,40,735,235,53,782,335,680,178,400,434,623,972,952,391,810,11,735,766],[833,965,833,938,684,63,532,108,780,95,968,654,472,686,170,320,924,38,716,844,369,36,594,306,748,269,890,963,750,891,142,436,162,203,545,533,393,88,471,18,937,870,675,260,514,964,589,204,358,713,143,392,424,94,590,710,912,124,764,560,293,461,262,368,72,835,648,854,799,719,33,23,478,602,954,115,480,427,668,708,884,19,703,272,680,15,997,912,833,290,784,653,498,710,912,291,23,220,164,489,0,715,1,84,940,450,422,551,791,142,849,605,595,430,896,929,145,95,368,484,76,28,481,50,49,863,138,983,299,302,473,437,532,526,67,406,1,882,898,450,940,164,163,445,133,290,237,286,801,208,846,760,954,176,184,237,682,793,4,333,621,385,649,720,5,419,958,732,214,809,808,551,125,927,657,817,931,794,791,155,319,932,600,708,355,158,787,144,577,16,858,774,393,695,228,814,212,20,785,713,931,876,960,939,146,168,992,835,527,471,6,500,264,885,437,903,297,40,539,483,164,491,110,724,40,58,95,775,559,834,443,401,246,102,502,268,529,603,260,913,249,405,46,410,359,5,886,155,426,5,922,419,396,460,131,103,473,835,716,593,258,739,86,167,697,181,216,205,0,653,29,288,554,763,479,39,668,625,313,602,469,370,420,266,292,583,397,860,277,821,829,290,500,390,280,622,686,747,870,625,260,432,658,352,104,562,80,508,71,660,735,166,727,924,811,868,574,389,108,244,206,506,33,652,512,989,894,573,564,6,286,606,165,10,910,368,631,286,651,703,654,915,996,133,878,968,215,392,494,641,482,686,204,361,135,151,706,819,918,277,483,500,204,410,148,925,826,93,162,764,484,580,174,222,712,262,617,2,429,25,0,439,746,254,200,492,404,581,566,841,768,787,636,154,927,444,601,914,65,110,220,996,894,322,551,97,45,44,510,973,605,395,321,325,429,345,725,676,751,941,193,705,764,67,602,382,773,344,709,428,717,432,147,655,203,410,115,537,37,112,933,999,516,573,457,65,196,113,256,907,171,655,868,322,144,416,620,641,511,622,940,992,552,505,406,932,699,361,352,974,19,5,295,622,605,666,433,728,882,766,781,880,569,903,743,88,237,564,965,645,231,582,29,949,516,575,241,139,831,991,770,872,793,758,787,973,627,423,842,85,131,764,242,741,40,56,198,51,526,399,769,550,468,507,360,274,224,725,815,729,100,156,389,446,489,315,152,229,216,971,494,44,466,597,457,582,491,479,461,731,326,249,902,907,856,52,709,665,645,278,117,409,241,695,945,527,770,340,565,763,749,912,865,379,724,947,575,623,744,584,663,219,809,261,212,524,119,868,245,811,432,161,501,110,759,203,659,163,823,531,421,980,462,654,201,149,932,904,666,600,465,96,885,141,276,805,599,26,502,519,689,932,548,942,737,356,744,722,143,608,409,612]],"output":0},{"file":"testcase_10.txt","input":[[569,445,273,528,139,481,425,124,389,817,232,739,506,689,529,549,56,212,359,273,647,93,793,254,258,728,537,111,442,182,802,328,11,230,526,963,623,514,498,570,428,837,152,147,547,494,429,677,587,47,993,788,709,998,724,172,739,329,531,119,434,125,915,382,466,583,391,965,551,323,658,862,69,30,590,526,816,236,879,711,664,545,932,731,276,117,572,152,719,23,94,791,962,762,838,464,471,171,302,823,176,65,113,275,170,796,529,390,340,578,267,112,67,347,850,786,646,471,367,534,289,200,785,334,336,371,186,696,798,690,552,833,679,175,560,530,92,794,725,150,148,217,808,129,939,213,442,839,505,919,715,171,718,413,525,546,631,543,44,96,955,36,383,971,258,24,795,288,719,828,999,614,713,783,439,913,152,697,557,767,58,307,973,49,285,847,603,691,791,390,295,377,389,201,710,159,416,952,762,997,620,802,583,129,491,85,484,428,184,859,555,173,683,23,930,605,199,872,308,427,929,740,14,129,997,444,844,321,375,607,339,219,516,343,387,903,547,716,907,147,433,838,148,863,97,632,47,432,604,730,944,809,493,438,746,987,994,85,420,430,283,582,537,701,46,867,267,201,49,153,583,509,610,639,840,873,589,640,205,956,208,145,561,629,63,530,395,814,784,578,182,425,850,706,166,91,400,89,128,319,842,952,181,253,359,672,767,12,975,971,427,810,821,488,957,714,22,29,437,469,568,973,412,157,221,902,471,931,467,750,49,746,160,93,983,753,164,490,835,161,739,748,590,981,880,659,929,240,495,187,540,678,258,561,438,844,356,305,525,496,232,506,222,262,908,117,518,348,873,135,745,299,315,582,395,118,895,526,454,984,157,550,745,126,419,163,366,967,38,232,431,809,362,593,140,972,671,60,833,746,5,777,632,336,546,525,909,145,468,573,956,336,2,865,223,106,414,58,110,87,49,934,774,907,524,658,26,132,147,999,40,564,868,150,360,459,728,748,500,785,794,952,53,364,954,437,855,922,758,351,369,772,433,536,351,453,333,22,913,609,579,661,498,981,402,34,931,359,887,5,158,216,216,33,99,529,651,297,686,501,812,358,476,875,370,807,713,694,814,698,821,718,340,709,414,755,652,600,835,332,983,625,389,638,338,944,574,345,449,782,580,780,604,190,963,41,475,751,672,928,82,379,446,961,90,968,507,447,468,933,810,583,551,917,137,480,584,231,566,83,263,260,128,695,97,141,741,593,340,138,709,452,110,823,938,304,220,33,473,301,259,966,391,692,849,526,601,268,193,95,485,586,822,98,351,711,198,262,820,270,84,948,939,294,775,639,367,270,607,783,756,557,382,688,648,900,944,852,928,210,252,272,576,334,874,86,732,386,130,606,32,174,508,698,351,964,141,831,64,326,111,816,278,306,650,868,124,297,461,182,622,181,220,179,267,173,424,92,738,47,642,576,836,282,848,169,485,209,500,837,189,658,507,150,163,465,116,242,263,718,252,164,775,212,906,664,681,591,359,661,746,921,245,450,467,264,655,697,662,115,741,349,89,229,723,427,204,495,875,958,967,949,311,498,49,818,929,111,485,675,37,434,47,361,103,998,809,476,786,53,94,707,1000,372,422,650,429,134,485,697,825,576,76,765,422,541,737,121,604,400,767,510,510,17,294,408,817,83,378,182,141,621,539,336,28,786,575,503,444,148,995,35,167,668,78,799,122,368,444,120,744,620,899,241,837,60,775,237,749,309,673,82,530,857,37,580,377,944,799,670,642,698,22,205,185,770,386,828,125,209,845,939,565,812,755],[788,583,247,420,958,514,591,656,501,617,763,902,683,797,956,507,895,812,57,507,985,120,603,24,97,419,128,769,199,615,686,968,560,998,704,411,396,851,201,823,492,928,417,632,221,371,107,251,40,315,617,230,373,11,349,659,812,30,672,709,240,766,176,337,993,920,922,371,716,138,991,241,496,564,825,126,671,919,480,932,700,738,685,45,654,187,225,350,907,682,381,772,198,738,519,610,730,312,465,944,327,198,154,668,564,971,209,100,125,481,154,767,727,524,32,669,995,499,209,385,781,198,618,310,286,947,757,619,555,369,538,670,980,469,851,493,96,460,898,426,682,140,819,297,60,314,471,796,16,930,379,253,72,870,47,196,269,136,944,853,363,395,897,152,292,618,275,419,985,771,933,674,744,468,693,313,880,427,301,896,708,991,672,948,867,112,622,247,538,276,616,279,712,821,700,185,730,740,194,15,882,202,537,58,458,268,225,707,918,750,354,852,974,19,802,787,868,572,143,542,503,288,580,206,227,331,946,894,114,21,644,178,723,188,262,994,683,159,725,199,174,959,900,949,929,625,970,397,133,950,953,382,357,878,603,671,796,710,647,124,689,674,276,250,326,995,775,593,995,703,445,183,467,922,248,461,697,966,433,479,557,454,288,174,367,410,708,960,275,837,382,383,64,252,570,293,963,966,201,56,307,1,367,151,980,450,431,65,118,635,565,554,213,796,838,772,729,408,579,301,439,884,395,231,22,455,961,661,484,913,327,697,470,377,464,52,304,611,829,861,208,220,564,397,384,330,92,326,620,599,106,829,335,5,253,674,419,212,565,305,58,116,330,29,165,612,566,20,510,115,949,395,776,649,571,682,792,315,349,407,542,915,362,228,789,551,320,766,204,275,75,969,296,114,216,349,775,245,354,801,990,406,917,725,290,450,436,272,851,945,373,511,533,633,888,625,596,390,557,658,378,5,998,240,253,725,192,123,993,476,375,151,128,305,22,717,884,449,224,441,728,756,133,564,664,792,981,673,396,821,0,32,129,810,606,417,452,91,654,654,569,492,624,426,715,359,184,51,276,257,645,944,735,851,841,542,403,861,398,0,839,644,376,33,508,939,9,499,168,665,438,280,567,766,721,52,222,474,576,644,737,717,958,847,949,560,558,460,559,62,949,923,742,59,746,167,248,484,441,395,360,945,885,823,131,58,807,416,70,129,731,328,256,395,363,66,571,409,263,25,885,631,916,667,235,685,150,783,365,426,805,869,659,819,482,846,243,44,248,409,939,472,670,120,174,406,131,317,559,374,194,762,670,895,106,949,766,50,958,199,106,346,353,669,972,821,69,293,665,456,108,232,375,912,539,229,61,656,858,606,596,595,2,738,980,376,459,106,595,408,924,182,248,581,348,251,740,674,225,447,461,560,362,612,401,843,281,236,1000,913,70,1000,724,294,687,861,870,162,497,291,531,674,169,935,260,361,163,447,972,737,199,33,942,358,470,164,578,200,944,685,913,779,775,96,359,987,552,769,77,248,691,219,377,819,185,916,78,167,533,230,61,657,266,970,999,364,792,749,268,286,628,161,7,504,290,242,601,888,681,463,238,124,303,96,936,185,85,721,423,621,788,697,68,17,957,396,953,549,566,781,744,808,7,281,589,372,165,802,118,59,259,650,357,806,286,164,180,78,417,384,164,659,336,413,774,657,287,951,946,526,96,917,161,233,837,504,664,2,329,1,87,541,14,968,375,257,156,242,878,219,259,789,430,233,931,487,524,290,546,174,725,332,821,38,720,286,676,727,181,366,415,866,981,773,892,318,312,60,587,438,265,850,640,235,254,131,437,663,243,526,217,115,597,135,273,560,170,980,242,505,189,175,92,590,419,752,855,107,521,359,38,313,782,76,326,712,699,175,557,958,48,699,39,568,561,623,558,425,993,816,304,685,256,307,325,136,393,115,813,31,958,642,831,365,550,411,567,436,790,18,1,294,219,517,519,29,661,867,157,271,831,250,448,552,203,735,469,412,499,569,908,79,883,663,792,640,78,530,751,51,947,76,335,607,92,175,273,767,550,397,767,34,81,421,920,207,174,44,274,698,821,818,692,589,919]],"output":205},{"file":"testcase_2.txt","input":[[41,69,364,67,481,912,904,822,799,916,399,937,688,932,511,69,315,990,769,102,51,541,874,408,470,333,827,797,428,121,29,414],[672,71,367,232,888,771,385,915,44,532,321,493,342,407,648,45,218,283,760,944,736,630,896,106,969,850,264,970,247,46,712,830,786,478,252,562,69,432,856,737,271,445,794,567,711,109,839]],"output":58},{"file":"testcase_3.txt","input":[[75,311,236,200,60,758,459,446,620,880,234,446,994,324,538,947,65,113,251,84,386,94,872,911,325,74,412,868,23,322,864,958,311,849,90,950,52,442,400,354,621,74,990,648,440,708,388,435,280,930,563,866,285,211,83,233,578,742,483,337,637,232,97,508,976,961,794,95,961,807,659,503,283,607,912,420,126,110,613,107,710,361,755,188,989,718,665,29,45,516,689,592,17,794,548,249,591,573,926,552,189,354,633,185,540,549,545,145,49,532,348,490,39,330,387,295,777,914,837,994,364,910,261,897,420,813,834,972,96,675,555,869,366,944,577,666,475,283,931,318,238,906,865,258,902,206,36,683,847,150,299,946,694,58,317,672,923,566,123,870,362,716,147,924,996,882,290,783,455,631,718,250,123,445,259,480,981,615,908,573,711,947,876,455,78,725,287,498,360,804,745,645,89,825,794,85,270,34,780,153,494,210,745,946,541,858,338,898,508,164,126,35,592,4,344,411,48,133,29,929,578,345,592,636,777,638,426,213,749,270,164,744,91,248,424,781,225,520,713,145,919,593,164,938,149,930,76,116,512,667,291,651,303,860,394,871,905,362,138,711,898,321,41,534,740,165,452,794,403,115,221,172,89,740,23,982,440,747,169,489,447,798,594,405,990,472,180,910,46,769,238,675,343,609,546,925,708,97,675,787,107,900,33,776,232,80,462,241,265,535,92,534,767,58,920,389,477,914,802,404,536,56,393,682,424,182,435,180,503,896,265,826,26,9,939,994,546,958,25,483,474,556,840,475,29,16,537,167,412,349,560,610,218,861,467,493,174,354,102,533,533,784,196,453,159,997,500,955,575,146,111,916,305,725,904,719,450,446,522,597,63,563,286,935,478,830,408,595,332,943,358,615,804,864,758,790,175,414,760,64,172,650,84,446,736,495,739,491,747,15,827,90,843,484,97,628,624,336,109,291,870,418,266,968,930,779,632,608,482,285,394,617,888,864,333,20,345,413,3,504,110,936,431,564,134,454,63,485,776,414,208,698,937,321,100,807,716,423,970,249,535,773,525,393,80,988,60,90,239,633,823,966,815,739,732,647,495,915,547,742,890,637,449,675,526,780,438,593,587,853,427,590,210,689,833,747,752,102,409,910,707,187,884,276,829,944,138,682,98,166,743,860,365,301,612,15,56,100,497,893,733,2,483,302,956,722,213,378,791,730,172,550,237,311,909,542,240,422,713,539,682,265,305,986,381,382,443,656,923,498,139,94,229,831,728,201,12,471,63,721,849,610,822,644,272,529,441,552,213,109,255,186,460,786,939,594,40,678,924,44,48,614,331,297,841,338,535,770,823,593,843,196,732,582,740,409,902,563,319,182,922,541,942,11,83,341,368,40,561,559,168,770,995,872,368,675,405,520,596,92,250,181,587,562,34,753,63,788,998,258,260,101,379,520,774,138,578,558,710,805,606,127,612,453,238,4,950,871,340,120,662,991,206,310,208,224,317,94,242,686,200,546,952,150,681,143,927,743,158,364,633,151,671,507,245,241,330,854,170,380,472,260,704,451,29,61,298,713,929,55,733,602,166,190,342,921,628,729,250,528,494,525,741,880,123,46,751,425,27,671,23,633,60,495,706,710,427,96,895,655,263,435,854,516,455,37,166,114,35,261,544,131,327,695,86,914,24,284,99,351,633,746,176,158,272,911,73,904,777,78,640,149,32,571,500,170,762,539,483,120,962,494,331,900,579,232,767,190,324,53,199,907,330,358,715,309,759,70,727,360,479,13,699,763,131,904,322,127,14,4,794,253,455,968,886,753,723,420,759,329,401,426,841,765,483,28,104,647,725,35,564,10,7,843,139,161,927,567,443,747,704,694,734,20,669,3,671,738,826,512,10,156,190,790,943,400,793,38,48],[475,477,750,875,30,708,820,35,328,660,178,334,535,979,558,90,594,743,440,541,216,234,549,852,316,209,736,952,240,910,446,135,741,173,211,495,499,804,66,613,313,670,776,19,230,95,364,84,904,680,11,775,308,438,468,273,284,904,182,308,357,705,226,708,744,469,389,153,938,353,238,179,164,714,376,384,407,996,39,620,805,744,149,816,940,87,275,920,995,456,609,689,411,928,377,545,47,350,703,857,813,454,652,253,905,639,142,712,33,908,688,220,926,250,472,236,120,823,143,458,288,230,807,317,493,582,176,198,643,209,188,75,758,935,985,70,72,243,711,672,78,418,676,750,672,795,932,822,776,691,893,85,711,865,131,470,244,267,338,644,837,857,75,693,579,971,209,309,816,378,636,867,828,304,55,213,635,394,653,105,709,157,13,375,745,183,530,652,736,463,397,862,194,105,653,732,73,356,747,756,365,18,833,813,539,997,139,845,486,398,107,1000,864,362,309,463,694,656,422,467,176,951,854,380,150,197,22,743,460,526,953,734,368,954,699,500,567,387,543,395,658,787,543,915,720,455,838,941,858,486,365,30,229,65,923,637,964,521,982,208,489,158,331,400,555,501,375,628,974,710,194,947,263,595,452,168,377,171,483,982,456,450,339,867,151,844,196,676,657,48,440,140,189,499,397,947,840,249,26,830,290,974,336,314,746,935,212,463,144,829,501,157,30,221,90,867,590,393,36,762,470,983,167,732,742,221,570,128,359,491,690,906,481,90,392,900,602,435,183,194,680,80,760,986,201,143,475,901,745,322,778,814,119,297,417,825,205,108,643,697,985,560,508,543,157,650,580,119,396,495,706,827,122,618,499,831,659,517,360,75,182,819,311,715,694,95,970,367,883,218,317,868,317,360,82,349,739,504,797,804,215,245,218,77,919,808,612,218,172,678,79,447,498,312,363,926,232,900,680,691,477,535,749,682,654,666,237,919,914,118,662,601,817,144,920,516,122,364,736,67,541,505,143,570,71,357,513,634,24,820,265,943,697,814,895,239,309,709,689,356,149,92,765,930,62,10,604,431,39,206,581,289,262,98,683,332,114,32,614,851,353,787,7,853,526,616,969,239,870,850,858,107,426,37,100,400,572,670,882,701,563,792,680,7,114,390,245,174,191,858,874,225,150,253,648,848,257,657,769,783,312,105,773,512,60,886,364,411,505,82,435,512,322,747,777,980,948,479,896,330,863,709,81,413,195,957,950,334,765,830,799,470,558,99,183,692,747,984,290,98,590,386,469,866,881,945,703,259,450,979,57,555,200,799,364,685,631,944,631,67,888,790,417,199,26,402,884,742,614,4,443,765,744,152,716,271,589,33,17,824,658,107,154,278,875,446,772,812,792,448,882,581,851,32,938,193,321,329,27,735,482,585,621,616,486,881,339,345,320,332,851,146,573,555,447,575,131,139,630,429,487,914,743,374,391,708,334,926,246,792,700,672,150,630,204,143,994,407,797,357,747,67,191,404,977,429,995,272,986,717,513,203,145,712,887,465,221,812,56,138,792,584,899,767,679,639,831,357,367,928,232,926,107,999,577,364,660,4,164,513,588,232,402,406,453,986,569,187,118,9,690,105,312,415,256,873,191,937,708,580,809,724,54,711,479,185,991,812,211,130,942,88,201,694,791,290,98,878,980,206,147,395,686,88,777,812,287,856,951,423,203,721,738,1000,298,103,119,757,822,355,812,971,435,977,755,642,138,133,766,202,448,449,518,723,650,9,435,692,764,979,234,223,112,351,608,293,492,649,457,134,553,534,91,684,347,257,328,151,490,367,588,217,348,768,423,468,192,434,126,881,759,241,650,88,105,682,633,178,227,669,384,913,61,595,770,805,398,199,856,543,274,637,310,683,927,827,202,788,799,834,356,903,568,717,577,809,416,234,644,695,277,876,933,949,262,45,111,882,28,835,680,740,57,181,262,364,552,134,196,235,971]],"output":594},{"file":"testcase_4.txt","input":[[359,97,474,451,636,758,635,812,315,379,215,772,447,910,883,64,867,141,496,117,202,545,22,363,650,188,101,838,213,191,427,705,10,103,427,417,660,847,763,116,994,585,56,639,785,492,434,603,420,850,452,216,762,447,957,240,347,677,15,459,459,45,81,115,314,335,271,479,811,908,325],[217,15,618,780,421,171,837,447,478,640,666,973,749,687,677,240,376,69,868,786,7,824,45,990,667,500,513,753,437,554,801,371,5,539,38,461,193,492,9,506,495,152,719,238,545,611,880,465,674,386,175,618,980,629,50,864,594,537,20,15,135,122,387,87,266,525,606,161,815,93,95,33,545,326,757,603,708,3,212,605,754,478,367,273,4,233,989,358,901,207,824,750,492,406,239,14,979,249,484,880,128,479,906,220,427,194,100,842,775,854,286,836,660,55,490,465,29,633,406,189,540,12,343,373,496,83,226,143,693,945,150,539,57,69,127,693,842,187,757,614,768,501,604,88,825,808,485,964,147,456,544,872,982,724,427,495,267,621,58,452,627,428,258,742,910,157,845,237,382,160,671,599,210,574,184,483,565,751,573,101,723,859,535,330,271,39,579,438,743,57,96,812,308,304,774,762,584,763,55,22,424,259,961,547,14,663,660,46,418,341,348,687,418,53,309,631,821,873,308,311,395,201,703,946,694,125,587,130,168,537,986,122,172,840,295,605,736,424,793,629,266,331,923,294,923,957,668,434,925,221,635,410,345,876,199,275,241,568,332,897,233,8,66,727,189,549,550,50,971,16,905,169,99,995,789,780,252,237,889,350,562,851,302,526,707,628,622,951,504,175,287,427,407,233,583,757,524,510,926,162,553,459,598,196,264,761,176,863,959,708,668,51,613,957,702,33,171,716,396,308,274,756,716,279,83,496,841,514,733,378,960,491,554,400,919,144,812,65,360,566,934,613,445,145,369,765,245,885,698,763,405,37,634,872,343,356,687,109,468,757,719,699,84,304,477,606,302,704,178,611,535,202,808,105,322,563,457,697,740,497,457,353,737,760,446,23,131,298,277,849,624,905,614,15,508,508,883,243,292,548,720,233,624,133,911,344,484,654,659,518,332,172,465,12,37,128,245,686,470,784,533,536,802,813,990,651,845,536,274,139,577,131,89,818,37,297,429,979,787,25,550,2,128,557,79,543,396,715,828,849,551,666,613,303,289,762,619,213,990,513,974,228,77,198,62,247,250,348,644,253,370,271,525,436,709,187,283,526,466,806,225,191,545,260,666,550,947,452,971,987,318,142,309,704,402,0,390,910,445,391,926,195,817,286,437,329,24,535,219,195,462,967,905,617,913,564,49,761,454,672,811,462,775,384,366,409,212,366,289,980,692,231,286,138,302,708,364,110,942,464,30,585,251,669,357,121,312,365,998,442,743,749,345,491,460,667,788,294,648,529,143,249,50,760,80,771,407,469,64,192,950,405,461,161,175,609,60,654,157,69,627,970,443,301,92,938,788,693,120,562,98,788,876,499,508,751,58,307,997,584,835,409,805,484,15,607,804,220,705,582,65,758,324,4,694,359,9,874,980,357,570,132,481,946,63,636,795,512,36,497,714,468,286,57,807,819,198,578,876,120,466,673,850,455,87,687,150,439,961,616,152,121,21,93,871,757,381,210,428,629,30,712,692,981,764,848,835,760,798,844,10,55,780,142,536,951,846,548,313,1,650,768,825,111,541,843,441,886,410,796,452,739,879,64,123,743,707,569,589,908,668,614,15,949,711,132,348,900,207,772,413,621,272,669,546,198,783,276,314,71,317,980,587,535,507,179,427,765,891,241,216,815,749,28,760,40,640,989,108,746,931,361]],"output":885},{"file":"testcase_5.txt","input":[[197,908,340,759,628,89,101,700,450,994,211,599,447,151,352,364,984,469,903,611,468,858,920,757,185,642,800,673,109,874,728,856,589,84,602,320,652,719,305,49,856,163,225,495,847,542,332,278,14,475,754,396,374,535,203,420,729,471,350,277,269,769,479,301,415,275,548,764,421,730,4,589,218,360,439,569,483,575,487,746,31,938,616,985,514,618,739,704,40,976,77,437,718,52,538,281,906,126,906,717,724,666,752,825,969,350,928,674,377,549,389,959,591,38,140,714,240,199,288,10,301,185,384,196,757,202,43,67,183,750,141,359,491,257,628,853,465,363,658,403,345,53,291,220,138,799,906,63,63,9,101,451,972,660,279,786,302,162,246,398,696,299,533,462,907,883,946,619,680,629,280,716,201,738,445,404,10,616,224,925,94,195,924,332,805,543,612,607,661,619,935,960,856,910,78,293,746,496,454,328,602,235,327,773,100,491,829,821,488,37,902,173,416,262,998,394,492,868,602,481,657,748,822,252,1000,150,515,469,705,546,147,824,65,116,696,403,545,623,196,797,836,369,16,13,480,210,124,967,695,828,712,33,710,625,776,11,109,143,919,455,30,654,283,168,115,360,422,928,608,793,87,56,798,740,961,532,501,496,670,351,133,980,50,372,209,954,279,379,624,350,301,843,781,218,29,444,905,122,755,563,500,104,275,394,119,98,54,231,487,185,78,81,535,7,456,272,494,550,155,803,325,4,342,730,247,874,73,182,535,317,315,927,313,324,859,878,846,652,840,511,822,473,48,189,872,616,626,186,849,196,738,217,365,419,430,989,572,812,765,755,689,310,881,661,548,923,82,558,958,537,614,125,392,459,637,703,541,83,298,838,336,742,745,737,718,23,450,563,108,578,875,321,137,167,651,832,834,520,107,779,684,864,515,753,858,616,757,77,857],[344,263,506,140,225,771,725,238,417,458,241,540,148,384,422,700,220,355,605,830,43,189,957,228,852,465,288,165,790,325,779,632,46,927,250,295,985,719,322,325,882,436,500,426,149,98,12,449,378,916,248,560,280,839,193,260,202,826,481,959,208,609,33,215,954,971,663,742,67,556,12,514,921,929,118,36,722,925,59,65,982,286,6,863,770,934,824,917,91,662,946,440,634,865,905,834,474,904,7,767,810,459,291,186,979,5,628,385,228,629,497,287,654,144,50,622,147,151,949,488,585,265,296,68,154,498,758,394,954,176,557,290,597]],"output":805},{"file":"testcase_6.txt","input":[[742,719,898,851,353,456,530,970,473,581,324,595,796,360,869,818,927,393,38,317,642,437,402,916,871,167,283,718,637,125,883,237,172,279,617,24,382,421,967,444,77,770,486,180,312,659,885,772,835,123,696,786,425,135,122,412,232,426,123,831,242,518,669,810,187,64,497,21,546,560,199,262,693,107,421,142,424,793,432,99,613,484,762,338,346,653,159,762,486,499,916,851,639,198,529,271,860],[213,127,168,380,239,754,664,143,614,222,840,42,778,947,156,250,879,349,965,999,117,169,74,59,789,73,555,816,554,910,966,872,660,236,644,45,901,528,114,712,361,267,935,493,39,821,738,262,60,622,779,884,676,460,201,159,54,459,486,490,706,606,206,286,549,913,727,813,696,549,121,734,536,120,972,707,57,590,955,460,368,11,956,464,224,591,866]],"output":515},{"file":"testcase_7.txt","input":[[421,664,941,513,85,406,47,898,633,417,231,624,684,860,239,896,104,665,237,716,336,857,171,759,114,731,899,160,550,126,327,519,675,569,705,240,195,775,181,476,645,615,674,314,991,347,15,994,241,826,309,473,795,783,848,266,804,37,863,865,628,530,305,830,77,783,476,411,854,7,799,139,13,184,306,646,460,853,463,330,201,234,258,609,896,118,215,319,609,322,748,594,846,330,455,303,560,778,565,753,850,474,561,800,197,27,570,477,364,562,774,196,382,96,22,817,351,373,801,702,937,141,359,800,272,244,266,598,33,969,337,230,183,320,195,898,166,900,917,918,394,310,805,698,74,813,637,161,484,498,262,370,218,426,764,678,689,204,610,723,19,279,77,436,204,740,636,841,246,287,116,814,908,876,179,194,763,49,611,577,826,963,663,889,831,34,965,395,16,707,725,34,932,76,613,789,604,867,134,153,19,549,870,1,238,806,432,798,31,190,165,161,496,315,651,790,746,62,0,654,857,996,331,159,968,17,770,831,410,303,738,659,515,689,43,634,228,43,13,673,964,495,90,303,869,141,893,2,618,903,386,949,132,998,869,873,67,900,998,369,127,170,660,720,757,536,343,793,871,802,882,992,224,101,90,669,2,499,981,578,365,395,270,919,595,894,487,787,673,123,524,225,923,451,45,308,878,62,659,647,190,510,331,86,137,958,142,476,487,911,279,322,586,698,149,624,667,687,194,481,462,474,460,321,821,846,475,346,491,942,748,976,425,608,676,547,434,916,221,731,474,264,689,136,866,295,561,441,619,805,653,903,312,397,272,298,751,690,410,421,768,761,833,24,470,797,449,333,634,479,59,318,102,320,956,7,456,773,340,841,650,202,537,303,316,853,420,153,803,627,570,824,617,184,676,644,832,939,628,728,902,276,2,145,692,906,560,119,155,388,204,387,338,279,696,403,816,413,496,847,680,453,340,331,299,255,643,857,468,115,434,937,811,736,896,422,264,331,783,122,67,783,670,462,792,776,390,236,513,186,862,906,299,560,21,456,768,380,450,102,222,40,366,961,967,627,780,354,916,790,946,369,743,110,426,119,41,756,971,979,388,981,133,955,768,959,733,477,803,750,977,65,500,821,918,973,463,887,63,548,104,658,708,138,661,932,231,637,90,205,882,954,180,112,973,789,936,911,826,189,331,932,574,817,759,956,170,233,176,946,308,36,318,130,918,951,433,902,637,876,970,914,259,745,10,270,999,712,497,485,718,821,209,883,102,979,565,60,765,847,661,835,677,532,906,78,73,224,217,312,147,762,210,410,641,644,135,209,600,262,590,399,698,799,632,265,831,955,600,50,419,673,128,804,563,868,869,265,960,763,866,914,701,570,430,240,811,672,288,863,243,764,246,270,242,335,717,790,685,248,871,847,344,51,987,311,884,350,82,120,389,513,388,708,293,705,763,274,537,43,263,576,201,613,174,60,945,267,523,699,7,661,110,387,550,837,392,655,659,163,768,703,366,548,811,255,833,141,282,677,308,367,912,540,418,159,77,267,567,89,629,986,113,160,622,362,723,402,97,718,470,831,498,416,766,39,364,833,297,326,473,602,728,802,261,522,236,102,844,649,695,840,29,350,641,218,400,370,404,541,824,634,83,932,158,518,843,168,540,746,562,373,802,236,605,624,561,947,630,424,847,945,839,43,28,0,864,115,664,708,940,11,856,701,672,744,889,743,36,231,377,360,112,616,54,823,566,435,653,936,511,783,177,969,301,265,951,451,162,604,949,332],[424,277,158,755,718,604,333,999,885,122,582,948,101,780,553,149,35,75,249,993,871,797,659,812,524,672,592,955,533,768,274,594,781,717,935,65,426,281,864,989,198,930,194,494,627,591,675,123,175,992,848,858,632,811,247,697,930,288,70,6,812,655,766,424,427,217,285,244,590,832,327,503,544,430,176,128,324,558,731,847,711,203,798,243,956,169,402,40,630,984,750,700,591,11,367,966,207,108,807,307,201,927,815,539,397,194,762,358,435,967,618,320,238,698,855,937,869,64,239,699,101,397,76,333,713,300,466,38,320,552,279,736,658,601,672,802,602,897,629,537,826,578,609,187,102,147,297,218,145,984,972,228,962,968,233,834,710,559,725,559,22,685,571,484,102,243,549,439,313,599,902,118,907,133,680,236,663,323,671,354,693,359,992,725,435,496,561,498,244,974,489,260,982,887,292,602,105,421,388,676,863,607,664,266,958,646,716,325,329,56,256,720,192,451,729,262,255,845,7,982,566,323,110,159,347,941,960,467,855,339,168,628,37,52,525,146,559,626,74,558,138,19,345,711,989,42,893,469,899,916,849,748,692,175,407,447,767,611,268,30,388,931,73,857,650,526,438,120,622,384,898,367,531,162,524,248,180,984,751,343,702,581,784,809,310,688,733,45,116,661,837,859,133,3,495,680,13,700,788,895,30,869,864,163,852,398,248,958,25,763,631,830,538,16,797,40,530,881,397,850,921,771,421,521,892,999,38,274,663,602,145,317,804,801,596,130,578,468,401,455,484,287,742,228,402,770,540,784,981,754,266,642,414,423,261,970,330,560,6,925,980,540,849,641,615,989,483,235,738,897,433,610,473,302,113,145,605,770,444,701,753,399,653,472,850,456,456,4,156,102,574,731,429,670,191,729,789,746,927,597,908,433,858,957,117,551,871,298,168,616,601,314,556,177,55,98,825,312,258,747,387,165,171,936,548,262,52,326,140,436,548,392,91,608,959,222,580,609,96,101,6,750,119,481,464,880,277,54,271,773,493,144,348,343,219,147,265,189,315,462,393,376,224,502,615,187,603,95,623,29,332,183,677,83,978,917,430,869,177,832,320,40,443,210,234,277,102,431,568,910,882,33,959,786,307,454,756,560,641,884,282,605,63,644,528,688,257,258,275,867,3,736,874,474,469,360,31,316,18,295,88,548,593,594,138,326,737,812,673,731,527,516,314,429,672,11,805,15,204,436,843,378,182,364,922,556,670,750,310,572,713,624,270,401,581,399,243,260,423,297,849,308,968,250,901,97,592,720,516,765,121,458,543,603,159,440,214,327,143,44,114,278,141,648,302,557,865,864,458,718,633,667,415,653,217,497,106,269,252,895,878,113,846,892,915,300,875,951,244,555,50,93,757,599,782,868,406,452,789,21,932,564,937,98,342,648,344,261]],"output":0},{"file":"testcase_8.txt","input":[[729,276,842,385,393,961,102,77,768,227,159,352,646,276,893,601,394,247,769,531,247,150,671,200,162,133,1000,196,268,720,503,75,895,734,352,583,427,769,873,349,875,152,845,919,991,295,869,836,234,773,961,59,32,744,982,619,355,382,878,427,142,337,699,28,835,282,102,115,391,999,348,246,279,701,897,722,596,6,493,444,120,684,900,28,132,761,953,669,499,756,84,260,24,520,885,358,779,283,522,712,297,527,170,471,180,371,726,333,781,615,916,387,21,488,869,800,926,671,76,948,321,633,969,947,410,159,788,973,910,16,18,259,198,588,968,487,186,372,115,21,125,845,867,388,861,243,777,204,24,27,548,116,624,605,154,524,514,45,588,665,75,886,268,216,185,966,105,281,424,507,312,896,423,933,935,671,889,809,169,264,766,832,67,969,367,387,43,498,435,344,914,138,103,230,202,1000,316,693,993,297,354,821,777,698,22,392,435,373,500,782,166,927,193,288,447,269,46,47,436,664,265,934,34,958,272,797,139,827,650,375,49,234,179,125,201,815,986,275,366,854,669,845,898,380,716,475,740,430,725,851,734,779,393,595,19,806,530,815,954,25,901,890,275,325,68,434,991,722,68,932,50,911,682,858,397,518,977,440,311,847,930,18,632,97,956,840,861,388,215,56,3,792,376,476,194,958,355,247,904,569,765,263,613,335,604,227,563,385,443,940,329,249,489,145,144,46,414,635,89,330,386,379,322,257,387,898,295,782,586,342,205,166,406,565,89,670,375,477,102,986,958,690,272,94,312,816,815,689,362,208,493,571,296,320,423,311,877,269,405,400,617,54,829,866,343,545,599,264,188,477,201,778,80,668,36,919,582,353,565,811,198,675,970,696,855,120,993,416,648,690,52,547,576,484,18,151,928,77,786,38,701,140,370,18,543,526,978,882,861,684,292,513,356,54,861,738,988,475,620,614,455,974,682,629,644,0,201,675,52,193,243,900,524,561,957,533,719,713,772,558,422,715,520,395,761,961,491,275,806,377,998,238,903,762,652,798,65,72,178,536,989,539,842,839,793,258,594,708,151,803,182,255,417,983,798,734,46,438,452,60,306,600,605,333,43,573,429,257,577,591,268,848,462,622,184,988,262,387,442,230,340,866,779,933,422,152,18,638,301,358,188,124,991,611,637,79,212,781,113,628,737,744,340,772,758,762,926,414,773,950,47,746,611,433,703,31,56,166,210,171,155,565,289,784,733,505,173,447,484,836,322,484,425,814,470,218,206,632,957,144,910,181,669,722,696,862,423,889,764,773,240,678,494,343,604,162,586,428,938,213,977,313,477,850,643,146,447,903,139,415,537,327,829,371,757,717,276,682,50,639],[632,724,169,629,112,490,169,864,767,923,196,639,860,395,840,979,642,257,553,745,406,701,488,314,914,809,446,175,492,262,957,134,607,564,171,69,427,963,938,59,811,320,609,737,893,836,29,577,645,878,454,934,622,428,285,101,692,734,39,825,221,864,879,77,291,510,468,354,153,770,318,188,851,765,768,48,64,3,763,543,858,800,157,463,865,555,595,959,917,16,835,522,92,79,375,424,543,211,913,187,476,578,186,584,139,765,856,608,313,364,184,988,114,298,996,921,73,220,55,15,676,153,799,747,28,844,573,595,777,473,125,534,536,610,558,389,444,966,741,191,517,526,221,44,858,108,740,635,744,692,150,680,327,592,664,312,841,275,340,128,678,112,4,383,423,946,842,251,75,100,855,340,802,305,714,775,554,760,415,240,264,170,344,750,919,754,441,751,131,132,31,124,875,229,277,804,918,715,942,381,956,766,682,933,839,197,95,416,754,713,51,926,592,865,580,930,524,651,314,344,165,423,306,353,624,442,824,98,178,44,123,344,525,595,879,84,379,530,951,745,562,617,500,757,199,329,866,996,736,750,669,741,973,150,280,782,38,217,588,657,22,229,446,777,793,653,348,635,547,698,833,361,338,129,745,581,69,184,491,50,410,726,79,385,620,785,709,588,953,99,812,317,532,953,658,925,893,207,747,961,59,36,6,37,803,915,307,866,564,858,314,652,642,299,287,171,834,530,410,49,725,970,798,225,631,888,765,58,890,619,194,658,164,30,853,469,691,374,586,885,929,141,380,868,420,273,890,766,546,775,669,866,807,238,881,631,338,881,817,231,779,102,468,898,932,661,774,690,567,471,874,746,105,729,164,617,356,268,638,189,185,262,445,269,852,175,132,780,992,861,327,639,977,213,187,383,260,286,646,364,381,904,106,362,545,365,647,401,565,321,29,756,947,352,296,480,283,297,18,689,61,148,423,188,941,389,7,921,479,100,816,183,426,142,3,95,556,662,554,690,341,222,984,673,826,957,555,680,426,27,957,618,279,55,272,767,834,831,12,619,458,469,442,194,904,947,103,125,92,411,853,601,274,549,274,96,195,783,155,491,615,95,8,17,19,428,292,927,661,584,287,645,405,619,64,103,979,469,866,376,266,985,375,460,803,291,41,800,350,891,7,952,614,692,516,762,440,783,391,889,171,486,11,792,184,920,80,321,316,384,395,82,686,995,763,443,932,974,38,845,197,761,628,215,47,353,139,471,772,909,46,714,343,619,964,788,872,450,402,218,428,222,0,811,55,375,592,192,443,222,765,884,242,798,432,329,696,786,422,78,434,34,519,474,21,923,869,287,423,221,334,259,279,187,920,755,648,314,677,547,703,476,498,128,866,239,762,746,313,526,558,453,261,567,338,481,141,455,813,666,246,223,412,303,796,176,542,956,437,463,954,364,731,84,119,301,429,981,6,254,661,195,638,67,743,390,517,591,946,696,848,507,6,784,489,382,697,775,272,46,116,717,129,942,148,488,784,751,556,996,93,908,93,26,459,445,117,653,981,626,369,543,180,15,951,562,875,515,699,770,533,308,237,700,376,585]],"output":0},{"file":"testcase_9.txt","input":[[513,15,852,4,83,631,924,12,592,130,792,25,165,182,669,68,864,495,841,914,252,402,799,917,353,427,925,431,408,388,690,618,222,428,610,673,812,889,11,523,741,317,79,905,233,338,232,419,657,221,121,549,712,485,307,916,192,388,730,355,462,681,235,852,586,99,370,886,139,589,66,797,469,58,2,854,124,990,280,243,45,21,949,370,321,221,574,996,154,362,92,506,10,554,99,919,739,35,0,207,489,6,369,596,100,29,67,858,398,183,387,299,868,765,146,657,577,895,218,850,283,79,394,411,747,485,990,323,623,19,253,257,530,808,179,677,166,803,872,117,311,569,537,708,520,485,403,174,494,735,704,279,713,753,56,610,435,148,482,951,541,652,490,114,777,197,120,906,38,126,732,278,156,484,926,642,522,755,18,205,739,691,24,349,714,953,294,808,613,91,326,93,950,637,160,255,174,535,251,365,500,993,674,193,906,711,931,716,577,467,372,224,546,161,57,689,638,192,463,32,26,624,723,400,980,148,449,580,7,217,427,863,867,938,403,448,88,744,676,482,107,966,24,591,185,227,105,621,28,217,134,350,773,920,377,557,632,240,654,422,170,65,613,931,731,736,803,140,822,586,344,438,855,832,721,353,695,51,765,298,537,75,495,74,214,222,310,732,976,111,498,356,706,666,496,311,822,1,484,106,121,45,887,846,766,850,769,361,784,947,922,533,528,738,88,313,231,633,112,681,70,658,299,377,706,862,32,88,398,526,126,169,199,373,80,34,599,903,466,47,785,210,294,451,868,763,262,558,604,199,150,854,403,209,550,19,429,706,418,505,288,970,412,333,188,470,909,425,646,592,757,799,77,888,411,942,636,371,576,381,690,600,810,782,201,454,400,692,911,928,726,281,992,156,369,222,835,213,632,353,761,616,281,382,122,565,489,847,871,962,599,616,598,184,253,212,416,895,530,652,541,106,955,809,554,495,910,930,197,486,163,13,457,885,1000,626,554,809,479,633,581,793,264,988,36,414,477,449,124,731,956,304,518,23,403,559,819,135,987,433,777,500,823,187,322,254,852,828,724,341,750,819,695,319,957,796,291,286,793,348,834,807,98,794,556,161,932,211,666,93,371,600,317,610,631,568,235,327,679,296,792,111,690,557,528,538,142,298,263,442,475,732,372,378,80,943,501,985,732,971,707,525,727,605,116,973,787,999,733,100,572,441,499,259,233,371,653,169,874,191,364,849,887,595,348,486,88,357,904,964,69,255,719,464,702,511,824,117,522,697,228,44,81,591,899,754,728,347,421,919,54,566,418,143,285,182,152,69,370,98,66,68,52,354,674,185,221,303,243,789,615,671,468,999,23,534,491,152,16,21,44,872,966,525,829,946,645,109,380,495,48,266,602,969,118,374,719,480,86,165,5,791,348,351,163,539,992,301,467,729,262,110,156,590,266,565,637,579,354,176,218,763,572,961,108,249,524,256,607,140,56,707,654,666,158,827,7,529,840,56,327,232,229,964,520,234,66,584,76,522,23,675,107,630,18,517,836,709,427,356,614,313,385,185,114,508,659,994,533,655,980,49,265,659,763,791,636,183,343,870,598,117,269,477,109,436,526,908,912,516,96,502,121,734,509,924,285,534,926,595,754,385,588,642,245,641,433,718,249,129,131,433,274,26,535,248,308,38,609,427,151,744,526,715,637,192,46,362,39,530,667,228,847,628,819,48,972,6,811,636,435,734,830,865,786,297,842,341,64,918,816,867,273,435,44,687,572,201,732,376,921,933,958,902,285,35,942,394,41,129,98,221,551,333,481,959,467,160,991,456,673,300,983,549,497,640,490,164,97,560,711,117,124,271,242,80,490,796,188,504,823,887,232,297,202,117,13,709,77,775,935,930,363,890,737,850,675,782,454,368,396,96,293,561,919,831,948,148,679,220,605,910,724,562,664,426,286,939,153,249,734,210,849,166,343,552,112,638,657,798,450],[743,522,904,520,369,35,30,244,60,516,397,62,315,924,619,175,470,9,269,605,116,970,276,486,450,849,553,291,877,616,750,865,118,121,35,715,707,129,732,261,179,256,986,781,187,10,224,534,175,10,253,588,384,387,134,695,437,274,943,377,374,60,460,246,11,333,202,439,553,564,230,113,771,758,759,547,114,489,253,611,800,637,564,104,633,219,572,316,871,439,381,191,107,273,984,606,429,8,607,903,139,540,162,78,773,424,905,869,698,495,784,679,520,385,745,258,803,512,829,476,351,79,396,105,378,773,240,324,792,350,632,791,865,473,845,220,29,473,911,542,620,201,548,637,894,127,331,817,959,930,101,890,319,199,116,149,472,603,96,959,709,874,666,297,665,656,110,248,679,968,934,925,344,812,32,376,213,235,620,222,799,453,815,612,930,284,582,948,468,159,932,802,176,241,424,584,715,643,340,473,514,893,514,476,839,187,741,946,971,305,469,608,722,640,516,383,280,325,870,801,919,690,470,227,58,911,22,286,456,969,583,814,732,559,57,332,382,194,247,893,682,962,638,856,535,630,78,563,842,224,239,803,157,152,965,986,635,758,821,292,205,686,710,500,368,950,304,436,930,543,770,818,329,181,604,18,749,408,842,288,297,722,512,172,589,386,592,624,350,805,462,472,488,577,648,257,750,320,955,732,335,940,64,548,206,461,747,418,596,999,143,915,208,189,281,787,456,332,248,39,54,406,605,92,446,156,830,721,83,264,931,981,63,463,846,527,860,900,421,842,755,329,512,15,49,818,211,193,131,687,588,271,292,205,205,888,373,141,553,463,49,989,932,107,775,470,926,145,371,670,65,988,88,820,165,817,76,88,394,388,748,654,461,527,797,195,515,633,479,980,812,133,967,552,598,958,748,482,953,427,942,45,797,944,536,969,949,630,768,330,355,198,829,221,189,398,600,90,509,600,139,474,462,52,883,280,255,923,433,924,60,119,817,610,554,722,22,853,808,742,41,263,443,211,476,60,569,482,448,293,179,114,369,902,929,431,523,577,509,298,764,888,976,846,885,398,938,738,986,509,171,165,478,808,481,55,222,68,538,227,880,1000,248,41,650,128,134,645,276,118,445,526,457,478,74,714,556,814,975,484,946,91,539,754,675,118,195,893,230,443,498,729,198,218,15,539,367,645,791,569,100,591,79,356,755,24,14,223,398,707,32,311,226,104,184,38,974,610,360,777,982,140,973,250,933,891,333,599,489,1000,561,297,130,158,541,110,42,414,144,106,667,647,680,894,955,176,420,131,907,243,665,309,418,159,150,244,333,439,682,130,239,790,835,111,850,926,834,141,552,626,377,760,731,957,923,925,753,685,687,735,663,200,138,39,42,279,386,116,934,108,709,648,317,526,711,582,458,435,336,883,800,198,432,648,657,216,7,619,76,46,903,116,494,300,589,423,148,251,762,532,621,12,560,268,613,583,448,560,795,194,794,345,7,482,574,514,23,788,465,308,416,953,807,321,156,354,948,764,668,849,741,843,138,884,388,628,260,914,67,688,658,669,667,419,392,696,583,49,849,658,410,469,218,123,817,881,367,232,361,464,359,593,663,395,102,5,508,291,649,777,959,265,489,75,630,577,453,71,944,78,417,28,514,784,201,750,436,576,414,269,99,219,735,74,842,28,302,674,559,165,322,177,407,56,472,840,589,554,663,447,398,606,476,363,387,720,826,626,270,564,772,607,301,912,517,240,812,960,915,727,963,391,942,609,794,674,951,823,787,196,844,750,551,489,969,514,949,152,877,477,584,697,116,641,110,200,752,805,83,732,560,994,726,2,679,444,768,72,8,531,490,115,313,74,343,852,736,194]],"output":211}]
|
buy-two-chocolates.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[3,63,52,67,70,18,13,29,26,69,38,29,33],43],"output":27},{"file":"testcase_10.txt","input":[[43,88,49,19,76,79,62,96,40,16,51,82,26,71,94,82,54,57],1],"output":1},{"file":"testcase_2.txt","input":[[86,58,16,15,34,20,63,31,64,43,45,83,20,15,37,78,65,76,51,19,32,61,37,76,47,60,38,21,98,88,61,94,37,42,47,26,49,26],4],"output":4},{"file":"testcase_3.txt","input":[[5,8,64,30,79,61,61,36,23,73,30,29,86,66,92,13,3,47,56,18,88,72,96,62,12,85,43,32,8,61,88,98,29,70,67],12],"output":4},{"file":"testcase_4.txt","input":[[32,20,8],74],"output":46},{"file":"testcase_5.txt","input":[[37,87,97,82,1,99,40,71,54,96,6,10,5,90,99,82,33,95,65,24,12,25],30],"output":24},{"file":"testcase_6.txt","input":[[74,18,3,91,12,35,88,88,51,37,25,96,61,65,54,84,70,75,79,32,90,56,91,70,46,10,48,40,71,72,35,72,100,15,57,59,36,64,67,73,86],47],"output":34},{"file":"testcase_7.txt","input":[[31,72,78,4,87,85,43,20,62,1,79,38,29,35,71,15,24,12,5,12,76,85,48,64,31,88,14,22,21,61,17,43,38],51],"output":46},{"file":"testcase_8.txt","input":[[55,1,87,85,62,100,30,37,42,85,91,39,69,36,70,4,49,3,76,95,50,74,50,16,93,25,8,63,44,93,68,63,66,19,5],66],"output":62},{"file":"testcase_9.txt","input":[[16,86,42,59,99,96,20,83,93,99,22,4,93,46,96,95,48,79,79,95,40,83,9,11,39,41,50],10],"output":10}]
|
calculate-delayed-arrival-time.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[1,7],"output":8},{"file":"testcase_10.txt","input":[7,2],"output":9},{"file":"testcase_2.txt","input":[22,16],"output":14},{"file":"testcase_3.txt","input":[21,9],"output":6},{"file":"testcase_4.txt","input":[2,16],"output":18},{"file":"testcase_5.txt","input":[11,15],"output":2},{"file":"testcase_6.txt","input":[22,12],"output":10},{"file":"testcase_7.txt","input":[2,9],"output":11},{"file":"testcase_8.txt","input":[1,16],"output":17},{"file":"testcase_9.txt","input":[18,13],"output":7}]
|
calculate-digit-sum-of-a-string.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":["10000010010101010000000000",100],"output":"10000010010101010000000000"},{"file":"testcase_10.txt","input":["100010010001001100000010110110000001110001000001100011010010010001000",41],"output":"149"},{"file":"testcase_2.txt","input":["1100000000",95],"output":"1100000000"},{"file":"testcase_3.txt","input":["010000000001001000110000000000010100100001001100000000",83],"output":"010000000001001000110000000000010100100001001100000000"},{"file":"testcase_4.txt","input":["0000010000010000000010110111000001100000100010101100000101101010100100000",42],"output":"1111"},{"file":"testcase_5.txt","input":["0010010010000000000110100011011001000010000000011",2],"output":"14"},{"file":"testcase_6.txt","input":["01000001000011010000001001010100000000010010000000000001",99],"output":"01000001000011010000001001010100000000010010000000000001"},{"file":"testcase_7.txt","input":["0000001001101011000000010010000100001100110000010001000101000",31],"output":"89"},{"file":"testcase_8.txt","input":["00000000000101110100100000001",100],"output":"00000000000101110100100000001"},{"file":"testcase_9.txt","input":["00010000000000100000001000000110000011001101",81],"output":"00010000000000100000001000000110000011001101"}]
|
categorize-box-according-to-criteria.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[981,736,749,928],"output":"Heavy"},{"file":"testcase_10.txt","input":[792,28,209,186],"output":"Heavy"},{"file":"testcase_2.txt","input":[94,621,600,381],"output":"Heavy"},{"file":"testcase_3.txt","input":[498,323,500,555],"output":"Heavy"},{"file":"testcase_4.txt","input":[27,29,22,693],"output":"Heavy"},{"file":"testcase_5.txt","input":[12,55,174,413],"output":"Heavy"},{"file":"testcase_6.txt","input":[489,526,588,636],"output":"Heavy"},{"file":"testcase_7.txt","input":[170,66,525,610],"output":"Heavy"},{"file":"testcase_8.txt","input":[867,106,972,980],"output":"Heavy"},{"file":"testcase_9.txt","input":[171,360,791,511],"output":"Heavy"}]
|
cells-in-a-range-on-an-excel-sheet.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":"Y1:Y5","output":["Y1","Y2","Y3","Y4","Y5"]},{"file":"testcase_10.txt","input":"U7:U9","output":["U7","U8","U9"]},{"file":"testcase_2.txt","input":"N6:N7","output":["N6","N7"]},{"file":"testcase_3.txt","input":"N1:X6","output":["N1","N2","N3","N4","N5","N6","O1","O2","O3","O4","O5","O6","P1","P2","P3","P4","P5","P6","Q1","Q2","Q3","Q4","Q5","Q6","R1","R2","R3","R4","R5","R6","S1","S2","S3","S4","S5","S6","T1","T2","T3","T4","T5","T6","U1","U2","U3","U4","U5","U6","V1","V2","V3","V4","V5","V6","W1","W2","W3","W4","W5","W6","X1","X2","X3","X4","X5","X6"]},{"file":"testcase_4.txt","input":"X6:Z9","output":["X6","X7","X8","X9","Y6","Y7","Y8","Y9","Z6","Z7","Z8","Z9"]},{"file":"testcase_5.txt","input":"M3:X7","output":["M3","M4","M5","M6","M7","N3","N4","N5","N6","N7","O3","O4","O5","O6","O7","P3","P4","P5","P6","P7","Q3","Q4","Q5","Q6","Q7","R3","R4","R5","R6","R7","S3","S4","S5","S6","S7","T3","T4","T5","T6","T7","U3","U4","U5","U6","U7","V3","V4","V5","V6","V7","W3","W4","W5","W6","W7","X3","X4","X5","X6","X7"]},{"file":"testcase_6.txt","input":"H7:W8","output":["H7","H8","I7","I8","J7","J8","K7","K8","L7","L8","M7","M8","N7","N8","O7","O8","P7","P8","Q7","Q8","R7","R8","S7","S8","T7","T8","U7","U8","V7","V8","W7","W8"]},{"file":"testcase_7.txt","input":"T2:V3","output":["T2","T3","U2","U3","V2","V3"]},{"file":"testcase_8.txt","input":"G6:T8","output":["G6","G7","G8","H6","H7","H8","I6","I7","I8","J6","J7","J8","K6","K7","K8","L6","L7","L8","M6","M7","M8","N6","N7","N8","O6","O7","O8","P6","P7","P8","Q6","Q7","Q8","R6","R7","R8","S6","S7","S8","T6","T7","T8"]},{"file":"testcase_9.txt","input":"L6:X9","output":["L6","L7","L8","L9","M6","M7","M8","M9","N6","N7","N8","N9","O6","O7","O8","O9","P6","P7","P8","P9","Q6","Q7","Q8","Q9","R6","R7","R8","R9","S6","S7","S8","S9","T6","T7","T8","T9","U6","U7","U8","U9","V6","V7","V8","V9","W6","W7","W8","W9","X6","X7","X8","X9"]}]
|
check-distances-between-same-letters.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":["qiqtapgzjlbkcxexekvldwsdsoghmwjfcnavifmuhpbotnyyuz",[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,-1]],"output":true},{"file":"testcase_10.txt","input":["vv",[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0]],"output":true},{"file":"testcase_2.txt","input":["krryocipkxeucxuyfjfepoji",[0,0,-1,0,-1,-1,0,0,-1,-1,-1,0,0,0,-1,-1,0,-1,0,0,-1,0,0,-1,-1,0]],"output":true},{"file":"testcase_3.txt","input":["sdiclapkwnmplqvfhufwjkztryxvhtsoojeumneycizrdxaq",[-1,0,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]],"output":true},{"file":"testcase_4.txt","input":["lvnxixzwezneflifvw",[0,0,0,0,-1,-1,0,0,-1,0,0,-1,0,-1,0,0,0,0,0,0,0,-1,-1,-1,0,-1]],"output":true},{"file":"testcase_5.txt","input":["xcrtaicirxdatd",[-1,0,-1,-1,0,0,0,0,-1,0,0,0,0,0,0,0,0,-1,0,-1,0,0,0,-1,0,0]],"output":true},{"file":"testcase_6.txt","input":["ttadyjvbhfxlcrauhrmejokqusscngfvyleqdpwbzpizoinkgxwm",[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]],"output":true},{"file":"testcase_7.txt","input":["hnloipvkwsvsniwegmpofqlfcemqkghc",[0,0,-1,0,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,0,-1,0,0,-1,-1,0,0,0]],"output":true},{"file":"testcase_8.txt","input":["hrdaarhkfpifpkdi",[-1,0,0,-1,0,-1,0,-1,-1,0,-1,0,0,0,0,-1,0,-1,0,0,0,0,0,0,0,0]],"output":true},{"file":"testcase_9.txt","input":["sjyzdprfngjskcuqllfxnayzupqadrkcxg",[-1,0,-1,-1,0,-1,-1,0,0,-1,-1,-1,0,-1,0,-1,-1,-1,-1,0,-1,0,0,-1,-1,-1]],"output":true}]
|
check-if-array-is-good.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[2,2,1],"output":true},{"file":"testcase_2.txt","input":[57,29,35,30,10,55,58,38,68,56,63,19,64,54,59,68,11,62,61,44,27,28,40,7,52,5,39,15,48,14,41,12,46,32,20,26,8,50,51,53,43,45,21,34,66,37,2,60,6,9,65,4,18,67,13,3,17,22,1,47,24,25,42,16,36,33,31,49,23],"output":true},{"file":"testcase_3.txt","input":[19,57,6,37,50,10,13,58,15,27,74,8,41,51,28,20,29,2,81,12,43,23,77,61,1,53,7,21,38,30,63,11,39,3,18,59,76,44,75,79,55,33,60,45,32,14,49,40,4,34,62,72,82,42,54,48,35,25,69,73,26,36,68,31,70,56,47,80,64,66,46,78,9,67,16,5,22,65,17,82,24,71,52],"output":true},{"file":"testcase_4.txt","input":[19,3,14,1,7,5,2,9,15,17,16,11,20,10,6,20,18,4,13,8,12],"output":true},{"file":"testcase_5.txt","input":[3,1,1,2],"output":false},{"file":"testcase_6.txt","input":[29,6,26,21,30,12,5,24,3,13,16,1,2,40,4,14,11,17,28,22,10,33,32,27,8,7,34,18,41,39,15,42,43,25,37,36,20,9,11,35,31,23,38,19],"output":false},{"file":"testcase_7.txt","input":[27,13,11,31,14,34,42,22,38,36,10,44,19,5,6,29,17,2,4,15,23,25,19,35,33,16,12,18,9,8,20,3,28,21,1,40,24,41,32,37,30,39,7,43,26],"output":false},{"file":"testcase_8.txt","input":[24,10,52,4,37,14,49,34,44,60,25,17,31,30,5,38,32,21,55,8,68,27,6,67,42,7,18,48,57,12,11,36,39,16,61,53,51,26,22,3,20,33,45,46,54,29,1,16,43,66,62,69,56,58,47,41,19,23,50,28,40,9,13,35,64,15,59,2,63,65],"output":false}]
|
check-if-bitwise-or-has-trailing-zeros.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[1,27,45,78,56,76,59,47,49,9,55,18,67,59,14,3,72,31,100,16,1,18,57,13,18,16,14,11,3,39,57,79,59,2,5,80,17,26,44,2],"output":true},{"file":"testcase_2.txt","input":[33,20,90,17,94,36,56,15,62,43,41,6,58,97,48,35,3,7,53,90,32,60,24,56,56,27,84,96,81,33,93,62,54,41,48,96,92,82],"output":true},{"file":"testcase_3.txt","input":[93,30,99,93,47,84,63,56,12,55,62,20,51,82,89,68,45,98,38,14,82,11,73,51,35,31,25,70,91,92,79,71,24,38,16,35,83,31,78,79,12,99,72,82,78,59,38,19,57,97,66,32,11,82,64,93,86,41,11,31,30,95,94,82,91,73,21,83,28,96],"output":true},{"file":"testcase_4.txt","input":[11,1,64,75,81,14,31,80,76,28,47,93,84,31,62,53,64,36,67,56,93,36,80,90,63,68,71,82,79,77,13,99,31,80,3,58,26,6,28,71,9,47,56,25,7,20,32,58,67,21,4,16,28,99],"output":true},{"file":"testcase_5.txt","input":[83,46],"output":false},{"file":"testcase_6.txt","input":[47,13,13,65,41,53,88,88,43,28,33,19,70,39,35,94,88,65,98,55,90,96,93,54,62,89,83,89,75,98,73,76,53,49,31,30,6,27,18,32,31,75,73,29,96,12,39,50,8,13,93,11],"output":true},{"file":"testcase_7.txt","input":[38,79,80,85,7,97,97,86,45,24,28,45,3,95,39,87,6,11,86,61,58,99,93,80,99,73,53,38],"output":true},{"file":"testcase_8.txt","input":[89,22,38,77,93,44,33,47,65,13,97,71,67,42,67,93,46,9,52,43,70,63,98,42,26,38,25,65,31,49,59,96,85,11,3,49,93,66,14,81,10,93,75,89,68,25,81,62,7,20,59,93,76,48,6,27,54,59,1,11,4,14,71,56,58,54,75,2,100,95,41,21,68,7,86,83,43,1,67,63,73,17,14,47,37,83,40,63,38,86,91,5],"output":true}]
|
check-if-digits-are-equal-in-string-after-operations-i.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":"110000000001010100000111000001000010000000001001","output":false},{"file":"testcase_10.txt","input":"000010001000100010100001000000000001000011011","output":false},{"file":"testcase_2.txt","input":"1111100001000000000010011000000011101101000000001000110000100010000000000","output":false},{"file":"testcase_3.txt","input":"00000110010100011101101010010000000000010100001100000000011100010000101000000100001000000100","output":false},{"file":"testcase_4.txt","input":"0110001","output":false},{"file":"testcase_5.txt","input":"1100011011000000110010000000000000100101000100100000001000001000110010000000110100000001000","output":true},{"file":"testcase_6.txt","input":"111000110000011110001010001000001110000111001000001000000000000100000001101000010000001000","output":false},{"file":"testcase_7.txt","input":"100000000010000000000","output":false},{"file":"testcase_8.txt","input":"100000100100000100110011000000010101110000","output":false},{"file":"testcase_9.txt","input":"011010001100000010101000101100001000011000101011000010110010001011110","output":false}]
|
check-if-digits-are-equal-in-string-after-operations-ii.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":"10000010001","output":false},{"file":"testcase_10.txt","input":"0101000000000010101110001001001100000000101001000001010000000000","output":false},{"file":"testcase_2.txt","input":"000001001000000","output":false},{"file":"testcase_3.txt","input":"00000000000100000001000000000100100000011100000010","output":false},{"file":"testcase_4.txt","input":"00100100010001000001000001001000010000001000001000010000000010","output":false},{"file":"testcase_5.txt","input":"00010","output":false},{"file":"testcase_6.txt","input":"101100001011100000000000010001100000000100000000000","output":false},{"file":"testcase_7.txt","input":"100010001011011000000000000010000110000010000","output":false},{"file":"testcase_8.txt","input":"0001000100000000010000000000001000000001001000010110010000000001100001000000001100000000000011","output":false},{"file":"testcase_9.txt","input":"0000100001100000000100100100110101000000100100","output":true}]
|
check-if-every-row-and-column-contains-all-numbers.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[1],true],"output":false},{"file":"testcase_1.txt","input":[[1],true],"output":false},{"file":"testcase_1.txt","input":[[1],true],"output":false}]
|
check-if-grid-can-be-cut-into-sections.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[750,[[187,0,662,502],[492,0,536,564],[745,3,749,478],[29,4,135,246],[200,5,335,659],[280,5,400,184],[392,6,623,488],[586,6,681,391],[0,7,501,506],[41,8,514,233],[480,8,607,588],[303,10,688,418],[316,11,500,683],[542,12,748,702],[592,14,691,287],[727,14,739,62],[609,15,675,236],[741,15,747,686],[320,18,744,103],[91,19,296,647],[301,19,414,644],[675,19,734,415],[382,21,574,635],[452,21,667,475],[740,21,749,180],[217,22,440,527],[2,24,641,87],[80,25,571,620],[432,26,511,419],[573,26,597,426],[545,27,710,99],[26,29,249,298],[546,29,671,472],[210,31,319,397],[702,31,718,183],[64,32,133,439],[624,32,632,463],[336,34,734,537],[636,35,654,646],[6,36,583,204],[717,36,729,480],[52,41,63,408],[499,42,614,245],[712,42,725,110],[195,43,436,635],[705,43,714,60],[343,44,541,278],[358,45,686,174],[530,45,608,428],[701,45,729,68],[95,46,394,340],[271,46,553,427],[444,46,505,293],[720,46,740,282],[687,49,718,457],[64,50,409,549],[522,51,675,190],[565,51,739,284],[643,51,722,90],[509,52,535,115],[449,54,649,138],[319,56,463,373],[598,58,734,551],[249,59,593,332],[338,60,568,524],[404,60,684,600],[335,61,461,370],[99,63,328,175],[188,64,615,378],[256,64,504,213],[214,65,473,276],[594,66,682,611],[127,67,249,646],[132,67,746,181],[610,68,641,583],[210,69,378,378],[687,69,716,548],[694,69,718,463],[11,70,241,106],[9,72,493,90],[111,72,262,473],[270,72,328,391],[330,72,435,262],[235,73,520,731],[13,75,40,379],[308,75,420,200],[154,76,473,227],[470,76,662,162],[560,76,563,691],[620,76,728,454],[73,77,276,540],[342,77,402,743],[345,79,605,83],[725,79,738,98],[63,81,396,237],[94,81,321,541],[440,82,532,396],[304,83,720,310],[156,84,331,347],[265,84,317,185],[388,88,594,201],[92,90,433,151],[408,90,695,415],[653,90,701,239],[746,90,747,396],[79,91,503,378],[222,91,603,330],[294,91,648,712],[625,92,657,291],[285,93,616,169],[22,94,747,749],[84,94,425,621],[156,94,519,435],[707,94,746,236],[533,96,596,716],[410,98,636,278],[560,98,695,151],[570,98,686,524],[294,99,577,441],[403,99,597,564],[636,99,663,678],[677,101,716,447],[241,102,603,235],[423,103,585,197],[347,105,397,247],[561,105,579,710],[14,106,103,523],[396,109,607,702],[606,109,662,140],[692,109,705,710],[254,110,391,718],[564,110,709,619],[714,111,735,669],[221,113,591,674],[593,113,622,480],[118,114,487,583],[619,115,739,625],[569,116,636,158],[388,117,398,583],[175,118,248,684],[480,119,613,156],[383,122,503,473],[65,124,301,492],[253,124,478,421],[503,124,710,586],[698,124,728,304],[211,128,696,438],[255,128,307,516],[444,128,635,199],[447,129,601,402],[738,129,745,581],[75,130,172,711],[218,130,505,458],[506,130,739,183],[677,131,713,236],[511,132,541,449],[551,134,566,349],[723,134,738,228],[29,135,268,232],[77,135,658,728],[226,135,655,246],[682,135,730,324],[688,135,743,628],[273,136,393,709],[734,136,748,243],[212,137,706,529],[320,137,562,678],[470,137,612,393],[101,138,591,325],[715,138,729,599],[701,139,743,693],[729,139,743,418],[236,140,470,236],[280,140,396,467],[462,140,534,340],[484,140,533,142],[579,140,599,386],[534,141,746,560],[567,143,608,664],[207,144,218,345],[648,144,656,195],[80,145,543,522],[272,145,546,514],[683,145,723,395],[618,146,662,639],[530,147,563,643],[726,147,728,549],[241,148,572,404],[221,150,341,422],[299,151,663,249],[615,151,683,240],[364,152,641,695],[653,152,676,602],[677,152,730,488],[230,155,544,542],[298,155,513,385],[234,156,586,681],[369,156,594,474],[459,156,629,592],[227,157,452,670],[133,158,577,736],[361,161,482,427],[117,164,413,660],[608,165,667,464],[588,166,620,383],[491,169,494,735],[16,171,475,311],[453,171,641,423],[85,172,178,709],[517,172,574,647],[642,172,684,534],[675,172,719,255],[207,174,241,317],[340,174,591,214],[388,174,514,202],[49,176,244,285],[38,177,301,286],[378,177,536,351],[150,178,274,278],[171,179,178,526],[195,179,401,549],[687,179,736,387],[560,180,732,312],[724,181,731,443],[30,182,160,521],[385,183,553,680],[393,183,643,360],[130,184,647,448],[354,184,433,617],[373,184,585,532],[102,185,707,199],[130,185,731,204],[120,187,456,267],[487,187,585,215],[197,188,646,547],[413,189,687,675],[448,189,671,297],[516,189,549,264],[696,189,698,233],[586,191,677,645],[654,191,738,468],[323,192,459,434],[649,192,716,202],[546,195,627,697],[230,196,698,388],[378,196,454,201],[468,197,529,631],[39,198,461,294],[458,198,718,226],[385,201,491,397],[477,201,531,517],[559,201,566,212],[57,202,623,739],[206,202,588,681],[279,202,322,471],[170,203,423,521],[634,203,731,472],[193,204,297,514],[514,206,527,545],[93,208,679,266],[262,210,377,696],[648,212,727,581],[700,212,719,639],[672,213,675,602],[566,214,651,342],[17,215,588,254],[273,215,439,516],[322,215,372,560],[342,216,578,527],[591,216,624,243],[13,217,695,367],[137,217,190,672],[748,217,749,669],[662,219,689,231],[144,220,203,418],[680,220,716,645],[746,220,748,319],[324,221,603,685],[477,222,646,555],[625,222,724,289],[106,223,210,590],[674,223,691,363],[669,225,696,466],[520,226,579,481],[578,226,615,713],[301,227,345,232],[500,227,601,310],[685,227,707,684],[145,228,465,622],[443,228,737,624],[502,228,611,713],[657,229,710,562],[100,230,543,356],[664,230,705,348],[28,231,381,533],[52,233,301,402],[540,233,580,239],[590,233,726,365],[224,234,408,615],[216,235,654,425],[263,235,471,669],[579,235,713,290],[739,238,742,254],[241,239,590,547],[115,240,246,491],[410,241,517,468],[606,241,653,370],[552,242,621,261],[69,243,747,722],[8,244,408,374],[215,246,588,406],[728,246,741,684],[739,246,741,595],[144,248,538,530],[229,249,527,293],[418,250,732,264],[631,250,648,671],[114,251,705,320],[684,251,719,651],[439,255,487,587],[652,256,724,483],[380,258,461,590],[102,261,335,344],[142,261,411,530],[152,261,326,716],[516,262,709,605],[161,264,184,711],[230,264,588,510],[272,264,642,704],[96,267,672,656],[631,267,707,592],[700,267,712,592],[228,268,615,548],[405,268,437,744],[481,268,613,317],[694,268,712,435],[135,269,329,285],[514,270,639,315],[241,271,290,516],[50,272,333,307],[92,272,306,543],[320,273,643,657],[337,273,486,522],[442,275,672,321],[496,276,632,697],[667,278,695,631],[211,282,681,399],[13,283,397,705],[383,283,690,647],[32,284,356,323],[146,284,494,626],[409,284,467,396],[468,284,675,504],[603,285,730,642],[569,286,608,705],[540,287,710,630],[357,288,636,703],[443,289,703,353],[458,289,556,502],[723,289,726,404],[174,292,437,380],[499,292,661,533],[404,294,690,740],[441,296,644,749],[611,296,716,602],[710,297,721,319],[7,298,68,390],[620,298,688,335],[731,298,747,576],[345,299,588,385],[439,299,505,338],[470,299,594,339],[50,301,623,571],[74,302,611,640],[376,302,568,613],[170,303,175,670],[291,305,345,745],[343,305,724,707],[653,306,739,564],[118,307,687,605],[300,307,435,740],[67,309,293,748],[398,309,609,639],[261,313,485,334],[215,315,721,421],[41,316,554,582],[396,318,445,671],[392,319,529,373],[197,321,374,537],[313,321,378,629],[381,321,723,333],[598,321,636,579],[68,322,277,577],[20,323,291,566],[452,326,719,577],[396,328,729,642],[389,329,477,561],[612,329,673,379],[738,330,747,686],[747,330,748,609],[573,331,577,544],[722,331,726,740],[278,332,638,703],[290,333,353,452],[601,333,692,541],[113,334,498,418],[362,335,625,471],[428,336,599,671],[604,336,706,602],[4,337,71,393],[10,337,363,346],[60,337,555,577],[581,337,650,392],[81,338,711,353],[374,338,639,692],[647,339,662,497],[486,344,683,557],[734,344,744,422],[427,348,446,732],[447,350,454,501],[514,353,642,358],[533,353,645,416],[262,354,330,739],[183,355,217,627],[253,355,379,590],[580,355,713,677],[425,356,749,422],[59,357,521,428],[550,357,733,373],[670,357,676,673],[96,358,344,684],[231,358,587,513],[90,359,337,444],[230,359,232,731],[421,359,528,558],[709,359,733,749],[286,361,422,462],[397,361,412,454],[20,363,183,718],[554,363,676,586],[667,363,721,466],[101,365,386,698],[480,365,738,736],[247,367,338,455],[208,368,496,488],[64,369,174,533],[115,369,359,620],[51,370,394,415],[218,371,411,614],[149,372,516,597],[88,373,358,687],[237,374,694,729],[449,374,673,616],[300,376,368,694],[464,376,570,747],[127,377,681,597],[497,377,607,713],[435,379,567,659],[638,379,703,464],[471,380,587,625],[379,381,406,415],[58,382,698,718],[559,382,676,464],[238,383,498,498],[514,383,577,596],[28,386,646,602],[86,386,160,731],[230,386,622,593],[425,386,472,706],[569,387,657,647],[250,388,614,630],[432,389,544,520],[505,389,574,441],[738,389,745,652],[259,390,705,447],[210,392,693,585],[657,392,667,459],[670,392,741,587],[229,393,355,697],[538,393,691,495],[479,394,670,693],[23,395,576,535],[446,396,569,717],[98,397,548,694],[640,400,691,745],[295,402,322,559],[682,402,697,725],[292,404,608,704],[550,404,591,477],[419,406,425,618],[414,407,457,473],[305,410,540,708],[698,410,716,579],[135,411,377,482],[145,411,586,543],[634,411,693,569],[339,412,507,450],[632,412,727,691],[45,413,550,640],[394,413,716,524],[418,413,719,469],[303,414,425,455],[659,414,715,421],[70,415,635,635],[118,415,345,678],[424,415,649,555],[333,416,475,442],[613,417,659,664],[680,417,699,643],[525,418,658,616],[593,418,718,442],[648,418,666,643],[162,419,612,594],[375,419,565,509],[206,422,352,447],[361,422,716,743],[388,422,541,605],[110,424,599,547],[469,425,629,725],[722,425,726,572],[231,427,573,617],[432,427,646,661],[275,428,395,583],[333,428,612,654],[285,429,715,437],[672,430,700,467],[191,431,648,480],[684,431,738,561],[318,432,526,731],[668,432,684,543],[66,433,491,601],[659,434,710,614],[686,434,687,496],[53,435,520,704],[82,435,462,636],[424,436,618,646],[215,437,634,617],[684,437,726,499],[114,438,393,568],[188,438,744,518],[480,438,735,595],[507,439,640,489],[105,441,536,683],[267,442,334,700],[505,443,601,454],[544,443,677,527],[275,444,673,690],[657,445,676,705],[177,446,689,725],[383,446,443,670],[390,447,719,625],[551,447,676,683],[373,449,389,749],[396,449,602,514],[661,449,693,638],[339,450,674,572],[732,450,746,642],[153,451,230,466],[583,451,664,716],[689,452,720,711],[93,454,456,650],[143,454,543,488],[383,454,674,479],[701,454,723,599],[711,454,745,491],[207,456,633,539],[112,457,330,525],[153,457,171,663],[403,457,744,505],[143,458,647,661],[669,459,742,687],[394,460,586,531],[576,460,734,486],[42,462,583,605],[202,463,566,654],[239,465,330,602],[447,465,563,503],[657,467,722,699],[616,469,624,721],[667,470,739,637],[728,470,747,538],[78,471,231,569],[89,471,470,723],[241,471,451,645],[180,473,260,724],[357,474,358,645],[631,475,749,670],[682,475,705,683],[374,477,517,718],[473,477,677,648],[563,477,746,730],[110,478,344,611],[79,479,482,686],[159,480,649,575],[115,481,693,572],[175,482,181,491],[325,484,695,571],[107,485,411,702],[630,485,649,524],[717,486,730,657],[743,487,746,554],[109,488,313,685],[645,491,695,688],[164,492,208,658],[193,493,431,496],[505,494,553,705],[690,495,694,665],[105,496,233,501],[199,498,533,574],[720,498,749,555],[15,499,407,610],[722,499,729,551],[382,502,579,743],[280,503,365,648],[540,505,570,621],[214,506,451,585],[506,507,637,619],[626,507,678,728],[59,508,676,513],[446,509,672,606],[241,510,439,595],[366,510,662,520],[138,511,187,572],[413,512,464,674],[102,513,160,576],[204,513,370,702],[93,514,277,631],[554,514,648,597],[279,516,708,690],[557,516,643,644],[609,516,642,711],[720,516,746,535],[340,517,637,574],[410,517,604,711],[0,521,125,739],[729,522,737,748],[546,523,697,530],[182,524,618,564],[509,524,553,741],[224,525,435,631],[258,525,541,570],[559,525,748,542],[618,525,646,652],[731,525,746,680],[406,527,728,618],[679,527,734,655],[718,528,737,540],[630,529,631,665],[192,530,483,625],[194,530,219,592],[563,530,578,693],[194,531,717,607],[331,532,426,737],[243,533,630,632],[298,533,430,647],[38,534,715,636],[75,534,391,583],[385,534,425,544],[540,535,618,748],[494,537,512,652],[637,537,642,631],[171,541,474,639],[247,542,605,601],[259,542,590,686],[531,542,712,669],[417,543,485,729],[191,544,577,687],[495,544,500,568],[215,545,512,590],[334,546,377,563],[369,546,529,742],[554,546,713,644],[225,547,647,623],[319,547,640,708],[567,547,694,749],[104,550,405,605],[552,550,631,583],[285,551,720,710],[287,553,729,560],[265,556,443,692],[501,558,533,635],[157,559,208,683],[290,559,494,628],[306,559,721,577],[392,560,439,749],[470,560,559,610],[70,561,518,573],[188,563,656,697],[388,563,714,622],[394,563,459,696],[635,563,675,574],[675,563,697,633],[152,564,228,671],[649,565,717,668],[120,567,650,693],[338,567,389,624],[387,567,425,718],[617,567,648,638],[50,569,674,737],[426,569,510,601],[1,571,125,715],[528,573,541,640],[298,574,523,732],[207,575,353,684],[338,576,722,620],[366,576,731,711],[393,576,407,655],[580,576,696,713],[11,578,127,715],[253,579,458,634],[328,579,490,653],[644,580,690,650],[435,581,549,732],[245,582,608,650],[146,583,253,601],[707,584,712,717],[408,585,440,645],[541,586,687,728],[276,587,482,615],[197,588,420,660],[557,589,686,661],[598,590,625,633],[44,592,105,657],[720,592,734,707],[12,593,34,623],[177,593,690,667],[411,593,594,706],[628,593,656,731],[670,594,733,695],[429,595,473,703],[475,595,663,620],[135,596,187,637],[617,596,640,718],[608,597,616,666],[57,599,680,625],[470,601,513,653],[690,602,698,675],[142,603,454,657],[450,605,694,736],[56,606,745,685],[427,606,509,700],[642,606,692,712],[164,607,298,673],[607,607,623,679],[32,608,479,649],[38,608,646,613],[479,610,687,657],[481,610,577,738],[495,610,644,648],[559,610,742,622],[621,611,662,642],[737,612,748,720],[114,614,498,744],[404,614,728,733],[603,614,670,621],[83,616,630,689],[280,616,396,693],[556,618,717,644],[19,619,311,710],[245,619,393,729],[525,619,611,622],[74,623,344,731],[148,624,271,671],[232,625,474,649],[361,628,417,645],[109,629,521,700],[53,630,710,658],[304,630,535,632],[696,630,723,640],[351,634,389,699],[621,635,626,696],[643,635,650,696],[16,637,208,646],[47,637,298,703],[138,637,165,721],[491,637,650,678],[508,637,644,747],[370,638,728,688],[264,639,570,739],[369,640,444,730],[211,642,286,705],[319,644,552,718],[90,646,706,720],[154,646,319,734],[374,647,486,708],[690,647,728,649],[439,648,641,734],[479,648,534,660],[59,650,521,735],[530,650,693,720],[328,651,353,682],[687,651,734,670],[710,651,724,663],[550,652,699,739],[694,653,719,685],[517,654,591,734],[612,654,702,696],[211,655,265,726],[604,655,671,739],[203,656,256,687],[570,656,629,671],[424,658,508,713],[748,659,749,709],[672,662,723,697],[68,663,737,682],[368,663,506,735],[443,663,594,700],[51,665,63,717],[661,666,749,699],[18,667,662,721],[82,667,471,668],[660,668,742,719],[513,669,570,703],[252,670,567,727],[297,672,328,684],[341,672,730,731],[512,672,684,676],[124,673,402,700],[517,673,721,683],[514,674,581,736],[18,675,244,685],[116,676,612,749],[257,676,725,726],[662,676,679,713],[506,677,689,726],[717,679,740,713],[630,680,702,725],[665,680,722,684],[275,682,327,718],[716,682,731,715],[73,683,429,748],[96,686,584,732],[392,688,557,703],[411,689,415,748],[142,690,199,711],[101,691,543,704],[618,691,732,692],[380,693,478,739],[273,694,294,698],[400,694,714,718],[443,695,514,734],[172,696,230,715],[223,696,556,708],[497,696,717,749],[20,697,171,709],[516,697,625,742],[109,698,502,728],[653,698,725,700],[180,699,605,712],[226,699,555,727],[302,701,487,728],[256,702,507,706],[669,702,696,732],[296,703,334,726],[389,703,594,730],[723,705,729,722],[342,706,659,747],[422,706,446,714],[123,707,220,719],[22,708,706,716],[167,708,407,736],[586,708,683,749],[573,710,607,719],[365,712,405,729],[275,713,374,729],[519,714,631,723],[727,714,742,732],[127,715,625,731],[315,715,404,744],[595,715,742,718],[582,717,721,731],[135,719,710,725],[223,719,459,726],[329,719,476,742],[569,719,641,737],[663,721,711,724],[561,722,648,740],[726,723,729,726],[209,724,495,737],[590,726,708,741],[652,726,664,727],[689,726,695,740],[44,728,166,735],[672,728,676,729],[282,729,730,736],[713,731,722,742],[672,732,711,739],[723,732,739,736],[321,733,727,744],[140,734,477,740],[647,734,732,740],[718,734,741,740],[240,735,420,748],[693,735,696,746],[44,737,601,748],[282,737,666,744],[398,738,623,743],[619,738,732,742],[140,740,736,747],[58,741,341,748],[650,741,673,749],[65,742,484,749],[340,742,609,747],[718,742,749,747],[420,743,674,748],[445,743,589,746],[536,743,600,746],[573,744,692,749],[136,745,425,748],[412,746,664,748],[639,746,747,748],[716,747,737,749],[14,748,656,749],[526,748,662,749]]],"output":false},{"file":"testcase_2.txt","input":[892,[[383,0,756,559],[448,0,644,620],[344,4,823,500],[387,4,390,107],[452,4,537,499],[445,5,622,279],[767,7,841,861],[6,13,499,571],[376,13,399,263],[877,14,891,754],[829,15,874,575],[174,16,289,26],[200,16,873,543],[273,17,795,36],[729,17,877,244],[476,18,598,690],[335,20,517,119],[100,21,573,255],[243,21,277,76],[1,23,883,403],[51,23,302,36],[843,24,882,481],[443,26,841,267],[667,26,710,192],[682,26,830,661],[308,27,704,399],[797,27,844,776],[446,28,685,318],[654,28,847,194],[81,29,218,714],[300,30,525,44],[411,31,833,804],[851,31,885,478],[161,33,850,601],[272,33,629,482],[121,34,181,573],[276,36,592,838],[137,37,160,297],[825,37,881,759],[12,38,855,68],[368,39,733,397],[443,40,749,592],[240,42,874,627],[207,43,590,220],[656,46,789,697],[848,47,856,711],[154,49,256,264],[243,50,597,756],[298,50,548,90],[721,50,841,169],[36,53,661,442],[874,53,888,338],[391,54,647,232],[654,56,672,310],[172,57,354,671],[539,57,639,373],[800,57,843,691],[374,58,842,679],[533,59,632,117],[634,59,703,868],[56,60,798,453],[168,63,335,715],[207,63,684,186],[252,64,526,476],[543,64,774,638],[167,65,685,418],[219,65,716,268],[544,67,590,865],[602,68,816,680],[144,70,543,809],[168,70,453,512],[113,72,121,206],[155,74,698,714],[389,75,521,98],[676,75,723,373],[786,77,804,697],[165,80,472,146],[369,80,422,860],[663,80,675,463],[841,80,875,146],[144,81,286,284],[310,81,737,490],[167,82,697,653],[750,82,762,114],[297,84,321,320],[333,85,712,328],[444,85,698,315],[513,87,579,143],[68,88,412,820],[90,89,876,177],[188,90,476,352],[558,90,801,555],[675,91,820,180],[324,92,759,493],[37,94,192,760],[589,95,635,525],[20,97,96,261],[717,97,761,336],[358,98,732,523],[549,98,561,255],[861,98,875,704],[14,99,495,797],[564,99,702,218],[74,100,658,590],[33,101,439,481],[791,101,877,758],[866,102,871,260],[157,103,589,535],[467,103,808,530],[614,103,857,573],[461,104,709,569],[779,107,798,460],[149,108,636,797],[250,108,760,261],[332,108,635,619],[366,108,717,446],[811,108,888,476],[880,109,881,124],[234,110,587,172],[624,110,670,800],[421,111,818,284],[574,112,596,170],[881,112,883,214],[347,114,839,163],[424,115,553,684],[886,115,888,281],[600,116,791,784],[252,117,689,673],[350,117,386,167],[881,123,888,338],[660,127,860,450],[475,129,823,695],[177,131,778,197],[841,132,856,213],[52,133,838,414],[135,136,738,210],[714,137,772,829],[451,138,889,404],[626,138,854,372],[636,139,872,844],[704,139,848,399],[144,140,270,423],[338,140,817,347],[685,140,727,402],[328,142,379,374],[741,142,847,665],[82,144,824,334],[880,144,885,705],[49,146,337,583],[458,146,808,530],[473,147,497,625],[318,148,751,553],[292,149,341,674],[360,150,716,218],[769,151,797,627],[838,151,842,602],[249,153,807,261],[166,154,352,655],[120,157,449,192],[145,160,401,562],[377,160,779,282],[839,161,862,884],[386,162,411,314],[464,162,554,203],[183,163,775,383],[404,163,783,802],[294,164,789,792],[648,165,792,833],[852,166,882,586],[532,167,651,264],[106,168,569,208],[167,168,801,624],[622,168,767,586],[798,168,887,262],[13,169,234,311],[259,169,378,430],[461,169,598,247],[819,169,870,766],[98,170,386,836],[748,171,830,422],[238,173,834,722],[473,174,827,241],[417,175,597,742],[448,175,855,560],[119,176,273,612],[294,176,786,607],[242,178,421,606],[399,178,772,855],[554,178,788,535],[284,180,697,817],[588,180,648,190],[496,182,831,406],[101,183,309,776],[411,183,736,408],[758,184,859,828],[116,185,194,877],[184,185,688,395],[189,185,527,731],[611,186,807,622],[627,186,704,593],[325,189,599,850],[455,189,726,512],[731,190,851,888],[311,191,585,455],[848,191,866,656],[713,193,789,586],[482,194,788,241],[219,195,483,734],[732,195,795,662],[536,196,852,731],[531,197,701,709],[721,197,730,617],[234,198,732,429],[608,199,621,653],[725,200,890,788],[786,200,853,332],[838,200,845,575],[262,201,670,754],[262,201,891,292],[103,202,814,401],[119,202,292,799],[223,202,735,256],[442,202,705,680],[705,203,833,267],[406,204,632,504],[769,204,876,479],[388,207,588,283],[383,208,608,219],[757,208,842,434],[542,210,570,697],[645,210,862,464],[198,211,437,680],[159,213,572,872],[182,213,366,364],[748,213,845,654],[175,214,686,755],[315,214,650,404],[189,215,476,665],[460,215,679,596],[705,215,824,499],[305,218,446,313],[815,218,835,396],[595,219,835,764],[868,220,890,815],[129,222,515,832],[501,222,744,654],[79,223,882,378],[781,224,846,558],[6,225,489,373],[12,225,731,720],[642,225,880,317],[558,226,819,484],[508,227,511,649],[244,228,475,711],[873,228,887,377],[882,229,883,400],[377,231,396,683],[484,231,886,625],[715,235,882,541],[578,236,813,726],[816,236,824,774],[19,237,830,365],[143,237,241,308],[760,239,791,736],[717,241,876,356],[449,242,776,475],[21,243,312,510],[106,243,596,754],[210,243,704,457],[638,247,640,502],[24,248,806,887],[719,249,874,298],[19,250,95,442],[511,250,864,882],[204,253,411,695],[368,253,651,668],[90,254,327,280],[551,254,573,313],[182,255,713,355],[255,255,256,442],[736,255,840,510],[4,258,156,815],[166,260,676,867],[761,260,812,842],[84,261,831,555],[198,263,268,597],[18,264,286,614],[667,264,809,452],[302,265,310,611],[449,265,678,644],[6,266,490,720],[853,266,874,654],[781,267,854,484],[545,271,566,774],[426,272,467,445],[618,273,691,366],[260,275,356,446],[66,276,489,856],[153,276,251,319],[51,277,443,607],[425,279,581,388],[831,279,882,296],[220,280,569,867],[283,280,611,333],[169,281,170,469],[294,282,880,520],[192,284,532,610],[470,284,500,660],[18,285,527,546],[528,285,872,558],[749,286,808,698],[879,286,885,527],[384,287,746,674],[737,288,798,640],[788,288,887,657],[814,290,859,701],[452,291,889,398],[468,291,855,514],[541,291,724,598],[720,291,856,889],[464,292,603,805],[860,293,881,309],[409,294,843,517],[64,295,488,708],[68,297,368,872],[450,297,489,702],[307,298,783,365],[442,298,595,763],[255,299,405,639],[362,299,373,853],[770,299,875,358],[182,302,651,474],[478,302,671,805],[76,305,150,520],[409,305,797,767],[681,305,731,773],[116,307,344,414],[147,307,292,863],[97,309,490,325],[327,310,431,735],[713,310,787,346],[491,311,590,441],[32,312,313,628],[779,312,881,652],[837,313,855,433],[287,315,513,491],[215,316,367,823],[589,316,770,854],[324,317,763,377],[13,318,271,845],[125,318,341,452],[457,319,485,746],[37,320,666,692],[725,321,803,346],[742,321,766,478],[269,326,669,530],[526,326,787,611],[141,327,459,540],[690,327,743,343],[809,327,865,756],[674,328,827,648],[687,328,724,544],[40,329,841,456],[746,330,802,595],[316,331,746,800],[508,331,687,554],[736,331,778,365],[97,332,614,342],[223,333,409,456],[252,333,399,367],[862,333,883,649],[824,336,833,686],[15,337,525,857],[215,337,597,341],[502,337,758,512],[829,337,836,447],[80,338,873,661],[589,339,671,754],[528,342,821,790],[459,343,854,770],[820,343,868,617],[62,345,356,472],[726,345,753,488],[247,347,812,699],[387,347,848,772],[828,347,864,414],[480,348,582,612],[415,349,655,875],[394,350,872,728],[433,350,606,853],[644,350,803,556],[11,351,736,530],[685,351,703,626],[424,353,463,694],[538,353,791,426],[769,355,844,654],[352,356,507,740],[376,356,684,657],[113,357,330,405],[238,357,862,758],[872,359,874,857],[104,360,654,666],[846,361,875,651],[266,363,719,890],[302,363,437,742],[379,363,722,695],[129,364,594,853],[170,364,375,769],[832,364,865,574],[193,366,685,377],[495,366,707,668],[836,366,842,640],[366,368,400,671],[810,368,864,631],[368,369,532,769],[264,370,554,641],[440,371,757,459],[507,371,854,675],[471,373,569,379],[534,373,847,726],[740,373,872,439],[505,374,842,852],[779,375,788,655],[250,376,804,387],[317,376,559,740],[212,377,519,498],[174,378,871,845],[223,378,506,405],[851,378,877,402],[660,379,834,891],[540,380,816,739],[668,380,709,712],[630,382,779,686],[131,383,885,602],[245,383,888,725],[407,387,625,749],[462,387,597,416],[637,387,848,875],[293,388,571,627],[57,390,369,698],[586,390,796,827],[237,391,460,835],[395,391,427,713],[695,391,796,496],[405,393,671,787],[506,393,618,480],[527,393,780,787],[603,393,840,681],[706,393,799,780],[639,394,731,888],[736,394,879,648],[885,395,890,457],[737,397,852,438],[877,399,886,778],[437,400,463,678],[669,402,741,837],[207,403,392,796],[337,403,450,765],[277,405,446,624],[798,407,807,490],[523,408,889,863],[120,409,611,839],[427,409,722,777],[148,411,390,663],[669,411,731,573],[27,414,424,441],[447,414,577,581],[683,414,699,842],[419,415,765,428],[571,416,871,428],[637,416,891,489],[283,417,317,722],[558,417,623,842],[579,417,656,789],[665,417,881,844],[688,418,759,842],[827,418,830,569],[161,421,480,794],[670,421,709,737],[17,422,439,514],[99,422,191,858],[198,422,745,683],[584,422,661,742],[245,423,423,529],[538,423,627,831],[521,424,833,856],[524,426,818,828],[667,426,872,877],[842,426,877,778],[274,427,842,487],[159,429,576,704],[239,429,275,553],[590,429,711,660],[686,429,877,493],[11,430,313,619],[359,430,764,588],[247,431,452,466],[184,433,422,679],[294,434,672,716],[707,434,859,478],[473,435,694,830],[349,436,709,816],[93,437,167,801],[29,438,711,690],[357,438,703,795],[714,438,763,858],[733,439,746,444],[163,441,820,875],[362,441,562,598],[514,441,672,697],[740,441,829,843],[94,442,430,446],[740,443,771,453],[40,444,848,538],[626,445,673,787],[837,445,890,716],[175,447,182,863],[211,447,294,877],[447,447,679,844],[744,447,760,531],[751,447,832,791],[341,449,761,583],[671,449,853,618],[885,451,886,642],[854,453,873,837],[512,455,590,530],[105,456,649,819],[56,457,863,507],[151,457,519,763],[248,457,417,773],[502,458,551,565],[370,459,871,777],[412,459,864,706],[742,459,889,825],[172,461,222,562],[129,462,245,671],[310,462,768,712],[513,462,865,788],[734,462,747,651],[490,463,675,656],[175,464,741,839],[258,466,519,761],[661,467,773,579],[409,470,539,855],[484,470,812,580],[876,470,891,482],[629,471,800,644],[361,472,484,631],[243,473,783,507],[324,474,397,484],[764,476,834,770],[288,478,300,485],[814,478,833,566],[57,480,141,805],[720,481,726,869],[828,482,855,532],[663,483,726,627],[245,484,573,545],[529,484,712,643],[782,484,890,668],[145,485,583,746],[501,485,583,592],[628,485,862,730],[185,486,393,529],[418,486,830,848],[540,486,800,571],[648,486,839,642],[859,486,877,689],[67,488,537,603],[461,488,882,807],[186,489,499,615],[302,489,577,544],[587,489,819,554],[752,489,775,731],[732,491,869,668],[768,491,836,779],[116,493,381,657],[98,494,124,860],[737,496,818,656],[395,498,739,835],[546,498,680,629],[822,498,834,601],[664,500,829,721],[203,501,639,776],[697,501,891,830],[295,503,861,689],[369,504,395,865],[769,504,860,577],[289,505,454,581],[352,505,848,671],[773,506,856,866],[45,508,654,523],[181,508,891,655],[258,508,888,718],[566,509,715,589],[343,510,660,711],[215,511,523,564],[712,511,849,792],[51,512,827,641],[96,512,480,648],[285,513,616,657],[232,514,268,765],[295,514,500,610],[382,515,676,789],[811,515,871,875],[414,516,645,597],[660,517,841,799],[411,520,721,732],[405,521,839,678],[215,522,393,684],[369,522,462,627],[96,523,876,702],[243,523,305,840],[446,526,603,698],[474,527,479,769],[575,527,727,611],[293,530,412,789],[739,530,811,689],[198,531,567,864],[315,532,650,614],[269,534,332,852],[742,534,845,614],[825,536,838,721],[872,536,882,601],[621,537,791,547],[762,539,832,592],[462,541,661,880],[152,542,794,725],[649,542,798,580],[757,542,881,795],[70,543,776,581],[470,543,802,595],[883,543,891,573],[811,544,846,765],[250,546,377,730],[384,546,801,670],[364,550,614,551],[467,551,552,798],[373,552,404,572],[481,552,801,645],[497,552,531,852],[619,552,648,687],[795,552,889,697],[359,555,659,742],[772,555,846,887],[128,556,160,628],[607,556,810,815],[802,556,810,590],[587,557,809,776],[381,559,545,643],[238,560,328,633],[477,560,694,624],[690,560,776,750],[721,561,782,603],[479,562,548,744],[446,563,838,731],[11,566,81,693],[366,566,786,782],[70,567,132,580],[813,567,883,658],[115,568,846,872],[227,569,374,580],[629,571,645,716],[852,571,860,590],[604,572,794,850],[693,572,855,729],[92,573,338,743],[771,573,859,854],[112,574,533,644],[607,575,797,758],[833,575,840,870],[246,576,872,737],[856,576,858,779],[79,577,490,728],[104,577,110,723],[211,577,359,615],[588,578,758,757],[128,579,880,580],[513,580,657,583],[790,581,813,691],[63,582,255,878],[884,582,887,811],[36,584,455,717],[760,584,771,769],[289,585,420,708],[322,586,414,857],[845,587,868,611],[249,589,874,803],[784,589,812,664],[808,589,835,782],[775,590,833,726],[848,591,878,870],[82,592,477,848],[227,592,494,705],[126,593,170,677],[316,594,883,704],[343,595,599,699],[667,597,709,755],[195,598,745,719],[579,599,732,838],[466,600,574,726],[77,602,887,609],[272,602,396,715],[462,603,624,686],[513,604,880,695],[539,604,682,667],[833,604,857,763],[666,605,717,800],[155,606,724,838],[207,607,567,882],[196,609,204,721],[798,609,831,728],[170,610,242,644],[232,611,233,716],[681,614,707,708],[771,614,805,833],[367,615,797,721],[459,615,650,828],[786,615,824,854],[299,617,809,655],[622,617,891,888],[368,618,401,766],[785,618,818,708],[263,621,394,647],[447,622,464,801],[659,622,863,867],[799,622,803,776],[55,623,297,776],[631,624,864,866],[421,625,744,691],[324,626,684,872],[488,626,705,703],[589,626,730,756],[716,627,775,815],[304,628,814,655],[747,628,877,869],[823,629,877,849],[196,630,669,744],[602,631,686,765],[226,632,408,698],[747,633,829,840],[307,636,837,753],[308,636,611,761],[675,636,804,643],[677,636,890,745],[56,639,725,780],[384,640,539,671],[886,641,890,796],[803,643,834,745],[205,645,485,714],[454,645,807,794],[611,645,843,797],[714,645,844,679],[280,647,421,849],[616,647,777,718],[91,648,194,798],[481,648,646,833],[753,650,829,736],[268,652,868,735],[558,653,741,761],[453,654,696,696],[305,655,680,846],[28,656,758,875],[847,657,862,785],[473,660,790,736],[92,661,653,668],[274,661,713,871],[480,664,613,818],[85,668,354,759],[471,671,479,838],[871,671,887,870],[252,672,353,674],[381,672,624,846],[160,674,509,886],[719,674,876,692],[476,675,695,816],[791,675,808,843],[826,675,841,890],[444,678,667,743],[749,680,825,791],[426,681,669,783],[497,681,578,840],[525,682,829,761],[16,683,889,843],[68,683,708,878],[494,684,739,761],[676,684,752,748],[728,685,866,861],[859,685,874,713],[104,686,299,868],[707,687,816,779],[419,689,793,791],[778,689,865,742],[207,690,793,858],[92,691,879,866],[690,691,820,865],[618,692,682,779],[499,693,592,772],[499,695,835,804],[13,698,130,771],[818,698,846,702],[590,700,674,837],[268,701,758,815],[2,703,807,860],[52,703,816,883],[418,705,750,754],[770,706,812,715],[521,707,568,869],[743,708,754,790],[568,710,572,771],[171,711,750,838],[513,712,710,853],[767,712,816,751],[863,713,875,761],[638,714,824,870],[809,715,860,779],[81,716,880,875],[586,717,752,787],[266,718,821,777],[369,719,799,794],[771,719,808,885],[569,721,659,774],[776,722,807,810],[492,723,555,787],[674,724,805,756],[726,725,753,806],[312,728,375,884],[712,728,869,733],[48,729,308,790],[326,729,420,821],[768,731,873,778],[842,731,847,810],[360,732,689,879],[549,732,551,860],[518,733,612,834],[139,734,408,817],[546,735,604,890],[484,736,738,759],[586,739,855,872],[32,740,340,750],[71,740,690,828],[596,740,822,881],[676,740,804,779],[333,741,793,771],[44,742,217,745],[534,743,702,864],[853,743,864,850],[241,744,789,756],[358,744,887,837],[56,745,411,869],[332,745,882,816],[560,747,625,774],[632,747,838,783],[411,751,804,763],[35,753,669,888],[577,753,853,798],[383,756,713,830],[517,758,743,858],[568,761,595,801],[752,761,853,816],[167,763,626,841],[683,763,767,827],[514,765,820,771],[592,766,824,785],[61,767,487,826],[51,768,641,819],[363,768,766,864],[612,768,627,833],[695,768,863,876],[173,770,475,805],[418,770,536,886],[480,770,852,830],[32,771,162,790],[726,772,830,860],[422,773,668,793],[664,773,684,795],[130,774,789,790],[503,777,758,856],[736,777,822,813],[520,779,833,781],[678,779,746,809],[509,780,824,870],[848,781,883,853],[300,783,570,878],[659,783,869,890],[713,784,809,806],[424,785,475,809],[27,786,598,860],[49,787,260,872],[541,787,625,836],[46,788,135,849],[86,788,144,878],[109,788,481,882],[215,788,530,806],[440,788,463,836],[787,788,819,795],[844,789,877,831],[852,790,870,807],[479,791,499,884],[585,791,586,792],[399,792,415,856],[390,793,752,804],[689,793,691,827],[244,794,461,840],[51,795,187,822],[302,795,858,879],[648,795,746,824],[558,796,848,827],[705,796,751,849],[467,797,528,822],[169,798,571,887],[591,800,714,859],[240,802,579,816],[228,803,535,849],[257,805,801,882],[592,805,788,866],[546,806,729,863],[338,807,542,844],[95,809,693,831],[133,809,507,869],[364,809,774,822],[200,811,419,833],[263,811,349,847],[484,812,633,881],[183,813,340,828],[33,814,434,857],[491,814,552,844],[347,815,447,838],[185,817,851,884],[133,820,203,881],[570,822,625,860],[480,823,717,841],[741,823,870,847],[29,824,472,873],[413,825,843,829],[530,825,595,866],[207,826,709,832],[90,827,484,832],[273,828,754,886],[679,830,784,864],[283,831,433,859],[257,832,818,883],[778,832,850,891],[34,833,385,870],[731,833,815,891],[841,833,872,865],[59,835,705,836],[778,835,875,877],[794,836,853,840],[69,838,712,888],[578,838,771,875],[150,840,193,869],[430,840,625,856],[619,840,691,885],[224,842,576,849],[392,844,559,875],[801,844,822,876],[594,845,839,875],[12,848,191,864],[461,849,522,851],[133,850,280,855],[236,851,280,886],[652,853,807,882],[869,853,870,857],[325,855,517,872],[259,856,269,886],[729,860,765,887],[331,861,719,865],[17,862,771,879],[367,862,602,873],[787,862,891,891],[25,863,134,868],[656,865,791,866],[305,870,411,872],[455,870,708,887],[497,870,718,871],[620,871,858,888],[723,871,870,879],[767,872,776,884],[380,873,607,881],[398,873,749,877],[464,873,745,877],[751,873,848,881],[572,874,725,877],[122,878,152,887],[818,878,875,884],[754,882,801,885],[507,883,556,884],[786,885,808,890],[158,887,626,889],[169,888,761,890],[376,888,865,890],[551,888,739,891],[260,889,640,891],[310,889,426,891]]],"output":false},{"file":"testcase_3.txt","input":[159,[[59,0,107,99],[62,0,144,67],[110,0,111,103],[113,0,141,48],[127,0,156,109],[155,0,156,156],[27,1,124,123],[46,1,149,118],[95,1,97,19],[109,1,111,120],[123,1,158,49],[153,1,157,57],[90,2,112,118],[14,3,139,93],[75,3,94,96],[77,3,121,36],[94,3,108,27],[111,3,153,19],[132,3,150,79],[23,4,115,108],[63,4,131,144],[67,4,137,20],[112,4,125,37],[152,4,153,132],[21,5,73,135],[61,5,103,48],[147,5,153,15],[153,5,156,115],[34,6,80,62],[72,6,148,116],[90,6,115,32],[31,7,122,62],[47,7,75,30],[73,7,131,46],[79,7,120,18],[84,7,102,108],[66,8,142,148],[66,8,69,144],[75,8,104,24],[69,9,114,67],[133,9,134,80],[144,9,154,13],[86,10,133,15],[99,10,155,36],[112,10,126,144],[117,10,158,99],[32,11,84,110],[95,11,146,37],[72,12,113,126],[88,12,89,70],[112,12,141,99],[141,12,144,75],[143,12,151,116],[151,12,154,139],[6,13,11,154],[37,13,58,130],[105,13,115,38],[113,13,131,111],[27,14,129,56],[36,14,94,100],[41,14,75,55],[90,14,106,92],[37,15,42,81],[119,15,124,53],[120,15,146,116],[123,15,149,73],[152,15,156,151],[20,16,48,97],[74,16,126,116],[77,16,153,37],[84,16,103,79],[95,16,122,139],[100,16,128,98],[19,17,106,72],[58,17,144,108],[74,17,139,135],[106,17,145,31],[43,18,70,149],[5,19,143,42],[15,19,69,69],[23,19,31,149],[118,19,122,135],[47,20,140,106],[78,20,120,58],[86,20,114,66],[91,20,139,110],[102,20,112,49],[104,20,123,104],[115,20,125,52],[62,21,117,66],[155,21,158,83],[114,22,147,139],[124,22,154,58],[129,22,157,137],[154,22,155,117],[15,23,97,95],[85,23,119,51],[124,23,155,60],[135,23,156,124],[138,23,149,91],[143,23,158,81],[148,23,152,126],[49,24,103,141],[122,24,135,127],[41,25,138,42],[54,25,127,95],[72,25,133,70],[72,25,115,135],[81,25,149,158],[88,25,144,123],[91,25,92,37],[27,26,29,138],[31,26,73,56],[64,26,156,136],[122,26,125,109],[1,27,154,103],[24,27,123,45],[39,27,61,110],[148,27,149,34],[15,28,51,87],[57,28,59,56],[140,28,152,142],[152,28,153,143],[154,28,156,72],[6,29,91,99],[133,29,150,37],[150,29,157,77],[73,30,118,131],[86,30,99,64],[87,30,106,104],[90,30,139,75],[109,30,156,92],[5,31,18,131],[23,31,90,48],[27,31,49,80],[95,31,135,143],[35,32,96,76],[55,32,57,61],[104,32,126,114],[1,33,28,97],[16,33,132,41],[28,33,102,50],[39,33,70,100],[51,33,133,64],[75,33,97,130],[88,33,146,86],[122,33,154,140],[22,34,73,73],[23,34,76,74],[40,34,57,49],[64,34,78,135],[72,34,115,138],[85,34,144,138],[104,34,135,104],[59,35,107,129],[66,35,153,86],[80,35,132,36],[111,35,115,158],[46,36,106,109],[99,36,153,44],[114,36,157,78],[10,37,68,70],[19,37,68,138],[83,37,126,75],[130,37,154,133],[28,38,152,94],[44,38,98,85],[63,38,92,145],[81,38,117,82],[123,38,157,122],[14,39,148,136],[18,39,143,139],[91,39,156,50],[129,39,140,85],[152,39,153,142],[19,40,125,59],[21,40,140,51],[91,40,120,144],[118,40,142,72],[126,40,139,99],[144,40,155,103],[3,41,20,127],[12,41,63,129],[58,41,150,156],[62,41,85,115],[114,41,122,101],[141,41,156,136],[145,41,148,46],[19,42,97,76],[48,42,112,60],[63,42,66,70],[74,42,94,115],[132,42,157,64],[141,43,158,132],[149,43,151,151],[47,44,69,128],[80,44,135,71],[93,44,94,104],[56,45,106,54],[76,45,150,87],[110,45,158,58],[112,45,123,106],[30,46,53,101],[45,46,97,132],[45,46,120,71],[103,46,108,55],[112,46,117,77],[136,46,149,109],[8,47,27,120],[48,47,50,101],[148,47,158,146],[27,48,126,72],[139,48,156,107],[3,49,34,113],[16,49,42,63],[155,49,157,59],[7,50,28,105],[15,50,47,77],[19,50,73,117],[43,50,72,125],[56,50,78,87],[114,50,144,149],[118,50,121,127],[18,51,107,144],[50,51,76,152],[56,51,154,157],[151,51,156,111],[9,52,22,127],[12,52,143,129],[65,52,155,136],[75,52,117,153],[92,52,99,135],[153,52,154,106],[64,53,155,114],[103,53,140,82],[128,53,151,116],[132,53,151,153],[134,53,135,66],[24,54,156,76],[35,54,57,64],[69,54,85,83],[131,54,136,122],[132,54,141,85],[0,55,70,122],[22,55,64,125],[100,55,135,103],[112,55,128,63],[114,55,125,87],[119,55,143,109],[37,56,86,143],[39,56,134,58],[43,56,154,58],[140,56,144,70],[22,57,70,121],[27,57,97,64],[29,57,52,150],[38,57,149,113],[65,57,96,122],[66,57,155,60],[68,57,79,109],[91,57,133,118],[150,57,154,73],[10,58,141,117],[76,58,100,149],[88,58,90,59],[121,58,151,107],[16,59,67,101],[24,59,137,83],[50,59,100,82],[80,59,106,83],[153,59,155,126],[100,60,103,101],[124,60,147,134],[74,61,90,106],[108,61,111,69],[113,61,142,122],[33,62,74,108],[121,62,148,155],[130,62,157,150],[45,63,65,124],[76,63,155,76],[96,64,157,133],[48,65,133,120],[63,65,156,105],[97,65,116,115],[136,65,145,120],[7,66,65,156],[46,66,142,102],[65,66,138,105],[81,66,111,137],[95,66,155,77],[16,67,125,90],[42,67,105,80],[71,67,123,148],[92,67,146,114],[8,68,120,156],[15,68,98,102],[102,68,111,115],[121,68,127,155],[125,68,138,141],[135,68,137,122],[144,68,151,133],[24,69,46,97],[68,69,119,126],[13,70,77,76],[18,70,101,151],[39,70,44,150],[75,70,122,115],[88,70,107,149],[110,70,151,116],[12,71,58,141],[12,71,25,150],[20,71,114,158],[77,71,101,128],[93,71,126,108],[149,71,152,106],[54,72,113,135],[80,72,94,98],[104,72,134,87],[104,72,110,119],[133,72,149,105],[4,73,10,86],[62,73,97,83],[125,73,158,78],[127,73,153,103],[140,73,146,136],[150,73,154,131],[154,73,157,104],[9,74,108,108],[21,75,55,141],[52,75,138,143],[76,75,92,128],[83,75,158,118],[85,75,130,136],[106,75,129,122],[117,75,122,144],[157,75,158,140],[38,76,65,89],[55,76,91,87],[82,76,91,141],[33,77,120,142],[105,77,108,129],[130,77,156,96],[34,78,73,116],[35,78,86,107],[35,78,84,150],[102,78,114,113],[154,78,156,141],[68,79,102,122],[91,79,119,147],[93,79,115,102],[120,79,129,85],[9,80,76,110],[35,80,133,90],[49,80,96,142],[99,80,103,97],[109,80,134,104],[38,81,71,119],[104,81,157,152],[114,81,125,116],[135,81,141,143],[145,81,150,105],[152,81,154,145],[16,82,133,91],[28,82,120,92],[44,82,148,89],[65,82,119,97],[68,82,99,119],[80,82,106,88],[105,82,142,84],[120,82,145,100],[139,82,147,83],[156,82,158,156],[16,83,130,152],[37,83,135,143],[83,83,93,121],[117,83,140,131],[127,83,154,104],[74,84,155,85],[80,84,91,149],[85,84,121,116],[97,84,155,130],[100,84,137,119],[115,84,135,155],[108,85,153,100],[148,85,152,140],[22,86,139,128],[40,86,146,138],[103,86,104,131],[149,86,157,87],[150,86,156,88],[32,87,125,132],[87,87,129,121],[10,88,112,158],[15,88,18,142],[106,88,119,108],[84,89,140,115],[115,89,116,108],[126,89,158,93],[151,89,157,124],[38,90,106,154],[73,90,108,119],[94,90,154,152],[138,90,148,150],[23,91,153,154],[43,91,70,154],[57,91,115,136],[77,91,118,142],[132,91,158,117],[150,91,156,93],[38,92,117,118],[85,92,149,128],[85,92,132,105],[98,92,130,98],[113,92,145,136],[119,92,133,108],[0,93,116,120],[3,93,102,140],[5,93,49,116],[96,93,125,95],[105,93,110,103],[15,94,35,129],[96,94,111,121],[134,94,143,98],[8,95,24,153],[61,95,84,125],[100,95,135,97],[21,96,60,148],[49,96,91,114],[52,96,76,99],[85,96,99,130],[131,96,132,154],[149,96,157,107],[150,96,151,128],[62,97,80,150],[74,97,127,137],[20,98,44,138],[50,98,74,114],[57,98,135,100],[142,98,155,125],[79,99,99,110],[139,99,157,116],[157,99,158,136],[10,100,13,121],[22,100,89,104],[29,100,106,117],[68,100,145,147],[18,101,134,127],[85,101,141,142],[21,102,92,104],[29,102,113,115],[56,102,147,147],[92,102,101,121],[114,102,123,140],[67,103,84,132],[90,103,132,117],[6,104,143,114],[22,104,33,141],[37,104,132,116],[38,104,57,126],[42,104,155,133],[103,104,157,135],[150,104,156,108],[13,105,90,129],[15,105,40,124],[93,105,129,133],[129,105,134,144],[149,105,151,149],[23,106,86,113],[38,106,131,118],[43,106,113,123],[106,106,111,116],[113,106,121,117],[125,106,128,156],[5,107,138,146],[17,107,79,147],[17,107,55,145],[20,107,65,110],[25,107,129,128],[52,107,56,136],[63,107,87,117],[67,107,68,139],[114,107,135,125],[121,107,147,114],[9,108,36,134],[55,108,153,144],[67,108,155,152],[108,108,142,128],[111,108,135,151],[125,108,152,123],[146,108,152,144],[97,109,138,134],[103,109,151,134],[134,109,154,132],[140,109,150,151],[142,109,149,116],[151,109,154,114],[67,110,139,121],[80,110,151,124],[113,110,131,122],[27,111,111,147],[60,111,66,147],[148,111,156,142],[33,112,69,118],[78,112,134,149],[135,112,150,116],[142,112,157,128],[2,113,44,142],[38,113,70,135],[65,113,95,132],[116,113,149,146],[47,114,114,120],[63,114,91,125],[126,114,152,150],[137,114,143,138],[52,115,141,143],[11,116,107,136],[53,116,120,117],[88,116,110,147],[112,116,113,124],[30,117,91,122],[62,117,102,124],[113,117,158,128],[116,117,143,123],[53,118,127,142],[58,118,116,147],[95,118,125,138],[102,118,116,144],[122,118,123,156],[148,118,152,143],[153,118,157,141],[16,119,99,144],[57,119,74,137],[75,119,106,142],[87,119,95,136],[93,119,152,133],[40,120,129,125],[103,120,131,156],[55,121,108,158],[110,121,141,135],[46,122,90,149],[72,122,100,154],[83,122,120,141],[98,122,129,140],[123,122,133,139],[149,123,152,130],[10,124,22,132],[81,124,123,127],[107,124,151,131],[133,124,156,141],[138,124,147,141],[149,124,157,135],[155,124,158,134],[34,125,88,139],[60,125,111,135],[79,125,141,146],[47,126,79,154],[88,126,103,149],[104,126,105,131],[111,126,120,158],[142,126,147,129],[147,126,149,138],[31,127,102,134],[31,127,48,138],[40,127,54,138],[98,127,112,151],[145,127,156,130],[19,128,76,129],[24,128,86,138],[26,128,65,144],[49,128,125,154],[53,128,95,151],[85,128,134,129],[87,128,136,152],[110,128,145,141],[120,128,132,136],[139,128,150,129],[38,129,116,132],[67,129,134,150],[67,129,125,148],[63,130,134,156],[79,130,92,149],[80,130,92,138],[91,130,133,157],[117,130,123,145],[126,130,131,135],[14,131,64,156],[48,131,83,132],[63,131,92,136],[65,131,93,152],[9,132,37,153],[17,132,67,153],[67,132,83,135],[105,132,152,144],[119,132,150,137],[51,133,118,141],[78,133,111,138],[82,133,120,157],[4,134,116,153],[16,134,72,140],[31,134,66,149],[67,134,89,140],[97,134,98,145],[40,135,149,138],[59,135,129,148],[84,135,114,156],[90,135,136,143],[101,135,110,143],[114,135,122,137],[124,135,125,143],[134,135,152,155],[136,135,137,153],[13,136,25,157],[19,136,100,157],[46,136,95,157],[87,136,108,149],[124,136,145,151],[143,136,158,150],[6,137,124,143],[17,137,147,157],[29,137,70,143],[92,137,120,157],[133,138,142,157],[30,139,118,153],[33,139,81,150],[70,139,118,143],[80,139,137,152],[83,139,145,147],[52,140,91,143],[136,140,144,145],[147,140,149,147],[151,140,155,156],[30,141,84,154],[105,141,128,147],[110,141,154,158],[112,141,121,156],[118,141,134,157],[131,141,154,142],[11,142,77,148],[62,142,67,143],[104,142,147,144],[106,142,112,157],[107,142,121,146],[27,143,54,145],[69,143,140,145],[98,143,132,146],[112,143,141,155],[114,143,115,151],[117,143,118,150],[144,143,154,152],[31,144,61,151],[62,144,94,155],[99,144,136,158],[122,144,140,151],[143,144,157,151],[11,145,143,148],[77,145,108,154],[119,145,156,152],[75,146,111,156],[76,146,146,147],[101,146,136,155],[119,146,153,149],[138,146,145,149],[150,146,157,152],[52,147,101,155],[68,147,154,150],[112,147,158,155],[8,148,123,153],[16,148,98,158],[17,148,89,158],[53,148,120,153],[39,149,80,157],[74,149,150,154],[79,149,93,157],[113,149,117,150],[116,149,148,155],[47,150,138,155],[53,150,138,158],[58,150,148,151],[77,150,112,153],[85,150,152,158],[113,150,144,151],[136,150,143,157],[29,151,57,156],[30,151,57,153],[42,151,156,156],[56,151,79,156],[65,151,133,155],[128,151,158,155],[135,151,155,152],[54,152,65,154],[64,152,109,154],[106,152,124,153],[132,152,143,158],[154,152,156,155],[74,153,146,154],[129,153,154,155],[142,153,143,158],[143,153,151,157],[149,153,153,154],[150,153,151,154],[156,153,157,157],[17,154,151,155],[108,154,155,155],[151,154,157,157],[151,154,153,158],[103,155,140,156],[123,155,133,158],[126,155,156,157],[129,155,133,157],[157,155,158,157],[26,156,58,158],[54,156,84,157],[116,156,123,158],[132,156,147,158],[6,157,83,158],[23,157,108,158],[30,157,98,158],[38,157,103,158],[80,157,89,158],[92,157,116,158]]],"output":false},{"file":"testcase_4.txt","input":[68,[[19,0,35,65],[21,0,25,22],[27,0,40,53],[29,0,48,58],[30,0,57,14],[34,0,51,29],[35,0,59,17],[36,0,63,39],[38,0,67,17],[41,0,53,25],[47,0,63,56],[49,0,60,38],[50,0,58,53],[54,0,57,20],[59,0,67,11],[62,0,65,52],[66,0,67,52],[0,1,19,19],[0,1,59,19],[13,1,56,28],[21,1,56,2],[24,1,25,25],[25,1,52,32],[36,1,42,23],[42,1,57,35],[42,1,57,19],[44,1,66,10],[49,1,66,46],[65,1,67,37],[5,2,11,67],[11,2,52,20],[24,2,25,30],[32,2,46,7],[33,2,36,17],[42,2,56,21],[44,2,54,47],[48,2,54,57],[48,2,50,35],[50,2,54,34],[60,2,66,5],[61,2,67,58],[65,2,67,24],[3,3,28,14],[4,3,26,47],[13,3,63,43],[20,3,56,47],[25,3,29,54],[39,3,52,5],[53,3,61,9],[55,3,57,25],[56,3,66,52],[62,3,65,7],[0,4,30,32],[6,4,14,37],[6,4,33,12],[22,4,58,29],[42,4,66,24],[51,4,63,28],[56,4,58,37],[3,5,44,51],[8,5,20,10],[31,5,52,52],[32,5,35,29],[32,5,46,53],[34,5,50,8],[36,5,38,31],[38,5,55,14],[41,5,57,15],[49,5,52,15],[52,5,63,31],[60,5,65,29],[61,5,64,8],[65,5,67,44],[3,6,62,33],[3,6,27,20],[8,6,21,31],[12,6,34,42],[21,6,57,20],[21,6,29,8],[29,6,65,37],[30,6,35,18],[35,6,66,53],[37,6,48,57],[41,6,59,8],[45,6,53,40],[50,6,61,53],[54,6,67,56],[59,6,62,15],[64,6,65,27],[8,7,23,10],[18,7,26,55],[23,7,62,43],[31,7,44,65],[31,7,57,10],[34,7,50,9],[45,7,56,66],[47,7,59,11],[50,7,62,53],[50,7,66,64],[53,7,57,49],[60,7,62,26],[61,7,65,48],[0,8,20,45],[3,8,15,56],[6,8,43,64],[18,8,56,43],[28,8,61,48],[28,8,62,40],[30,8,35,37],[33,8,56,56],[39,8,63,10],[40,8,47,32],[42,8,63,47],[50,8,53,62],[56,8,63,14],[63,8,65,64],[64,8,66,61],[65,8,67,12],[0,9,49,49],[15,9,40,35],[17,9,18,58],[19,9,57,32],[24,9,42,20],[25,9,33,26],[27,9,60,25],[28,9,49,40],[31,9,58,17],[54,9,63,52],[57,9,66,20],[1,10,67,48],[6,10,19,28],[7,10,8,55],[8,10,25,66],[8,10,31,47],[10,10,43,54],[15,10,41,19],[19,10,22,41],[19,10,39,19],[37,10,44,43],[44,10,45,67],[44,10,46,15],[52,10,61,44],[54,10,55,62],[63,10,66,26],[6,11,44,12],[8,11,16,53],[11,11,23,21],[12,11,19,15],[12,11,64,30],[19,11,22,60],[20,11,36,41],[21,11,47,30],[28,11,50,15],[30,11,38,67],[30,11,35,65],[38,11,52,49],[40,11,62,46],[54,11,66,66],[56,11,67,31],[64,11,66,14],[66,11,67,27],[8,12,11,25],[9,12,50,42],[15,12,36,54],[28,12,37,16],[41,12,60,13],[44,12,53,61],[50,12,58,22],[56,12,65,65],[62,12,63,36],[5,13,26,41],[7,13,32,54],[7,13,36,55],[7,13,26,25],[20,13,33,32],[36,13,57,28],[36,13,38,56],[43,13,55,47],[52,13,60,49],[53,13,65,52],[62,13,67,49],[1,14,52,54],[8,14,9,21],[9,14,53,48],[14,14,47,45],[16,14,65,51],[17,14,61,40],[22,14,66,45],[26,14,51,37],[32,14,62,52],[38,14,53,58],[39,14,62,31],[41,14,64,29],[61,14,64,47],[11,15,46,23],[24,15,25,20],[28,15,50,41],[37,15,42,20],[42,15,55,35],[43,15,65,45],[48,15,49,38],[51,15,61,46],[58,15,62,30],[60,15,61,19],[64,15,67,45],[64,15,67,56],[66,15,67,66],[3,16,67,24],[4,16,56,18],[5,16,51,39],[5,16,48,62],[25,16,35,52],[25,16,57,39],[31,16,38,67],[32,16,41,26],[32,16,46,55],[49,16,54,64],[56,16,65,20],[56,16,57,28],[65,16,67,20],[13,17,59,29],[16,17,59,25],[18,17,45,36],[30,17,66,31],[39,17,48,56],[40,17,65,59],[40,17,58,65],[49,17,60,63],[58,17,62,66],[63,17,64,60],[0,18,9,21],[3,18,15,41],[5,18,16,25],[13,18,44,22],[38,18,52,62],[39,18,64,52],[48,18,67,33],[53,18,64,26],[55,18,59,33],[56,18,58,43],[61,18,67,35],[64,18,67,23],[4,19,10,35],[6,19,47,28],[11,19,15,65],[17,19,24,26],[22,19,45,52],[24,19,65,51],[28,19,64,31],[34,19,51,21],[49,19,52,59],[0,20,34,30],[12,20,48,39],[41,20,54,60],[45,20,52,36],[51,20,67,42],[53,20,65,50],[60,20,62,50],[62,20,64,45],[2,21,51,43],[15,21,27,33],[17,21,25,46],[17,21,36,63],[17,21,60,47],[25,21,40,51],[27,21,30,31],[30,21,32,36],[37,21,64,62],[38,21,60,34],[40,21,58,67],[47,21,56,50],[49,21,65,27],[62,21,65,51],[64,21,66,22],[65,21,67,41],[66,21,67,24],[4,22,66,57],[9,22,63,60],[10,22,34,64],[11,22,44,49],[22,22,34,58],[23,22,27,41],[24,22,25,66],[26,22,57,45],[27,22,28,66],[30,22,59,64],[38,22,39,39],[40,22,51,35],[49,22,55,23],[54,22,64,45],[60,22,62,61],[63,22,64,58],[64,22,66,54],[0,23,18,57],[4,23,56,54],[8,23,66,34],[10,23,50,30],[11,23,66,44],[18,23,28,30],[18,23,40,54],[19,23,58,40],[19,23,62,27],[25,23,53,56],[32,23,67,31],[47,23,62,58],[48,23,50,28],[57,23,63,55],[1,24,8,54],[23,24,35,61],[65,24,66,51],[2,25,52,31],[5,25,30,49],[8,25,20,56],[11,25,29,40],[12,25,46,39],[29,25,31,27],[36,25,59,36],[49,25,60,63],[54,25,66,52],[56,25,63,30],[56,25,59,60],[60,25,66,48],[64,25,66,46],[4,26,64,38],[12,26,45,51],[29,26,66,65],[42,26,65,49],[44,26,51,57],[46,26,57,38],[48,26,58,55],[57,26,66,43],[60,26,61,48],[2,27,40,58],[4,27,46,34],[23,27,66,57],[32,27,66,48],[47,27,67,58],[51,27,56,63],[54,27,65,29],[63,27,65,51],[64,27,67,39],[0,28,37,38],[3,28,63,40],[15,28,43,30],[17,28,26,56],[19,28,50,62],[31,28,53,41],[32,28,41,58],[33,28,53,40],[40,28,53,67],[41,28,43,38],[42,28,67,63],[44,28,58,67],[65,28,67,51],[66,28,67,63],[2,29,6,62],[10,29,57,50],[22,29,57,61],[38,29,63,60],[50,29,66,31],[50,29,54,55],[57,29,64,40],[59,29,61,47],[61,29,66,42],[64,29,67,62],[2,30,17,45],[2,30,21,53],[4,30,60,67],[14,30,20,39],[14,30,45,31],[16,30,20,32],[31,30,42,42],[35,30,42,63],[36,30,39,61],[43,30,63,37],[47,30,64,53],[50,30,64,57],[51,30,58,55],[58,30,62,52],[5,31,22,57],[15,31,16,44],[16,31,61,33],[19,31,20,36],[19,31,35,51],[29,31,61,43],[34,31,37,65],[35,31,40,56],[44,31,58,51],[52,31,65,48],[56,31,65,44],[61,31,65,58],[23,32,62,36],[26,32,37,35],[33,32,36,58],[34,32,39,64],[41,32,47,58],[42,32,56,56],[45,32,55,67],[52,32,57,54],[55,32,65,34],[55,32,67,47],[59,32,61,60],[16,33,42,55],[17,33,35,53],[18,33,52,58],[21,33,60,66],[23,33,50,65],[30,33,40,59],[33,33,38,59],[33,33,38,52],[34,33,41,66],[40,33,49,67],[40,33,67,46],[46,33,60,65],[49,33,53,40],[50,33,56,66],[55,33,56,64],[62,33,67,56],[2,34,7,45],[6,34,16,67],[8,34,40,62],[11,34,45,46],[13,34,40,64],[15,34,21,38],[17,34,53,40],[21,34,59,41],[26,34,33,61],[30,34,34,51],[35,34,62,55],[40,34,44,58],[42,34,49,43],[42,34,63,54],[59,34,62,65],[63,34,64,41],[64,34,65,53],[66,34,67,52],[0,35,4,52],[4,35,52,37],[5,35,43,52],[33,35,60,57],[37,35,47,53],[38,35,54,63],[40,35,61,66],[41,35,54,40],[46,35,62,39],[48,35,60,57],[52,35,65,36],[57,35,60,59],[59,35,67,61],[61,35,63,43],[0,36,12,66],[2,36,11,41],[6,36,13,57],[6,36,45,57],[10,36,51,52],[11,36,66,40],[12,36,31,64],[21,36,45,57],[25,36,64,47],[42,36,65,39],[49,36,55,45],[54,36,55,56],[57,36,60,51],[57,36,59,51],[61,36,66,44],[3,37,54,43],[7,37,55,45],[10,37,49,60],[11,37,45,61],[13,37,64,49],[16,37,36,56],[26,37,41,46],[30,37,49,46],[32,37,64,51],[41,37,63,41],[43,37,55,61],[44,37,63,50],[49,37,61,50],[59,37,67,61],[65,37,66,57],[1,38,58,48],[8,38,35,61],[10,38,64,55],[16,38,43,46],[17,38,50,51],[22,38,61,53],[28,38,48,50],[30,38,64,56],[35,38,50,43],[42,38,55,46],[43,38,55,50],[46,38,55,64],[49,38,52,67],[58,38,65,62],[64,38,66,62],[65,38,67,62],[66,38,67,65],[0,39,56,50],[2,39,27,53],[5,39,21,44],[9,39,43,47],[15,39,27,42],[24,39,58,46],[25,39,28,54],[31,39,52,60],[43,39,63,66],[45,39,65,40],[46,39,48,49],[58,39,66,44],[61,39,65,41],[64,39,65,63],[64,39,66,40],[3,40,65,46],[3,40,14,60],[4,40,23,66],[11,40,14,41],[11,40,25,66],[15,40,63,45],[15,40,50,41],[25,40,31,53],[28,40,60,54],[30,40,52,48],[31,40,48,43],[37,40,42,60],[40,40,62,60],[40,40,62,63],[42,40,63,41],[44,40,52,54],[58,40,63,53],[66,40,67,53],[11,41,49,59],[13,41,56,56],[14,41,18,42],[22,41,58,67],[28,41,60,59],[28,41,51,47],[32,41,47,43],[33,41,36,52],[36,41,40,48],[37,41,39,50],[39,41,65,45],[41,41,61,49],[50,41,64,66],[54,41,60,43],[56,41,64,65],[60,41,62,62],[63,41,67,67],[1,42,5,54],[5,42,6,48],[10,42,36,64],[22,42,44,46],[30,42,40,51],[50,42,66,64],[59,42,62,55],[59,42,65,56],[61,42,62,47],[63,42,64,56],[1,43,66,54],[1,43,37,62],[3,43,35,65],[5,43,43,61],[8,43,41,67],[11,43,20,59],[18,43,29,58],[19,43,63,46],[23,43,28,49],[25,43,33,57],[27,43,31,57],[27,43,31,50],[30,43,33,64],[32,43,42,50],[36,43,44,64],[36,43,56,61],[45,43,62,44],[54,43,60,58],[55,43,62,57],[1,44,43,45],[4,44,49,64],[5,44,56,53],[9,44,27,62],[15,44,48,50],[19,44,54,50],[26,44,50,46],[37,44,44,66],[42,44,52,58],[42,44,66,54],[45,44,63,46],[48,44,55,52],[51,44,61,46],[53,44,64,57],[58,44,64,59],[64,44,67,61],[5,45,17,51],[8,45,60,64],[20,45,67,51],[32,45,37,53],[38,45,54,53],[52,45,55,59],[65,45,67,55],[66,45,67,47],[2,46,47,51],[8,46,37,63],[14,46,61,60],[16,46,18,62],[17,46,42,66],[17,46,45,65],[27,46,60,55],[33,46,60,51],[40,46,44,59],[49,46,56,53],[56,46,66,66],[62,46,66,47],[64,46,65,66],[64,46,67,65],[19,47,29,51],[24,47,34,65],[41,47,51,50],[55,47,61,62],[56,47,65,66],[63,47,65,60],[64,47,67,54],[66,47,67,63],[1,48,16,67],[4,48,12,61],[5,48,18,49],[6,48,53,57],[7,48,49,53],[9,48,46,66],[12,48,38,53],[13,48,64,62],[13,48,55,54],[22,48,58,55],[24,48,37,59],[24,48,61,57],[37,48,44,50],[40,48,55,59],[64,48,67,54],[1,49,51,61],[7,49,54,51],[13,49,38,59],[20,49,45,52],[22,49,57,56],[38,49,65,64],[43,49,48,67],[47,49,60,56],[56,49,65,57],[61,49,64,61],[63,49,64,56],[0,50,26,56],[7,50,14,62],[10,50,16,51],[13,50,16,60],[16,50,20,62],[18,50,19,64],[25,50,42,61],[27,50,39,60],[45,50,51,66],[49,50,57,57],[55,50,61,63],[58,50,66,61],[60,50,61,51],[64,50,65,67],[20,51,48,57],[24,51,48,56],[33,51,64,62],[38,51,40,67],[46,51,61,53],[47,51,67,65],[49,51,51,53],[57,51,61,61],[3,52,45,58],[6,52,31,65],[6,52,40,56],[12,52,32,57],[21,52,67,56],[22,52,36,54],[27,52,39,59],[30,52,65,60],[31,52,60,60],[38,52,61,59],[43,52,61,62],[46,52,48,58],[54,52,56,54],[56,52,65,67],[57,52,63,56],[65,52,67,56],[1,53,22,58],[19,53,67,58],[27,53,61,59],[39,53,49,54],[45,53,54,54],[58,53,67,64],[62,53,63,65],[62,53,63,63],[13,54,38,63],[22,54,39,57],[22,54,59,65],[24,54,29,63],[35,54,51,64],[36,54,50,66],[42,54,54,57],[43,54,61,56],[48,54,63,55],[50,54,67,61],[51,54,64,64],[60,54,62,57],[64,54,65,64],[9,55,36,58],[12,55,41,57],[18,55,22,64],[20,55,35,62],[26,55,65,61],[27,55,29,64],[35,55,57,59],[36,55,51,61],[38,55,45,61],[52,55,63,64],[54,55,66,66],[56,55,61,64],[62,55,66,66],[4,56,40,61],[7,56,16,57],[17,56,46,62],[19,56,67,67],[21,56,55,60],[25,56,66,60],[25,56,28,63],[29,56,43,58],[33,56,45,61],[37,56,53,60],[38,56,66,61],[38,56,66,67],[38,56,43,61],[40,56,61,58],[43,56,61,64],[55,56,61,57],[36,57,52,59],[37,57,59,64],[42,57,51,64],[43,57,45,61],[53,57,61,60],[56,57,63,62],[3,58,48,63],[4,58,52,67],[16,58,55,65],[21,58,66,59],[23,58,59,61],[23,58,43,62],[24,58,65,63],[26,58,40,66],[45,58,64,66],[47,58,65,61],[49,58,50,59],[60,58,67,64],[65,58,66,67],[11,59,44,62],[17,59,47,63],[25,59,67,67],[27,59,62,66],[29,59,32,65],[33,59,66,60],[41,59,53,67],[41,59,45,66],[45,59,62,60],[50,59,65,67],[56,59,64,65],[58,59,63,62],[61,59,67,65],[63,59,66,60],[63,59,67,67],[1,60,33,63],[4,60,28,63],[11,60,44,65],[17,60,41,62],[18,60,23,64],[20,60,51,62],[20,60,37,66],[20,60,43,67],[24,60,53,66],[30,60,39,64],[33,60,66,66],[35,60,60,66],[51,60,55,67],[57,60,59,67],[58,60,67,65],[61,60,64,64],[65,60,66,65],[66,60,67,67],[4,61,5,66],[8,61,21,64],[18,61,29,66],[19,61,62,67],[21,61,49,67],[25,61,45,66],[27,61,52,63],[45,61,65,66],[46,61,58,64],[54,61,63,62],[59,61,63,64],[19,62,64,67],[33,62,61,63],[34,62,41,67],[38,62,42,67],[47,62,67,66],[52,62,67,63],[58,62,67,65],[58,62,61,66],[61,62,67,64],[61,62,65,64],[63,62,66,64],[1,63,67,65],[8,63,42,64],[37,63,60,64],[37,63,48,64],[38,63,41,66],[41,63,54,64],[41,63,49,65],[41,63,63,64],[48,63,58,66],[49,63,54,67],[59,63,60,64],[9,64,37,67],[11,64,58,65],[20,64,35,67],[21,64,64,67],[47,64,61,65],[50,64,61,65],[15,65,45,67],[20,65,22,67],[24,65,30,67],[24,65,53,66],[32,65,48,66],[65,65,67,67],[66,65,67,66],[0,66,55,67],[7,66,64,67],[15,66,36,67],[23,66,53,67],[36,66,58,67],[47,66,57,67],[50,66,52,67],[54,66,63,67],[56,66,65,67]]],"output":false},{"file":"testcase_5.txt","input":[693,[[360,9,433,168],[502,33,512,383],[389,38,562,673],[622,39,631,487],[274,44,373,600],[69,55,299,132],[338,68,442,437],[387,77,433,116],[135,78,531,570],[150,81,523,564],[418,81,553,547],[591,106,614,566],[213,109,254,529],[650,110,653,425],[608,128,664,253],[11,163,508,634],[106,170,110,358],[143,171,524,374],[349,179,560,290],[578,181,632,650],[202,185,581,536],[678,196,688,675],[637,197,657,520],[573,210,668,545],[137,230,676,464],[670,233,674,469],[116,241,265,575],[168,258,613,387],[109,264,500,582],[549,278,667,597],[589,283,651,402],[56,284,213,668],[347,287,377,426],[327,298,590,429],[487,304,684,458],[528,307,640,485],[647,363,672,372],[667,369,674,464],[53,388,647,620],[39,407,56,650],[127,427,332,657],[108,430,523,548],[169,441,263,593],[533,455,605,592],[462,467,580,607],[131,493,687,600],[524,496,600,661],[679,515,680,522],[376,550,475,572],[655,557,683,572],[629,558,651,683],[199,574,299,677],[325,585,533,676],[586,587,688,640],[683,588,684,672],[356,593,418,644],[63,597,142,609],[566,610,637,644],[611,620,650,626],[594,626,609,643],[408,632,467,664],[420,638,480,679],[667,657,691,679],[102,671,474,676],[534,682,656,688],[679,683,690,687]]],"output":false},{"file":"testcase_6.txt","input":[171,[[155,0,156,72],[162,0,164,64],[39,1,169,142],[59,1,118,131],[99,1,158,55],[13,2,150,138],[39,2,59,34],[75,2,126,159],[129,2,159,54],[16,3,21,127],[69,3,79,139],[50,4,167,13],[132,4,160,104],[18,5,46,137],[115,5,141,94],[85,6,143,17],[142,6,145,25],[127,7,143,160],[41,8,144,67],[1,9,164,53],[22,9,29,95],[90,9,142,11],[138,9,162,169],[168,9,169,18],[26,10,170,48],[31,11,125,94],[42,11,105,16],[13,12,31,107],[98,12,133,91],[165,12,167,76],[166,12,169,87],[75,13,116,65],[106,13,124,52],[108,13,163,151],[70,14,147,29],[77,14,154,135],[95,14,109,61],[47,15,162,110],[11,16,115,52],[87,16,134,87],[131,16,143,144],[144,17,145,109],[18,18,44,104],[110,18,137,46],[96,19,139,159],[101,20,102,91],[70,21,78,120],[137,21,148,168],[7,22,47,37],[27,22,132,91],[34,22,77,111],[62,22,138,30],[74,22,145,141],[156,22,165,122],[3,23,5,163],[90,23,168,57],[106,23,112,170],[157,23,168,44],[58,25,92,90],[138,25,143,57],[145,25,146,80],[16,26,162,141],[44,26,126,38],[121,26,169,39],[1,27,128,52],[113,27,120,91],[143,27,165,64],[0,28,43,158],[0,28,76,93],[35,28,83,126],[137,28,141,57],[142,28,157,151],[80,29,152,149],[107,29,140,144],[121,29,128,126],[166,30,167,170],[28,31,43,160],[51,31,78,37],[153,31,155,75],[159,31,164,57],[162,31,170,92],[18,32,88,147],[60,33,68,120],[104,33,163,57],[128,33,158,170],[36,34,138,51],[118,34,134,142],[4,35,141,115],[21,35,130,110],[50,35,88,74],[129,35,149,41],[24,36,117,56],[118,36,149,137],[161,37,162,96],[21,38,148,116],[25,38,103,130],[54,38,71,114],[45,39,113,114],[135,39,167,95],[77,40,142,113],[162,40,168,167],[11,41,128,77],[28,41,53,130],[55,41,135,108],[104,41,167,106],[66,42,122,73],[156,42,157,49],[162,42,170,53],[30,43,39,152],[58,43,106,109],[22,44,70,156],[57,44,91,47],[89,45,151,122],[169,45,170,158],[0,46,4,63],[91,47,152,119],[93,47,96,124],[131,47,145,99],[156,47,167,83],[156,48,161,100],[162,48,165,109],[167,48,169,75],[24,49,170,78],[78,49,96,96],[157,49,165,149],[50,50,102,85],[59,50,85,69],[88,50,119,66],[132,50,134,143],[1,52,154,93],[37,52,123,113],[77,52,160,89],[79,53,110,127],[89,53,126,147],[121,53,137,164],[141,53,149,85],[36,54,104,75],[37,54,84,112],[147,54,149,151],[41,55,132,119],[8,56,124,163],[72,56,164,72],[115,56,129,76],[27,57,130,112],[122,57,148,137],[125,57,144,102],[128,57,134,127],[144,57,158,144],[159,57,166,169],[53,58,128,141],[101,58,161,150],[129,58,138,94],[31,59,124,123],[102,59,111,140],[17,60,151,140],[40,60,73,77],[44,60,116,158],[74,60,109,71],[139,60,150,63],[45,61,151,138],[58,61,62,131],[110,61,122,137],[24,62,115,71],[68,62,108,76],[20,63,165,74],[108,63,166,95],[110,63,126,140],[119,63,127,150],[146,63,155,90],[156,63,166,164],[158,63,169,90],[6,64,170,142],[43,64,117,159],[76,64,138,117],[155,64,166,93],[30,65,141,76],[34,65,43,155],[97,65,159,121],[106,65,144,136],[49,66,152,104],[64,66,73,130],[100,66,111,128],[130,66,132,100],[130,66,151,139],[93,67,135,151],[158,67,165,112],[161,67,166,120],[27,68,107,94],[47,68,49,149],[93,68,112,112],[96,68,128,72],[108,68,123,162],[24,69,88,77],[145,69,160,123],[8,70,126,103],[57,70,84,118],[77,70,163,131],[118,70,154,94],[135,70,167,107],[148,71,150,126],[98,72,141,125],[103,72,111,147],[146,72,149,125],[65,73,157,143],[92,73,166,80],[161,74,166,143],[27,75,150,109],[4,76,134,169],[130,76,150,95],[139,76,142,79],[55,77,110,139],[30,78,44,122],[114,78,168,162],[164,78,166,117],[13,79,67,113],[27,79,93,100],[30,79,129,107],[133,79,157,84],[163,79,169,151],[97,80,158,132],[103,80,116,97],[121,80,146,102],[148,80,151,118],[21,81,60,146],[133,81,153,114],[9,82,48,123],[7,83,150,149],[28,83,58,144],[114,83,159,141],[159,83,169,99],[57,84,74,118],[62,84,77,154],[114,84,167,88],[140,84,153,141],[19,86,34,105],[69,86,147,108],[73,86,141,116],[17,88,67,140],[30,88,135,170],[85,88,138,105],[89,88,153,164],[127,88,168,163],[138,90,151,96],[167,90,169,98],[10,91,60,97],[35,91,100,112],[120,91,134,151],[128,91,130,151],[151,91,163,134],[157,92,168,118],[63,93,91,148],[108,94,138,95],[93,95,148,155],[132,95,150,147],[154,95,163,114],[6,96,48,106],[150,96,155,158],[30,97,43,140],[102,97,140,143],[116,97,137,100],[129,97,138,100],[91,98,135,131],[141,98,160,111],[155,98,169,99],[139,99,154,131],[4,100,38,158],[6,100,46,153],[100,100,128,147],[125,100,159,162],[165,100,169,136],[166,100,169,153],[168,100,169,124],[82,101,110,112],[69,102,161,160],[18,103,66,147],[26,103,102,111],[77,103,131,121],[121,103,150,131],[148,103,149,165],[61,104,169,129],[79,104,144,142],[36,105,110,142],[56,105,162,144],[61,105,96,166],[146,105,167,143],[1,106,113,143],[25,106,52,116],[27,106,102,135],[54,106,129,166],[63,106,64,131],[167,106,168,120],[4,107,48,159],[61,107,151,153],[65,108,168,113],[2,109,100,156],[21,109,62,128],[25,109,90,122],[110,109,158,170],[111,109,122,148],[114,109,151,141],[167,109,170,122],[17,110,167,157],[83,110,119,149],[119,110,135,151],[159,110,164,120],[159,110,165,134],[164,110,167,140],[84,111,112,160],[91,112,152,127],[149,112,159,155],[9,113,38,141],[16,113,91,129],[55,114,77,142],[21,115,125,144],[29,115,69,125],[120,115,139,151],[122,115,142,160],[94,116,143,131],[156,116,161,139],[8,117,134,121],[28,117,91,136],[145,117,166,125],[135,118,144,145],[23,119,125,160],[39,119,170,150],[50,119,94,138],[55,119,73,120],[62,119,65,141],[146,119,169,144],[81,120,157,169],[132,120,136,154],[134,121,161,166],[28,122,94,152],[88,123,104,133],[97,123,106,147],[168,123,169,147],[81,124,132,133],[82,124,111,137],[55,125,132,163],[128,125,135,158],[39,127,49,136],[126,127,162,170],[51,128,67,148],[61,128,63,141],[66,128,77,147],[91,128,103,129],[50,129,75,144],[124,129,162,160],[131,129,170,133],[140,129,153,147],[8,130,85,156],[22,131,155,163],[32,131,166,148],[60,131,135,140],[125,131,153,144],[70,132,156,155],[150,132,169,156],[106,133,144,157],[136,133,143,152],[8,134,57,138],[17,134,120,151],[131,134,166,160],[158,134,159,139],[71,135,82,169],[136,135,162,168],[27,136,116,166],[45,136,139,148],[66,136,160,155],[82,136,123,149],[126,136,130,170],[117,137,144,149],[160,137,165,151],[10,138,59,158],[98,138,107,165],[56,140,167,159],[119,140,128,167],[138,140,162,142],[57,141,65,170],[112,141,149,170],[114,141,122,167],[169,141,170,161],[50,142,135,166],[90,142,118,152],[168,142,169,162],[36,143,109,149],[104,143,118,147],[27,144,121,155],[49,144,96,167],[55,144,91,160],[59,144,121,159],[87,144,165,147],[13,145,62,151],[77,145,152,161],[96,145,140,162],[160,146,167,166],[25,147,114,163],[47,147,169,169],[112,147,148,168],[129,147,170,166],[130,147,164,162],[150,147,169,151],[17,148,157,158],[124,148,148,170],[164,149,165,152],[23,150,77,160],[76,150,134,168],[98,150,153,159],[153,150,163,154],[164,150,166,160],[58,151,94,165],[71,151,111,168],[130,151,144,170],[154,151,164,165],[141,153,160,160],[33,155,113,164],[42,155,66,167],[55,155,154,166],[86,155,115,157],[87,155,94,159],[117,155,161,163],[28,156,150,168],[39,157,160,158],[48,157,155,159],[64,157,65,159],[70,157,157,164],[121,157,164,167],[17,159,167,163],[49,159,74,165],[0,160,21,165],[1,160,44,166],[56,160,147,170],[98,160,106,161],[137,160,144,167],[148,160,170,162],[152,160,169,161],[153,160,168,166],[6,161,100,165],[12,161,141,166],[89,161,152,168],[163,161,165,162],[12,162,139,166],[13,162,167,167],[28,162,133,167],[21,163,103,166],[106,163,149,166],[110,163,117,170],[115,163,144,166],[86,164,144,166],[101,164,112,168],[67,165,103,170],[116,166,138,168],[132,166,155,167],[32,167,63,170],[38,167,82,170],[25,168,37,169],[41,169,156,170]]],"output":false},{"file":"testcase_7.txt","input":[350,[[74,0,126,237],[88,0,236,71],[91,0,125,215],[336,0,343,130],[55,1,290,141],[120,1,169,301],[151,1,161,124],[284,1,312,167],[41,3,122,311],[27,4,165,58],[95,4,144,171],[344,5,348,36],[344,6,347,96],[147,7,306,35],[265,7,308,125],[310,7,318,96],[97,8,179,67],[319,8,320,133],[88,9,309,314],[244,9,264,281],[29,10,213,105],[148,11,201,199],[156,11,243,47],[267,11,310,234],[121,13,222,324],[192,13,305,144],[32,14,137,345],[114,14,287,35],[135,14,282,15],[141,14,233,339],[227,14,303,122],[65,16,183,267],[158,16,234,292],[207,16,250,296],[213,16,253,301],[232,18,305,29],[232,18,256,308],[304,20,349,216],[180,22,287,229],[270,22,282,240],[125,24,303,200],[280,24,289,94],[296,24,317,112],[245,25,247,27],[336,25,344,236],[235,26,286,349],[290,26,323,95],[51,27,255,149],[80,27,114,285],[73,28,133,292],[266,28,300,51],[274,28,284,54],[206,29,251,285],[93,30,95,326],[303,30,343,315],[68,31,337,123],[70,33,159,168],[234,33,255,217],[239,33,249,37],[272,33,287,129],[337,33,344,225],[294,35,301,258],[3,36,301,87],[255,36,317,184],[8,37,34,301],[171,37,230,342],[13,38,341,200],[76,38,266,131],[82,39,334,254],[117,39,247,271],[183,40,253,205],[245,40,320,96],[4,42,257,130],[53,42,343,191],[71,43,227,190],[299,43,301,236],[139,45,313,73],[301,45,348,306],[338,46,349,185],[244,47,304,335],[315,47,320,161],[110,49,307,147],[289,49,312,106],[0,50,306,104],[157,52,187,114],[56,53,114,179],[195,54,318,100],[150,56,267,123],[18,57,101,170],[128,57,335,298],[297,57,330,258],[4,58,164,114],[75,59,140,284],[188,59,258,238],[221,59,226,98],[289,59,335,152],[74,60,209,267],[190,61,208,173],[281,61,290,311],[12,62,224,201],[146,62,296,156],[225,62,292,294],[67,64,87,320],[161,64,182,338],[203,64,212,310],[260,64,324,84],[276,64,323,228],[283,64,346,137],[311,64,318,165],[129,65,314,131],[347,65,349,317],[156,66,232,241],[163,68,216,98],[299,68,348,177],[302,68,330,149],[112,69,147,116],[97,70,345,154],[227,70,260,312],[346,70,349,263],[181,73,196,312],[208,73,244,142],[37,76,93,142],[164,76,341,122],[7,77,253,174],[208,79,300,129],[325,79,344,233],[330,79,337,107],[197,80,335,343],[188,81,258,312],[7,82,208,145],[285,83,334,135],[301,83,313,239],[342,83,348,111],[26,85,245,334],[97,85,327,318],[167,85,336,272],[263,87,270,112],[34,92,345,311],[208,92,345,308],[101,95,165,286],[152,96,228,165],[276,96,283,272],[104,100,331,299],[206,100,324,133],[103,101,347,296],[191,101,221,119],[213,101,253,341],[328,101,339,125],[116,103,157,334],[243,103,285,260],[296,103,325,182],[93,104,347,323],[274,104,340,115],[71,106,266,253],[91,106,311,213],[219,106,265,182],[205,107,340,297],[148,108,306,125],[176,110,227,132],[294,110,306,251],[8,112,327,184],[330,112,342,173],[205,113,310,140],[253,113,318,170],[343,113,344,292],[46,114,76,324],[167,114,259,119],[256,116,257,195],[295,118,335,218],[16,119,119,175],[73,119,78,308],[153,119,157,317],[343,120,346,271],[344,120,348,148],[44,121,197,279],[338,121,347,201],[135,122,185,195],[154,122,225,286],[20,123,348,208],[62,123,215,127],[293,123,313,191],[31,125,267,299],[253,125,289,217],[287,125,305,304],[336,127,348,150],[337,127,342,343],[259,129,330,177],[169,130,251,332],[161,131,182,149],[176,131,262,134],[293,132,306,262],[289,134,336,245],[288,135,322,342],[63,136,245,174],[227,136,241,139],[257,136,298,338],[156,137,254,159],[250,137,275,187],[89,138,333,347],[230,139,312,253],[265,139,308,221],[304,139,325,316],[93,140,296,250],[98,140,303,208],[267,140,319,338],[214,141,230,216],[252,141,323,171],[277,141,349,158],[158,142,167,265],[297,142,307,216],[340,142,343,162],[154,143,247,309],[294,143,339,344],[11,147,192,345],[54,147,331,332],[190,147,287,337],[197,147,349,248],[289,148,325,158],[4,149,105,213],[144,151,285,324],[235,151,299,342],[332,153,345,234],[18,154,221,237],[272,154,325,322],[290,154,312,261],[343,154,344,204],[70,155,296,288],[247,155,290,159],[118,156,318,300],[166,156,278,227],[154,157,191,262],[176,158,341,164],[78,159,315,261],[178,159,300,262],[206,159,314,222],[222,159,251,188],[302,160,310,164],[320,160,339,218],[74,161,199,219],[113,162,309,196],[346,162,348,265],[0,164,119,252],[283,165,340,339],[254,167,318,254],[45,168,286,191],[238,168,291,253],[265,169,317,307],[329,169,333,342],[200,170,297,186],[253,170,349,190],[117,172,183,192],[295,172,330,287],[245,174,306,214],[128,177,219,212],[240,178,254,346],[309,179,315,297],[100,180,184,262],[224,180,347,227],[38,181,124,333],[108,181,261,298],[121,181,231,306],[186,181,240,207],[318,181,320,256],[152,183,326,252],[245,183,349,266],[66,184,256,235],[72,184,327,253],[134,185,187,294],[183,185,323,303],[274,185,275,311],[299,185,305,253],[108,186,271,324],[142,186,179,285],[144,188,165,212],[182,188,281,274],[49,189,183,338],[235,191,323,233],[67,192,250,208],[147,192,240,245],[19,193,160,276],[36,194,296,336],[186,194,313,208],[21,196,60,257],[326,196,343,339],[198,197,232,295],[11,198,206,295],[151,198,247,301],[342,198,343,219],[320,199,333,224],[29,200,173,294],[215,203,258,233],[247,204,343,279],[136,206,263,303],[294,206,322,253],[67,207,109,213],[38,208,313,296],[136,208,255,240],[291,209,310,260],[83,210,346,295],[237,211,287,215],[265,211,312,217],[333,211,339,276],[76,212,127,296],[244,212,343,324],[11,214,128,280],[192,214,197,268],[117,215,147,279],[164,215,330,314],[43,216,149,321],[110,216,213,300],[81,217,247,334],[304,217,334,316],[21,218,202,271],[63,218,213,226],[115,218,248,276],[248,218,330,286],[289,218,293,243],[305,218,347,270],[310,218,319,225],[25,220,235,289],[85,220,99,300],[45,221,328,342],[185,221,283,311],[307,221,349,287],[23,222,293,311],[228,222,321,263],[151,223,204,331],[25,224,125,344],[46,225,230,309],[67,226,156,253],[233,226,332,251],[95,227,291,249],[114,227,141,325],[223,227,280,271],[320,227,333,230],[21,229,112,276],[127,231,304,312],[294,231,299,296],[0,232,284,247],[147,232,310,298],[158,233,218,262],[241,233,325,253],[311,233,332,254],[326,233,336,255],[149,234,275,282],[287,234,322,309],[309,235,340,291],[92,236,228,305],[39,239,299,311],[181,239,270,308],[130,240,187,312],[217,241,269,264],[317,241,343,342],[69,242,245,323],[73,242,79,247],[128,242,291,339],[98,243,178,292],[142,243,202,275],[82,244,236,324],[287,244,337,270],[336,245,340,252],[195,248,304,347],[226,248,340,279],[9,249,76,301],[115,249,282,266],[178,249,199,308],[188,249,275,302],[189,249,278,259],[300,249,347,273],[52,250,123,303],[324,250,325,280],[183,252,292,271],[257,252,290,294],[334,252,338,253],[60,253,168,273],[302,253,310,307],[112,254,197,282],[99,255,117,332],[70,256,226,347],[158,256,178,346],[256,256,332,286],[78,258,197,344],[59,259,118,338],[195,259,330,319],[247,260,310,346],[275,260,316,276],[287,260,338,321],[326,260,336,272],[41,261,110,317],[86,261,316,320],[107,261,113,320],[171,261,220,330],[295,261,305,298],[177,262,275,334],[129,263,211,346],[291,263,292,308],[305,263,343,278],[309,263,321,324],[332,264,342,287],[47,265,324,313],[162,265,242,304],[163,266,198,280],[214,266,349,300],[132,268,339,313],[148,268,349,347],[203,268,269,285],[321,268,331,325],[85,269,317,334],[96,269,252,302],[144,270,297,302],[299,270,330,348],[34,271,132,335],[330,271,333,340],[230,272,344,298],[157,273,274,341],[261,274,338,283],[344,274,346,305],[35,276,144,348],[68,276,140,323],[334,276,338,298],[93,277,151,337],[187,277,271,303],[189,277,223,327],[268,277,328,341],[322,277,342,347],[70,278,241,295],[170,278,182,309],[210,278,331,288],[311,278,329,332],[340,278,347,290],[166,279,313,281],[76,280,284,284],[158,281,227,290],[27,283,245,323],[34,283,248,313],[291,284,334,318],[22,285,330,290],[216,285,294,293],[197,286,306,302],[13,293,271,313],[139,293,338,299],[158,293,177,344],[310,293,346,295],[176,296,296,335],[83,300,185,320],[342,300,345,322],[240,301,254,310],[219,305,281,336],[244,305,340,321],[321,305,344,338],[77,307,306,341],[141,307,156,330],[259,307,345,312],[53,309,62,338],[125,309,307,318],[78,310,188,341],[187,312,275,323],[207,312,250,319],[0,313,277,315],[121,313,142,318],[184,313,294,342],[288,313,315,337],[58,314,83,344],[137,314,186,342],[309,314,321,325],[296,316,303,335],[106,317,218,343],[166,317,249,339],[22,318,103,332],[73,318,245,340],[120,318,203,346],[130,319,215,331],[237,319,302,323],[176,321,255,346],[301,321,304,323],[308,321,309,349],[212,322,267,326],[288,322,328,337],[79,323,251,325],[283,323,311,328],[0,324,164,344],[47,324,181,329],[125,324,141,325],[25,325,205,338],[100,326,269,347],[110,326,167,330],[234,326,290,333],[313,327,344,336],[211,329,212,337],[0,330,98,344],[104,330,309,337],[108,330,129,335],[121,331,251,338],[193,331,271,346],[233,331,266,339],[84,332,131,340],[271,332,283,340],[71,333,298,346],[135,334,313,345],[290,335,296,340],[53,336,321,342],[152,336,184,346],[215,336,244,342],[255,336,292,345],[295,337,297,347],[207,338,260,339],[309,338,333,343],[24,339,151,342],[69,342,115,349],[225,342,257,347],[287,342,348,346],[237,343,345,349],[263,344,275,349],[23,345,93,346],[86,347,107,349],[342,347,345,348],[168,348,341,349]]],"output":false},{"file":"testcase_8.txt","input":[156,[[14,0,143,16],[14,0,30,76],[27,0,35,11],[39,0,108,139],[44,0,52,13],[45,0,52,36],[74,0,94,111],[101,0,146,148],[105,0,129,28],[126,0,148,91],[139,0,150,26],[103,1,113,79],[118,1,151,91],[138,1,140,137],[102,2,141,135],[103,2,115,71],[119,2,155,118],[121,2,133,18],[6,3,23,100],[47,3,106,131],[50,3,134,29],[63,3,89,94],[88,3,148,127],[90,3,99,77],[95,3,102,77],[16,4,146,114],[63,4,87,138],[79,4,92,62],[129,4,144,78],[114,5,130,113],[153,5,154,117],[93,6,151,114],[150,6,152,120],[5,7,71,101],[31,7,95,15],[34,7,71,78],[50,7,63,90],[75,7,136,68],[82,7,127,152],[90,7,130,103],[107,7,151,84],[118,7,143,129],[129,7,141,93],[86,8,103,150],[108,8,130,77],[14,9,127,101],[21,9,136,137],[25,9,47,136],[26,10,89,126],[55,10,130,132],[72,10,90,43],[110,10,145,27],[112,10,124,141],[11,11,23,16],[27,11,58,108],[44,11,47,145],[48,11,106,85],[66,11,90,79],[98,11,125,105],[104,11,131,65],[126,11,135,76],[38,12,140,115],[95,12,116,61],[133,12,151,42],[147,12,152,22],[12,13,84,87],[20,13,39,112],[96,13,150,67],[133,13,136,94],[146,13,151,112],[90,14,117,100],[120,14,139,132],[132,14,145,150],[136,14,145,98],[48,15,131,51],[49,15,142,111],[56,15,116,19],[61,15,131,24],[67,15,101,107],[71,15,76,46],[84,15,152,97],[82,16,143,148],[119,16,142,148],[49,17,152,57],[94,17,128,35],[100,17,131,44],[105,17,111,114],[108,17,118,89],[18,18,128,116],[81,18,134,50],[88,18,145,29],[131,18,142,136],[154,18,155,120],[25,19,147,124],[48,19,54,91],[50,19,111,26],[105,19,130,65],[141,19,148,32],[17,20,125,148],[29,20,127,27],[37,20,48,153],[121,20,131,101],[123,20,133,108],[131,20,141,47],[135,20,155,143],[145,20,149,146],[154,20,155,129],[28,21,154,80],[59,21,67,51],[95,21,124,108],[122,21,127,45],[135,21,154,122],[11,22,40,38],[27,22,92,110],[30,22,54,57],[41,22,131,140],[47,22,79,46],[122,22,127,133],[123,22,135,49],[38,23,91,78],[58,23,96,84],[77,23,106,51],[135,23,141,66],[142,23,150,148],[152,23,154,99],[106,24,116,151],[108,24,135,69],[121,24,148,119],[137,24,144,104],[151,24,154,25],[15,25,102,29],[42,25,124,128],[115,25,151,57],[126,25,150,90],[130,25,134,138],[140,25,151,134],[6,26,115,143],[39,26,44,76],[55,26,65,154],[82,26,127,33],[113,26,134,74],[118,26,149,44],[1,27,139,60],[22,27,59,119],[26,27,133,123],[52,27,129,150],[104,27,144,71],[153,27,154,114],[11,28,144,63],[26,28,91,151],[27,28,143,121],[42,28,103,94],[59,28,125,79],[65,28,138,36],[137,28,153,32],[147,28,154,126],[6,29,101,74],[38,29,56,149],[40,29,138,62],[72,29,97,94],[85,29,120,67],[101,29,130,32],[145,29,154,142],[11,30,138,82],[24,30,112,45],[82,30,96,96],[105,30,134,83],[13,31,92,139],[51,31,68,96],[138,31,140,141],[18,32,144,72],[34,32,136,54],[46,32,80,76],[92,32,135,42],[94,32,110,78],[135,32,139,61],[144,32,153,116],[146,32,151,57],[16,33,34,119],[56,33,135,67],[83,33,98,113],[84,33,146,148],[93,33,139,37],[98,33,130,87],[18,34,102,117],[67,34,142,143],[100,34,108,138],[18,35,110,90],[90,35,98,46],[102,35,133,117],[141,35,154,144],[142,35,145,90],[6,36,132,143],[32,36,121,49],[73,36,87,135],[152,36,155,89],[32,37,58,120],[38,37,55,79],[38,37,122,152],[55,37,70,72],[62,37,103,65],[69,37,154,83],[114,37,140,63],[17,38,36,83],[46,38,116,127],[57,38,134,73],[88,38,107,145],[153,38,155,69],[30,39,73,90],[41,39,82,131],[54,39,132,46],[54,39,154,132],[91,39,120,140],[134,39,154,49],[17,40,55,73],[35,40,131,128],[46,40,83,74],[71,40,91,83],[2,41,7,108],[4,41,148,111],[67,41,81,61],[83,41,90,120],[114,41,126,97],[15,42,108,47],[60,42,105,104],[92,42,136,150],[109,42,127,73],[1,43,74,123],[38,43,104,54],[80,43,124,93],[98,43,137,72],[123,43,136,49],[27,44,50,125],[40,44,146,79],[63,44,147,86],[118,44,150,149],[119,44,142,115],[146,44,150,88],[7,45,48,55],[151,45,155,132],[57,46,115,93],[68,46,105,154],[91,46,130,65],[104,46,140,119],[110,46,147,142],[115,46,145,154],[43,47,85,123],[113,47,131,134],[134,47,145,115],[135,47,155,92],[152,47,153,147],[74,48,83,101],[90,48,150,107],[104,48,125,106],[136,48,151,132],[145,48,152,106],[1,49,82,50],[24,49,97,60],[31,49,126,143],[37,49,142,104],[50,49,112,139],[83,49,125,143],[119,49,121,61],[140,49,144,81],[0,50,134,62],[30,50,51,130],[37,50,77,131],[50,50,119,135],[132,50,146,97],[3,51,94,145],[9,51,125,58],[13,51,56,135],[45,51,49,106],[78,51,111,82],[98,51,113,76],[116,51,127,80],[15,52,40,137],[51,52,122,105],[79,52,108,98],[140,52,148,78],[22,53,106,148],[25,53,76,68],[32,53,99,89],[40,53,98,82],[48,53,80,58],[73,53,141,103],[92,53,132,152],[120,53,126,106],[3,54,37,138],[12,54,32,154],[25,54,120,100],[40,54,91,112],[100,54,115,58],[103,54,130,117],[111,54,127,141],[116,54,123,134],[150,54,155,77],[2,55,68,69],[60,55,89,125],[66,55,90,85],[73,55,110,92],[97,55,123,146],[99,55,131,122],[102,55,111,146],[126,55,152,58],[129,55,152,131],[137,55,151,57],[138,55,143,107],[6,56,122,142],[95,56,103,71],[117,56,122,63],[135,56,137,78],[151,56,153,86],[3,57,6,107],[9,57,127,105],[44,57,93,154],[75,57,143,138],[76,57,85,72],[127,57,152,61],[41,58,69,91],[44,58,90,109],[45,58,126,97],[54,58,81,112],[79,58,108,83],[81,58,109,138],[96,58,142,131],[153,58,154,94],[9,59,31,135],[33,59,102,116],[49,59,143,84],[139,59,141,109],[139,59,153,66],[154,59,155,60],[28,60,140,92],[1,61,125,114],[39,61,83,134],[106,61,136,83],[132,61,143,154],[137,61,148,80],[140,61,150,126],[143,61,145,116],[146,61,151,65],[148,61,154,111],[13,62,59,93],[65,62,147,79],[95,62,150,77],[124,62,133,137],[152,62,154,66],[154,62,155,145],[4,63,8,92],[38,63,107,74],[40,63,140,111],[50,63,150,138],[56,63,87,77],[73,63,122,117],[76,63,149,103],[88,63,101,131],[114,63,139,73],[135,63,155,102],[150,63,152,124],[152,63,153,112],[23,64,34,143],[25,64,33,114],[64,64,95,118],[111,64,137,143],[152,64,155,101],[154,64,155,145],[59,65,153,104],[12,66,40,84],[54,66,87,95],[68,66,104,77],[69,66,73,121],[115,66,118,112],[124,66,137,118],[128,66,140,132],[10,67,150,112],[11,67,49,146],[27,67,40,132],[42,67,68,113],[76,67,90,138],[138,67,142,106],[10,68,143,133],[22,68,49,116],[35,68,128,128],[99,68,144,132],[119,68,122,145],[130,68,147,104],[46,69,151,153],[53,69,133,77],[63,69,123,74],[95,69,117,148],[123,69,136,108],[138,69,154,83],[12,70,153,150],[40,70,51,87],[80,70,107,104],[92,70,133,143],[30,71,55,109],[40,71,147,147],[79,71,82,145],[124,71,155,85],[130,71,131,81],[137,71,140,138],[77,72,119,96],[86,72,145,99],[133,72,141,144],[30,73,133,98],[80,73,81,91],[134,73,155,152],[16,74,124,115],[17,74,46,88],[66,74,125,116],[81,74,119,111],[113,74,132,81],[117,74,132,92],[128,74,137,155],[142,74,152,143],[2,75,138,124],[3,75,136,110],[71,75,153,146],[86,75,130,92],[145,75,147,129],[97,76,146,123],[108,76,133,102],[11,77,93,94],[21,77,130,108],[39,77,80,153],[40,77,145,94],[96,77,117,127],[114,77,133,124],[23,78,54,137],[53,78,73,84],[128,78,147,112],[144,78,146,146],[39,79,122,119],[85,79,150,148],[111,79,145,95],[122,79,150,106],[10,80,15,96],[25,80,107,103],[92,80,146,131],[97,80,105,132],[107,80,117,130],[149,80,152,145],[5,81,107,151],[16,81,101,111],[42,81,97,148],[61,81,139,121],[126,81,145,89],[130,81,155,107],[28,82,38,91],[58,82,116,140],[93,82,145,102],[110,82,128,84],[138,82,141,146],[151,82,155,140],[11,83,95,108],[27,83,68,144],[45,83,122,120],[58,83,99,107],[72,83,151,99],[86,83,126,93],[86,83,123,148],[88,83,107,97],[101,83,113,108],[128,83,146,129],[20,84,74,124],[23,84,60,153],[56,84,115,88],[67,84,146,146],[81,84,116,102],[89,84,130,146],[110,84,122,114],[128,84,145,146],[145,84,146,146],[154,84,155,128],[7,85,32,92],[52,85,75,136],[65,85,82,122],[68,85,116,103],[94,85,96,119],[94,85,101,113],[95,85,112,89],[104,85,117,121],[143,85,151,140],[75,86,143,133],[135,86,152,153],[146,86,149,114],[146,86,151,92],[154,86,155,154],[9,87,14,93],[19,87,143,140],[36,87,87,151],[51,87,76,151],[52,87,154,126],[93,87,143,106],[135,87,137,119],[30,88,34,137],[94,88,135,153],[10,89,126,110],[50,89,112,139],[52,89,98,135],[99,89,102,129],[117,90,143,127],[16,91,152,95],[24,91,58,117],[28,91,82,92],[45,91,149,153],[47,91,87,99],[131,91,141,145],[141,91,149,153],[8,92,113,96],[27,92,120,137],[40,92,79,97],[107,92,122,133],[3,93,127,111],[108,93,155,130],[110,93,128,116],[119,93,155,105],[122,93,125,125],[130,93,145,138],[7,94,54,132],[44,94,126,153],[6,95,84,140],[55,95,137,113],[151,95,155,112],[37,96,38,132],[87,96,98,98],[125,96,143,147],[134,96,142,108],[140,96,146,119],[6,97,51,114],[40,97,99,114],[50,97,120,140],[55,97,137,142],[111,97,140,106],[116,97,127,153],[142,97,150,142],[32,98,133,132],[37,98,114,144],[108,98,129,101],[139,98,149,135],[151,98,152,122],[15,99,136,142],[26,99,123,139],[91,99,139,154],[126,99,144,136],[3,101,114,104],[52,101,68,137],[89,101,125,138],[92,101,146,150],[36,102,132,116],[82,102,147,121],[111,102,143,139],[123,102,133,150],[146,102,155,144],[4,103,45,131],[35,103,37,151],[37,103,88,124],[82,103,103,118],[6,104,70,136],[74,104,92,150],[98,104,145,127],[106,104,132,106],[119,104,120,130],[152,104,154,145],[2,105,7,121],[93,105,115,122],[141,105,144,114],[154,105,155,143],[17,106,32,121],[73,106,110,152],[3,107,108,141],[15,107,48,121],[26,107,129,149],[38,107,75,152],[79,107,102,151],[103,107,133,135],[103,107,152,110],[147,107,150,136],[78,108,150,152],[95,108,135,128],[108,108,116,154],[110,108,128,155],[111,108,143,143],[128,108,152,140],[45,109,97,113],[84,109,141,132],[6,110,48,116],[19,110,90,152],[72,110,125,150],[35,111,117,129],[35,111,139,135],[103,111,150,127],[136,111,147,142],[8,112,28,150],[38,112,140,118],[40,112,150,119],[61,112,90,136],[65,112,85,127],[90,112,99,118],[102,112,142,154],[128,112,151,120],[136,112,138,118],[151,112,152,113],[1,113,13,144],[18,113,22,137],[73,113,112,149],[93,113,125,142],[112,113,128,149],[4,114,38,144],[4,114,61,137],[5,114,46,131],[19,114,132,127],[4,115,48,154],[8,115,122,130],[26,115,80,153],[38,115,68,151],[90,115,108,126],[113,115,127,147],[123,115,152,139],[127,115,134,155],[20,116,44,121],[46,116,47,130],[110,116,147,122],[1,117,43,143],[15,117,85,155],[28,117,56,148],[29,117,137,132],[83,117,124,122],[105,117,140,127],[121,117,131,130],[6,118,66,147],[18,118,155,130],[128,118,131,153],[144,118,150,155],[9,119,137,132],[20,119,109,127],[119,119,152,136],[8,120,152,154],[60,120,101,137],[100,120,115,151],[112,120,133,149],[129,120,135,145],[75,121,108,146],[99,121,138,123],[148,121,149,151],[45,122,61,149],[93,122,95,138],[118,122,128,140],[129,122,152,152],[142,122,151,149],[79,123,89,140],[19,124,50,146],[36,124,89,143],[141,124,155,133],[23,125,114,132],[42,125,133,148],[118,125,126,149],[11,126,46,130],[16,126,155,131],[22,126,141,127],[45,126,52,137],[61,126,133,154],[67,126,120,148],[87,126,136,152],[95,126,155,135],[99,126,146,131],[72,127,136,146],[83,127,110,140],[40,128,73,137],[48,128,85,138],[86,129,145,150],[17,130,41,140],[78,130,126,151],[121,130,128,131],[131,130,134,133],[133,130,143,146],[87,131,100,150],[107,131,134,133],[148,131,151,155],[149,131,155,132],[150,131,153,142],[1,132,127,148],[28,132,130,146],[34,132,123,140],[78,132,104,139],[83,132,143,145],[87,132,99,137],[99,132,114,140],[102,132,104,138],[111,132,115,142],[117,132,140,150],[6,133,96,143],[39,133,84,145],[94,134,131,143],[4,135,136,153],[16,135,135,141],[44,135,106,152],[148,135,152,149],[47,136,87,149],[52,136,139,139],[67,136,79,141],[73,136,151,153],[85,136,105,141],[102,136,122,143],[127,136,134,154],[147,136,155,151],[151,136,153,151],[5,137,98,140],[22,137,154,150],[28,137,103,151],[44,137,48,152],[71,137,123,143],[110,137,126,140],[120,137,136,138],[133,137,137,152],[6,138,63,154],[37,138,47,152],[42,138,127,144],[96,138,123,152],[143,138,146,142],[26,139,73,147],[40,139,144,143],[109,139,111,155],[146,139,152,153],[129,140,141,152],[18,141,55,148],[21,141,34,155],[43,141,119,150],[64,141,125,144],[89,141,111,155],[5,142,68,155],[38,142,56,150],[42,142,86,152],[61,142,115,150],[83,142,104,149],[95,142,150,143],[114,142,141,148],[147,142,148,148],[68,143,140,154],[83,143,143,144],[5,144,43,147],[42,144,153,154],[94,144,131,146],[114,144,152,151],[79,145,131,147],[151,145,152,147],[24,146,93,151],[29,146,98,147],[42,146,43,150],[105,146,113,149],[135,146,149,154],[37,147,155,149],[43,147,62,150],[64,147,135,149],[72,147,119,152],[95,147,138,155],[97,147,138,155],[124,147,129,155],[151,147,153,154],[17,148,18,149],[65,148,94,149],[122,148,143,150],[139,148,144,155],[140,148,148,152],[141,148,146,154],[150,148,152,151],[19,149,85,150],[26,149,83,153],[35,149,60,153],[43,149,145,150],[100,149,135,154],[123,149,126,155],[128,149,138,151],[131,149,149,150],[139,149,151,150],[28,150,97,155],[52,150,100,155],[88,150,141,153],[92,150,105,151],[118,150,154,153],[60,151,118,152],[113,151,119,152],[145,151,149,154],[151,151,155,152],[17,152,49,155],[35,152,98,155],[91,152,146,153],[118,152,124,154],[127,152,149,155],[0,153,5,155],[2,153,39,155],[16,153,114,154],[24,153,148,154],[41,153,51,155],[148,153,155,154],[22,154,87,155],[44,154,73,155],[80,154,130,155],[83,154,88,155],[110,154,141,155],[141,154,151,155]]],"output":false}]
|
check-if-grid-satisfies-conditions.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":["[8]","[8]","[9]"],"output":false},{"file":"testcase_10.txt","input":["[3,1,4,8,5,4,3,6,1,0]","[7,9,9,7,1,8,1,7,5,6]","[9,6,2,1,7,4,0,4,8,7]","[7,5,6,0,4,8,1,0,1,1]","[6,9,5,1,1,7,4,2,4,5]","[7,7,1,0,9,6,4,2,1,3]","[6,4,7,0,6,3,8,4,9,7]","[0,4,6,8,6,9,0,0,9,4]","[9,4,7,4,7,0,5,9,3,5]"],"output":false},{"file":"testcase_2.txt","input":["[6]","[4]"],"output":false},{"file":"testcase_3.txt","input":["[9,7]","[0,8]","[4,8]","[0,2]"],"output":false},{"file":"testcase_4.txt","input":["[5,4,9,4,0,7,7,8]","[8,0,3,2,2,3,7,8]","[9,5,9,4,7,1,2,6]","[4,9,0,2,8,8,2,9]"],"output":false},{"file":"testcase_5.txt","input":["[2,8,5]","[0,9,7]","[5,6,6]","[6,3,3]","[2,7,0]","[9,6,7]","[1,3,4]"],"output":false},{"file":"testcase_6.txt","input":["[7,3,4]","[5,7,5]","[9,0,7]","[1,8,2]","[7,3,1]","[4,3,4]","[8,8,4]"],"output":false},{"file":"testcase_7.txt","input":["[7,0]","[7,2]","[6,6]","[4,1]"],"output":false},{"file":"testcase_8.txt","input":["[3,6,8,1,2,0,6,0,1]","[0,9,3,5,3,8,1,0,9]","[0,4,3,2,8,7,6,1,8]","[0,3,6,4,0,5,6,2,7]","[8,6,1,0,9,4,0,9,5]","[1,3,1,7,8,8,5,0,6]","[1,8,7,3,3,6,7,4,9]"],"output":false},{"file":"testcase_9.txt","input":["[6]","[7]","[6]","[0]","[5]","[9]","[5]","[0]"],"output":false}]
|
check-if-it-is-possible-to-split-array.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[98,38,13,20,91,45,81,15,96,36,19,2,93,67,81,82,36,50,52,49,26,53,47,37,71,78,48,72,68,43,55,84,9,45,27,5,27,59,23,12,25,99,22,8,89,96,61,75,2,40,11,35,4,80,82,93,15,46,91,71,77,97,71,23,87,52,6,19,75,40,26,70],50],"output":true},{"file":"testcase_10.txt","input":[[95,97,8,8,11,6,1],24],"output":true},{"file":"testcase_2.txt","input":[[80,21,34,29,88,96,89,75,88,31,74,46,13,37,82,70,99,85],71],"output":true},{"file":"testcase_3.txt","input":[[4,76,15,19,76,9,68,50,54,76,42,50,39,44,93,55,46,27,59,80,57,41,47,31,93,53,57,47,89,52,51,50,23,5,69,55,79,79,9,25,77,10,78,94,87,34,73,99,4,28,81,33,86,93,30,56,80,24,20,22,33,45,84,48,92,18,11,88,68],145],"output":true},{"file":"testcase_4.txt","input":[[95,13,73,85,9,36,16,66,37,70,27,20,65,61,2,69,54,87,41,33,94,8,25,31,47,30,73,17,50,1,70,96,88,82,12,71,47,25,42,42,39,93,12,5,13,43,53,90,5,63,85,33,65,89,64,74,98,51,9,22,77,35,71,41,36,53,81,79,33,9,85,59,65,82],5],"output":true},{"file":"testcase_5.txt","input":[[31,13,59,20,65,20,99,45,30,60,94,91,96,23,43,22,44,35,8,33,56,98,3,68,80,29,16,97,11,93,22,23,53,31,90,87,66,10,13,43,98,85,40,84,34],76],"output":true},{"file":"testcase_6.txt","input":[[84,35,80,61,60,92,76,24,23,82,10,87,58,76,89,75,48,87,74,91,98,38,62,51,70,71,7,36,72,14,29,22,61,69,95,4,38,38,24,60,10,62,35,7,90,19,41,42,13,67,9,70,40,70,18,76,79,48,35,19,27,78,73,39,48],178],"output":true},{"file":"testcase_7.txt","input":[[27,85,76,47,17,6,78,37,49,3,48,31,100,99,49,52,43,74,92,45,62,6,16,14,20,80,44,55,75,61,41,95,100,36,70,21,18,40,91,1,56,46,63,15,41,82,53,2,63,36,1,96,9,45,78,11,100,42,27,82,2,42,53,87,91,52,10],140],"output":true},{"file":"testcase_8.txt","input":[[77,2,80,8,79,55,61,70,51,6,83,1,5,61,7,58,29,24,6,22,67,40,51,36,46,61,48,10,84,60,84,20,22,43,4,39,5,31,31],177],"output":false},{"file":"testcase_9.txt","input":[[100,1,61,40,95,99],104],"output":true}]
|
check-if-matrix-is-x-matrix.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":["[488,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,697]","[0,223,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,571,0]","[0,0,349,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,316,0,0]","[0,0,0,357,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,988,0,0,0]","[0,0,0,0,912,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,866,0,0,0,0]","[0,0,0,0,0,1000,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,762,0,0]","[0,696,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,304,0]","[740,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,919]"],"output":false},{"file":"testcase_2.txt","input":["[975,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69]","[0,904,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,498,0]","[0,0,358,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,288,0,0]","[0,0,0,542,0,0,0,0,0,0,0,0,0,0,0,0,0,226,0,0,0]","[0,0,0,0,303,0,0,0,0,0,0,0,0,0,0,0,441,0,0,0,0]","[0,0,0,0,0,947,0,0,0,0,0,0,0,0,0,54,0,0,0,0,0]","[0,0,0,0,0,0,471,0,0,0,0,0,0,0,572,0,0,0,0,0,0]","[0,0,0,0,0,0,0,485,0,0,0,0,0,625,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,0,424,0,0,0,956,0,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,0,0,221,0,377,0,0,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,0,0,0,73,0,0,0,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,0,0,899,0,729,0,0,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,0,238,0,0,0,417,0,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,904,0,0,0,0,0,554,0,0,0,0,0,0,0]","[0,0,0,0,0,0,697,0,0,0,0,0,0,0,417,0,0,0,0,0,0]","[0,0,0,0,0,107,0,0,0,0,0,0,0,0,0,706,0,0,0,0,0]","[0,0,0,0,516,0,0,0,0,0,0,0,0,0,0,0,311,0,0,0,0]","[0,0,0,259,0,0,0,0,0,0,0,0,0,0,0,0,0,686,0,0,0]","[0,0,232,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,489,0,0]","[0,474,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,713,0]","[736,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,939]"],"output":false},{"file":"testcase_3.txt","input":["[730,0,0,0,0,0,0,0,0,0,0,0,0,421]","[0,879,0,0,0,0,0,0,0,0,0,0,360,0]","[0,0,576,0,0,0,0,0,0,0,0,147,0,0]","[0,0,0,642,0,0,0,0,0,0,206,0,0,0]","[0,0,0,0,165,0,0,0,0,324,0,0,0,0]","[0,0,0,0,0,261,0,0,658,0,0,0,0,0]","[0,0,0,0,0,0,545,416,0,0,0,0,0,0]","[0,0,0,0,0,0,104,488,0,0,0,0,0,0]","[0,0,0,0,0,852,0,0,738,0,0,0,0,0]","[0,0,0,0,354,0,0,0,0,649,0,0,0,0]","[0,0,0,448,0,0,0,0,0,0,574,0,0,0]","[0,0,110,0,0,0,0,0,0,0,0,399,0,0]","[0,220,0,0,0,0,0,0,0,0,0,0,106,0]","[930,0,0,0,0,0,0,0,0,0,0,0,0,696]"],"output":false},{"file":"testcase_4.txt","input":["[208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255]","[0,752,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,570,0]","[0,0,215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138]"],"output":false},{"file":"testcase_5.txt","input":["[672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,963]","[0,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,836,0]","[0,0,427,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,985,0,0]","[0,0,0,624,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,868,0,0,0]","[0,0,0,0,505,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,560,0,0,0,0]","[0,0,0,0,0,886,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,459,0,0,0,0,0]","[0,0,0,0,0,0,779,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,885,0,0,0,0,0,0]","[0,0,0,0,0,0,0,435,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,0,230,0,0,0,0,0,0,0,0,0,0,0,0,0,425,0,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,0,0,915,0,0,0,0,0,0,0,0,0,0,0,403,0,0,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,0,0,0,653,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,0,0,0,0,429,0,0,0,0,0,0,0,648,0,0,0,0,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,0,0,0,0,0,613,0,0,0,0,0,742,0,0,0,0,0,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,0,0,0,0,0,0,590,0,0,0,416,0,0,0,0,0,0,0,0,0,0,0,0,0]","[0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,860,0,0,0,0,0]","[0,0,0,0,936,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,306,0,0,0,0]","[0,0,0,27,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,542,0,0,0]","[0,0,559,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,511,0,0]","[0,101,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,286,0]","[976,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,487]"],"output":false},{"file":"testcase_7.txt","input":["[570,0,0,0,0,0,0,0,0,30]","[0,872,0,0,0,0,0,0,72,0]","[0,0,366,0,0,0,0,640,0,0]","[0,0,0,674,0,0,731,0,0,0]","[0,0,0,0,952,171,0,0,0,0]","[0,0,0,0,790,33,0,0,0,0]","[0,0,0,141,0,0,234,0,0,0]","[0,0,369,0,0,0,0,499,0,0]","[0,641,0,0,0,0,0,0,206,0]","[234,0,0,0,0,0,0,0,0,282]"],"output":false},{"file":"testcase_8.txt","input":["[447,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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,0,0,250,0,0,0,0,0]","[0,0,0,0,62,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,540,0,0,0,0]","[0,0,0,979,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,310,0,0,0]","[0,0,198,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0]","[0,678,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,412,0]","[49,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,334]"],"output":false}]
|
check-if-number-has-equal-digit-count-and-digit-value.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":"011001000","output":false},{"file":"testcase_2.txt","input":"10010","output":false},{"file":"testcase_3.txt","input":"00011","output":false},{"file":"testcase_4.txt","input":"0","output":false},{"file":"testcase_5.txt","input":"10","output":false},{"file":"testcase_6.txt","input":"0","output":false},{"file":"testcase_7.txt","input":"0010010000","output":false},{"file":"testcase_8.txt","input":"10000000","output":false}]
|
check-if-point-is-reachable.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[505,931],"output":true},{"file":"testcase_10.txt","input":[132,747],"output":false},{"file":"testcase_2.txt","input":[294,482],"output":true},{"file":"testcase_3.txt","input":[530,791],"output":true},{"file":"testcase_4.txt","input":[998,175],"output":true},{"file":"testcase_5.txt","input":[403,67],"output":true},{"file":"testcase_6.txt","input":[659,2],"output":true},{"file":"testcase_7.txt","input":[429,203],"output":true},{"file":"testcase_8.txt","input":[413,954],"output":true},{"file":"testcase_9.txt","input":[792,245],"output":true}]
|
check-if-strings-can-be-made-equal-with-operations-i.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":["yuuc","ucyu"],"output":true},{"file":"testcase_10.txt","input":["xylk","lkxy"],"output":true},{"file":"testcase_2.txt","input":["vkhb","hbvk"],"output":true},{"file":"testcase_3.txt","input":["oaeu","euoa"],"output":true},{"file":"testcase_4.txt","input":["pavh","vhpa"],"output":true},{"file":"testcase_5.txt","input":["qowx","wxqo"],"output":true},{"file":"testcase_6.txt","input":["fcjz","jzfc"],"output":true},{"file":"testcase_7.txt","input":["sqrf","rfsq"],"output":true},{"file":"testcase_8.txt","input":["lmqu","qulm"],"output":true},{"file":"testcase_9.txt","input":["wjjv","jvwj"],"output":true}]
|
check-if-strings-can-be-made-equal-with-operations-ii.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":["bcxxwpnvsxmfllkyypyuhdbfujgqaqespndsmfamjuaaiaapcdqkpqylfthyhxftyjwnorrhqbiiqzftfziwliorsrrfpaxusryrmyrbccidpsaiealelqyayceswghboldstxzkbfxyfptsddscwassyepvwsepnnmyqpcasefabsywzffehkpxwelobjvnpulqmneubizodmyxhlymrxylwuzumqrphnlxjequmlsrlxawuniglbyvuqyimfymtrxvhfrcmogirxffaxdbgqakujmusayuonkjghvpvduszkakqhtatewfhirbabopzpdvatqtdujkoouwqqgqehxgcvuzuyaimydlpvtamozuhszyofkgzgckoomkncpakxewwukzdouzzthkbuxuffbmbjqijwqooglfzssgaxsifmrjtcpvngwqyvcktwrlyvclzdyykfjunkqqkttusgrkkreyhqgldixnxlatwgmcmawjyhyvkrwixgcccgjxqiulahuoumvyruxmexvnzawabryjdtqbowobawaiujtosunjhpxutewrcxltpuaejtltwyxlbnfqspezhewvynpuspwhcqemlwauaafhxcmzpmnvzpkormgzomtzvagzpesdtuqxavteslfiavudmxagdystfwepaturwnakaptnbwzeaxzzxtcuyzygxqrektqylsgeeymxlqpictbrqksaubocofkfdjplkhjfdwcczqpcfhedukagiapivjasgreccfhcpsppqnuitrwaebarneskvrofleentuvrkjahuvdclzvwzhlxqfsnkrszdbymgwjudeoueshjdgghhuximkrwfirkbwwka","aroafmpnnenybnurkrnwkmiarrahhwtoziwpmdgapupnpytnbrwpnujxwfuxfcalyqnuozoqbvlnfwejznoevneqcsquxpmjmcllydizaidahvmmgqbyzqaaqqxejfqgnnjmghryzaryqxyyyrvikhppwshhmxaztnmzmophfdlmlidlxnjehodksshcomejqyfvcqjuasrujxjeejuxtknrvmsgtkvfjeqbaphvpsjstizcyhnprebsoxrtseryonivzpvxyxnidvwcsuzycihguiifhdvlzbzaznvwrkagxzugajknqwgmqyazirjymkzljvwinmwbtcdwcmnlprtgujxegplhvibpbkhlyespvpalbwcqxepdisgangybjqkdwtnpstsiwldtqljrtvtulxgwnngfjbsostjzpjlxecelvaylndpujvrertsxouakunlalzknovqydjcrogzdsbfjdtstiarjoesroyhmqfpjllotxxwrivceqgkutnlgmxvqeocmcwxhcnaujcmcgmaatmwdqslinzaihxqurxkhuexeepkbqzfqvlaxnbgndjkswspuqflpgogoifzhsfnvsckkhiujxqihvlyzdxbleuvfjwwvodlpooelgskfvjptjcflgiyaxnpciwmawqsqecansqradcobalxusxjxnjchiagitfcwbxbeammexukvgukekrlyhfqnfindgnuzsoriudyrtypuqmgxmivjlisajnhkcwrpgxqhtjkugjeoqknhruyaozxsnrjysvhcpryuqcicmvsrzqxvsxrjlkkccmsrwqaxupuffhfxssbvomlcocrwrgzrbigqcprjykktsvnql"],"output":false},{"file":"testcase_10.txt","input":["ltqqmornhtbrgobzjaptumfyrguedvaltofqrvejptnujxnpenbduowtancrzwouxojavalrgeubgehsdvboxgcqnfvshrxcoopgxrlqsplusamdgqtyazqmyunbezjoudyvpgmmjifrxbjvkbobaahimcrapnbppqcbikhaxktofguhmkxaibvvuvhoaofrsrusyfdotulurgbukkbgwmkjvzzzfqjqxfsmvbqpcqmbfshprthaqjkenrcqsjsmbjvzbnhzjqujyujydvuztmfmtnnmhokerswpimvsrpgojbzjigmebylyrrbjhnpiryxtxmulylfbaiucstrsgiqjhgjrrqpuktiwraqrbqfklhinmhtxiwfyzrajslmkgojylllciruhgzmdzmlkkgxtsnrxgswgbxecnvukikjqkfea","kkblimsnifvsncyitvnhhxiqsnkufbyegsxawyziwjjqfcahpmzpnkyznuerctuaxrdzrckpwruiudhcjgmpcuoiyukgsjwqrabdgzmywfronfkslhnailhfuorbedorauyrvpukyaraxenyjntqvuftiriiyzkekmqfniwmnahjrpwadtncegvbuvuzufnxuwlsfbforcbknbqucmhywbbamdyvlrgucqljpbezweecewyisiryulmajviyodkcmtqbggrawunyuvikwvjnbssjdkrllrvbzgvnfvwtiywyhjhzpmqsfvzflxtmjarcqfxzlyhfovirurbvewtqzuueyysofovhoclutckcwwepoqitgcuncffbyfclrfsolvoysqqixdgwrrqiyjkhfuqlxnhbrcnrijmcivdfwwerbdod"],"output":false},{"file":"testcase_2.txt","input":["lqtgbzdtbildqyzqsrxdfwswcaredgkaaqvdtiecskttqgtcchdvpswvwmkvnawvsrqlmkylwxttuprtykpilguvplrwonzcpippsbmxifhjctbgyhshpyzjhwijghidlfvfuvxinifudhyylraalxfxmleadbfigfxzddiwlfzobzwuxzyqawmkdlglgouwnzssuemibihjjhgpzwznikofyqoiabeucjdzlajpjliljklweuprtk","ikbzfvfivgajqspmjijrsiuuihtlhbafejzcdfhelwrrxscvappzpkiauqrhnwblqcedvfabmpjwzchxpwykxmcewbzcfrpzwkzclmkhhdeifanzitgtyrmqtwbzjqzutbozbdxjdattviieughdrrkgdgtnwqtwqhbelxvlrdmleddaioqwopbslxnvybieewjfxmwmkxzsxstvwysvoqgddhlkqbeilntlqandibzrcitrfjoqhl"],"output":false},{"file":"testcase_3.txt","input":["bxwpkvlbmssxvmhjijmmmshbmxmfbaawqacizkyrscawflpvdaxantzlvawhmzrsxdihpswufaobfdoltmoxnocfutexcfibolvyrmhaxogtusfbopliqmzvlubjnfoatscbxvbdetefaqaldxftkwznpzdccrihqnkqheovtjyhbkjddedxwjsqbobjyiasphnoleioztsqmeqyttybeztgzdgclqtflggvjqshkpkikrgvuuoawfjfpaaxwaaly","xwqkvdyowovyqtzxbvujoieemwegujfxukmuenpvjaedqhqavxswhgfjeposizofgrthgmlunmbeybspkensbaxurxhnnnbcduwvfxegqtzbmifucakyikepfjrdzgawkedzoljkfuevumsoltxojgxtkelsbjawlihpvravurybyhlhhbbnaqmqyiuzmkllpadtqtmpivtdpaicssomnbkfjrjswtejckrgguorwshreixjzfihvhxqwdmiexfmo"],"output":false},{"file":"testcase_4.txt","input":["wfxhuaffspamregnduyxrenwsorlkejnwadmbmztaniopcadhydmnpqvhxzyoxdaqcfkikbjpzcdzolifewihwkbgaqavkxaqryfxmchxthxowgifgajbqxhwnekyebmvafshykkffikcbaxfmoquvxwrizlsxdddhxyffybsojhqokbpslydvintkdggoyybetxxgipsnwshurmwbchsdvqvlbfrndmzdwionajqzeaaaytsxoatleebjgqxvlheflnxarhfhslzwajghmqwvrkljjhrfzkqbodnzqkbefngzsiwprlornzmitaywibrvobbdfazqokrojgpngwyubdlpyjayhklozlrlddavsyoakyqlldbpfnozuthbaboeplejwmynegarfzdsgiglhzqflgveooesddmtekjlsjmhlltbmnbsefupspvasimjvlkjecinbbnycpqbdyaraychotglkurssrhfiijoiqhdyqhwejeemswdmrimwvxyslkrcmppjnevuthdzbjtczxfscbexpjjmjjewcyownetxitboktxkqzmpgaonnxcvlxtvyrbnrbhegzlbnyojueertjhfgjgrbycraccamnpsmvzqloifhswmrahgsmdktoqrozcjjziyzpptuwnievphnqllxmjkywumyveqgaaudhskmaxxiymcvnvsgmkievwxhhhnfxreqaflnkjfihgskdqcofnyszrgxteimlttnnlkmovygyagmotzwfyyyvyqnuduetooghcyoauesazcmbbzzrpwxiscpsosairmtwycdcmldrrhmuzgdigniztqgnufymesfjixnmnntnmqxkueekktwagkndubnfsdwoslahzefbpsygfqecrbraswzjrgdayqmfpdjkluxq","zcxsosgsnvqxwsdlrrokakobydiztmgwcaysfgqepdrdlyznghkwycgibfgscuqwfsbzxwyisrmmptniihbmzwkuwszxfpuxexrnpddhlopyszvjqsqcdeciaqosuplcngrafvxtgwntvjbvbsbahzfgarsqsbrqgiipbqwxtukyqitwfhecpjelhnjgtdosqhjjhiqknuptpnrryixzbzxskyckgxhllhfpkbvmvwzybtinchmxxlwfmvvyqgvgcpyzkkggorjadrmzietlvtdfcavwaxjlimkuhnchubdcogjqnseltbnrjbwrtcjfnnclfvibekncwaozkiuusoqfustruivimtjsptibbsqagtljcsadlzwiwuckxeioaelubbvhbhgtyivrnnhltwcreiyxpcqrwcimrliacrflemmtocoawslhrcvtvtnicnszqekgqauplbhkncgpiioljmikhoqrlocpwrvueipsyfpgifrpjamxlylgfjfvpglpwcolraamquzzeepsobhymfgxrzmvffweqipmpylxqwsmpqxfaxumrkujtvkttmsrcmujhjbloybzkrqlbhojjpholhepvswbhjicybcatlfowlxrirmobclmtxpkmbuoyxnbeozpjyqtquttxmyhzbvanqzsrppshqxyizryqqwaziiodpbjzyfygrllqtesemppmaslnefrjysxamfvvrbedrndpkdhhonkyqgyhlaoefzlroheshqnlvkahdulnmlwrtxqhyozatsuwgdjlbbynlrqzbqoppldzyzeccrrfdmnugcpbxsmtagqqpbpudtcnftwkidnruyqleajbyfepuixbzhciuurnoksyneefwyylzzslqfstwufkqreqxdggduhjbhgcydrncxyd"],"output":false},{"file":"testcase_5.txt","input":["ncjoqwrxttjdufginaubufkeqhmoywlopvaegokkevbgoysprnxidumwnltkqzfelauhiksuhqbvigsfuzakcjvfqyeahowdapupwlzjlrmtjfmwuqsylfxlsmdfhjrrfgrnoiatslgjkqitfeefwtisdafwgzgxrvvntpsxuteppodwrupdwajqlniegyidsgztppeyewqbjadmsuhcbockqdtubggvafvlzswrgcfaammljrwgprykydolhicblpjnybabfdpdfgnwewickwcmtvwopazaqzrtqpvqorsvdasxenrnycplwueljrehckowwvhefzlupyzaohdcpilwhychqyrveeojcndgmrqfolmpwylkpwqtflklpsbaacreurcbdhdqwetijeifeblncmgcucdmkhzfzubogwtlqarhtzhvdidrbqrfqkdwmcvzzaergjzaixhtinmkgexbxuvmblqjqefzkcpczgxuyhtjjhjxrcledrppdfhrzexzgxmcfdessmprvrkzxqhptamleeieikfmwi","mtgytqchftszbamekahiiimenmrrycwelsvesbfvbcnzkbgjdpsgqzfkupmaweutltheljuidhydrglkpmwgqtnjpwwvgmsycogtmfzqxpytiwmsnllqllvhvsfzfayjzikwuuqrojzkluclhgsgxqnlzmfdyoazrwgxoqzmmzojmzxtsopuwzdeiudndvpeldcsfzswypnrqupntrabnzfrmwazwoumupzyshnlarsboidtpkzzvpbclmgbyfzekrbgfealleaffywpliiazuuxoxlqwvpjwndqfjrfydogpebyfnmsztlfgylskddhvjljwuqqzxduseygegbjgbiewmbduohzpebjviwnzljoeciugmrwsgcntramqsgkemvuxakdtjxfpuribyuddrutdjqtgrhmmozezjcrmykjzlsbjveaxlslhidfozkohqwoakpyiplwwqmkkrqdhnmqbzllisyvdbjfvlsacxjocnyylxwrykrclkdkjgpopuwzgedejwhmnmzxbmlrvilwbfamcgcppiaied"],"output":false},{"file":"testcase_6.txt","input":["tecebzrbuhmbprtvunjchygockqrmyotarwofpboizmljroxcnfqnwicuvuqupddrzkdkgrxkfrlkoknhszxyzrtpqrkcxltyfnndxemooroifghrbfhcpcbnzdbmawigfzffxxhdjswkzhoojgnqecomofflvpuazlofgbhvgqcekcmbioedgvcjnkmnjqvubivwlbzihijaozkombprvsxollkiymhxnozwycxwqykqshevcysaojnpjsyxrydgvxpnyxbzoisxfnodkwciodalsbtpvtrqcoxhczjtdgtzwimznkgdjwzadmxfgktphupyjadvwlnqkozkdswqourincrezpwkxtjrnybiwzgycqjwvttvwkzyhpgpdqxcjpo","prfsgignszlmciryatxnrqlbnbjmadxogesuftbewnrfbrplionblhsmohmdylzadayemrdrsojkullyesjoucctjvkzlytccrzfvbipcccpyvdpvaqujqtxoajbwnmeieqqplzvfccszdgsvrwetrudbeomrtfdbgatfepniqmqncmtjmywqmdwyefuunekttclyagifnhjpiladzofrfqvvuaqotzewzsgimnvzxpvqwgwembwgqfviwsvqjkwuetiudzizqyaaxjmfodurskecmvrgyyknxvzxonitfubxvddqqdttihajowuuscjiuyrputhmhykdjwblehfpbpbksvoqmqrbdvojssuiwuopaukvsupzuwlensxjggtcwea"],"output":false},{"file":"testcase_7.txt","input":["fwaaafbtrdbaotcnmttwttcleznlndnehfczhqqyukvwneewkkfwqhzmrhrazayggqegqirnpeysgkvjueejozzbgttaurnbloaznhvdwzqczgfzlhvluxpqkmlbzqgtkesqkwujbhpgszysjkeuppdlyfwecjxmtkcqalfdsfnddmvpbnkjxisryajjiggepnxtafnkqzllqbdpyncibkjpjmnfnhyuuvprqcxzqiewhfotkfpancmppfzyviusvvbuyvcphjrglskphnjoqzrrqfkzdxjffmcgetrfyxxucpryzwdwyangtqiqnjlnbdczogeukqeatvwkswygnolwhkotzzimtngzqvgwuabclhmzaadiacedexxgybhwwjhboubctunwjwioanwckearobrfkymvewyqwpilprmpxbfhowkekoo","dvhooyjnfgvanvvodpdfgoobegjmesiphffywrzpofrzkkqnqyqdpalhizximojrybizkwycyrklbiuuxzltmzvpwpjhjvhofldisqkyrmwbefaxgterbqofypgemwmrrjqtjjoertguovftnvyihvbqrrhfenubreyqowtqtfahshvygzzkajguteazmzxgbubqizbkumifsjhgnreirturqcnssemjhnqohblagruehdorzdmabmdcsfdddoxrjxdwduwwddzwurqkngbahlpwekqmzsfdfhugnjjhiircotpjfogjbjuvvadlzabqhilacnuoimcbtuzlwdwzqwdjukdcplwcpbcwplrcnxlwzfeefpmayigvogfwygsycfopkopncspcumlajqpzygsnepykcxkxhuvkomarqncwotoasfqdbzi"],"output":false},{"file":"testcase_8.txt","input":["eqmwyfbfhhqknjpzkrttuekpxfwgduhupavmvmrgohgqrvkvgvbetukcqnynmqgjeqteephzboxyryjtxtbmizidympnrxoudkyqcaogceqwvmfhpbhtdlxahvmzmnfdzzkaznkkmvedbedbkoynmueiaarcxmoxoobjbffwhpnwsbbarbvxedvbqiasjoweajwtddtnoehkufahoflerucgzslinxqaekaujqtbeohkqiskucwmxvrddsbwteibzlwtqmlozbryvojphovvvlcqgrpmvnpqyvpudbnqwvvfdimihauokxxqxjencogqlmavaedoffwocjgmzfwpqnuaterzvvqtcticskwtmwklzvovgwyapkolnfiqdgereodxdzkdjeeajlmxlwdenfgypiwbhuhnlgrspublzgpeiocoxfbsawlvxveqaclzrwkeedxqnydpedzxdfjdnkulmlvanvugjmodmffdchllwsrmemthtqktozaeiczdgdmarxijbbbnidwyqmcywunxfmaounkjleurymzmihfkwoetudbwspjithozqpnvfvurhaesuxvppscyxqncyzqayxttytxntacjqmphyccflcxhzhcpdpfbybgbnixuxeyplyyyyoefxfqquswpghsugf","lymjjwaphhcmcbfpbuhfrqynezxvytfglazwzzrjjjduevwxxzorjrzdqhuwgidiioqfvjccokovllvndsxcawyghjbmoyhbeviwvqraqvgokxposmhcpmxvmxdvyfjhvyqoboifhavwtcpmcyiagxjjxozefpcymcgpikucjtwmzaxfenbxnuuwejquhidwxbnmugdqvzzdwdmwdzwkjyyakbqeslzqenfrhqhsyrhikcawlzgivukpubfqauolgoqjfkgwmjekanrhlbtwtrmecdoexqpqsilagwktdizmbgelrlfufujecixbntwiwjcaecqcricvrmwqcqekvcazybkvlawqdsuetvtkzsyzmsbteqrwfqirrzhuzgwqpckgxqktxyivpeeerkwtnjkxwwubjmcedhuhcxctnwydtkilcqwdbiqqsqnakpdqgtggronwfvewuipasohevzmxccnlwrzjytreofemnlwmkemjmrptznhkrwrgxvnkzszkwdhaszrwnztkcsevxxypufhdshcrrvamcenapjshtfclygbjfdmqsceiropawmmhzrqejgfrnegyihzvgnrhovprevljvxryuqmjwftswhsegzhewffobzsspngwjwnktzokgtvnnklgarhxswmxci"],"output":false},{"file":"testcase_9.txt","input":["qawkqublcnutwareneakqypavguiezpmwdditnmnnbzlqesbvhglhyxxudwsyrtjxtqlrwfrvetugcedonpgjvejnvhenjtmuipuytmonffpkddpfzpinbdziaqspbcvxdykbewliicjetxmxbmewmlhsbltazvpdevdcinyteujfrokbgzvkdmqobczrqruubhqnmaaarbpyzucryqivfbxkywhlzegzthinosocbfkdrohiizvfddkowipanjlwhxc","pqawusvdzujooxlbzfjtgmjusvcfunczxkjopkdetwbwfybcjdmnctwnuobidfomdvkcdlctfqodxvojtacojqptytivdkkwtkhsooumvenejlorgcsvxtjxdlwajrajmqoykbahhxykpoeypyozlipbhkkmispkhadhkblzvbvlromonrrridsmxuybuqyukrxqktknvvsfzlvssfrsfozqiitqldbguzfdrrmfdlffhptndosijfaaapyrqiojiqoc"],"output":false}]
|
check-if-there-is-a-valid-parentheses-string-path.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":["[],[,[,],],[,],[,],[,],[,[,],[,],[,],[]","[],[,],],[,],[,[,[,],],],[,[,],],],],[]","[[,[,[,],],],],],[,[,],],],[,],[,],[,[]","[],],[,],[,],],[,[,],],[,[,[,[,[,],],[]","[[,],[,[,],[,[,[,[,[,],],[,[,[,],[,],]]","[[,[,],[,[,[,[,[,[,[,[,[,[,],[,],],[,]]","[],[,],[,],[,[,],],[,[,[,],[,],[,],],]]","[[,[,[,],],],],[,],[,],[,],],[,[,],],[]","[[,],[,[,[,],[,[,[,[,],[,],[,[,[,],],[]","[],],[,[,],],],[,[,[,[,[,],],[,],],],]]","[[,],[,],[,[,[,],[,[,],[,[,],],],],],]]","[],],[,[,[,[,[,[,[,],],],],[,],],[,[,[]","[],],[,[,],],[,[,[,],[,],[,],[,[,[,[,]]","[[,],[,[,],],[,],[,[,[,],],],],[,[,],[]","[[,[,],[,],],],[,],[,],[,],[,[,],],[,[]","[[,[,],[,[,],],[,[,[,[,[,[,[,],[,[,[,]]","[],],],],[,[,],],],[,],],[,],],],],[,[]","[[,[,],[,[,[,[,],[,[,[,],],],],],],],]]","[],],[,],[,[,],[,],[,],],[,],[,],[,[,[]","[],],],],],],],[,[,],[,],[,[,[,],],[,[]","[[,],],],],[,[,[,[,[,],],[,[,],[,[,],]]","[[,],[,],],],],[,],[,],],[,],],],[,[,[]","[],],[,],],[,],[,[,[,],[,],],[,],],],[]","[],[,],],],[,[,],],],[,[,[,],[,[,],],]]","[[,[,],],[,],],[,],[,[,],],[,[,[,[,],[]","[],],],],[,],],],],[,],],[,],],],],[,]]","[],],],],],[,[,[,[,[,[,[,],],[,[,[,[,]]","[],[,[,[,[,[,[,],],],[,[,[,],[,[,[,],[]","[[,],],],],],],[,],],],[,],[,[,],],],]]","[],],[,],[,],],[,],],[,],[,],[,[,[,[,[]","[[,],],[,[,],[,[,],],],],[,],[,[,[,],]]","[],],[,[,[,],[,],[,],],[,],],[,[,[,[,[]","[[,[,],[,],[,],],],[,[,[,],[,[,],[,],[]","[[,[,[,[,],[,],],],],],],[,],[,[,[,],[]","[],[,[,[,],[,[,[,[,],],[,[,[,[,],[,],[]","[],[,],],[,[,[,[,],[,],],],],[,],[,],]]","[],[,[,],[,[,[,[,],[,[,],],[,[,],[,[,[]","[],],],[,[,[,],[,[,],],[,[,],],[,],[,[]","[],[,[,[,],],[,],],],],],[,[,],[,],],[]","[],[,[,[,],[,],[,],],[,],[,],],[,],],[]","[],],[,[,],],],],[,],],[,[,[,[,],[,],]]","[],[,[,],[,[,[,[,],[,[,[,[,[,],[,[,[,]]","[[,],[,],],],],[,[,[,[,],],],],],[,],[]","[[,],[,[,],[,[,],],],],[,[,],],[,],[,]]","[],[,[,],[,],],],[,[,],],[,[,[,],[,],]]","[],[,],[,],],[,[,[,[,],[,[,[,],[,[,[,]]","[[,],],],],[,[,],],[,],],[,[,],],],],[]","[[,[,[,[,],[,[,[,],[,[,],],],],],[,],[]","[],[,],[,[,[,[,],[,],[,],[,[,],],],[,[]","[],[,],[,],[,[,[,[,[,[,[,],],[,[,],[,]]","[],[,[,],],],[,],[,[,[,],],[,[,],[,],]]","[],],[,],],],],],],[,],[,],],],],],[,]]","[],],],[,],[,],],],],[,[,],],[,],],[,]]","[],[,],[,],[,[,],],[,],[,],],],[,],],]]","[[,[,[,],[,[,[,],],[,],[,[,[,],],],],[]","[[,],[,],[,],[,],],[,[,[,[,[,[,[,[,[,]]","[[,],],],],],[,],],[,[,],[,[,],[,[,],[]","[[,],],],],[,],[,[,],[,],[,[,],[,[,[,]]","[],],[,[,[,[,[,[,[,],[,],[,[,],[,],],]]","[[,],],],[,],],],[,],[,[,[,],],[,],[,]]","[[,],[,[,],[,[,],],],[,],[,],[,],[,],]]","[],],],],[,[,[,],],[,[,[,[,[,],],],],]]","[[,],],],],[,[,[,],[,[,[,[,],[,],],[,]]","[[,[,],[,[,],],],[,],],[,],[,[,[,],[,]]","[],[,],],[,],[,],[,[,[,],],[,],[,[,],[]","[],],[,[,[,[,[,],[,[,[,[,[,[,[,],],[,]]","[[,],[,[,[,],[,],],],],[,],[,],],],],]]","[],[,],],[,[,],[,[,],],[,[,[,[,[,],],[]","[],],[,],],],[,],[,],[,[,[,[,],[,[,],]]","[[,],[,],[,],[,[,[,[,[,[,],[,[,],],],[]","[],[,[,],],[,[,],],[,[,],[,[,[,],[,[,[]","[],[,[,[,[,[,],],],],[,],[,],[,],[,],[]","[[,],[,],[,],],[,[,[,],[,[,[,],[,[,],[]","[],],],[,],],[,],[,[,[,[,],],[,[,[,],]]","[[,],],[,[,[,[,],],],],[,],[,[,],],],]]"],"output":false},{"file":"testcase_2.txt","input":["[],],],[,],],],[,[,[,[,],],[,],[,],],],[,[,],[,[,],],],[,],[,],[,[,[,],],[,[,[,],],[,],],],],],[,[,[,[,[,[,[,[,[,],],],],[,[,],[,[,],[,],[,[,[,[,],],],],],],[,[,[,[,[,[,],],[,[,[,[,],[,[,[,[,],]]","[],[,[,[,[,],[,[,],[,[,],],[,],[,],[,],[,[,[,[,[,[,],],[,],],],[,],],],],],],],[,[,],],[,],],[,[,[,],[,],],],[,],],],],],],],],[,],],],[,],[,],[,],[,[,[,[,],[,],[,],],],[,],[,],],[,[,[,[,[,],],]]","[],[,],],[,],[,[,[,[,],[,],],],[,[,],[,],[,],],],[,[,[,],],],],],],],[,],],],],],],[,[,],],[,[,[,],],],],[,],[,[,[,[,[,[,[,[,],[,],],[,],[,[,],[,],[,[,],[,[,[,],],[,],[,[,],],],[,],[,[,],],],],]]","[[,],[,],],[,],[,[,[,[,],],[,[,],[,[,],],],[,],],[,],[,[,[,[,],],],[,[,],[,],],[,[,[,],],],[,],],[,],[,],],],],[,],[,[,[,],[,],],],[,[,],],],[,[,],],],],],],[,[,[,[,],[,[,[,],],[,],[,],[,],[,[,]]","[],],[,],],[,],[,[,[,],[,[,],[,],],[,],[,[,],],[,[,[,[,],[,[,[,],],],[,],[,],[,[,],],[,[,[,],],[,[,],[,],[,],],[,],[,],[,],],[,],],],[,[,],[,[,[,[,],[,[,],[,],[,[,[,],],],],[,],[,[,[,[,],[,[,],[]","[],],],],],[,],[,],[,[,[,[,],[,],[,[,],],],],],[,],],],],[,],[,[,[,],[,],[,[,],[,[,],],[,[,],[,],[,[,],],[,[,],[,[,],],],[,[,],],[,],],[,[,],[,],[,[,[,[,],[,[,],[,],[,[,],],],[,],],],[,],],],[,[]","[],[,[,[,[,],],],],[,[,],],],],[,],],[,[,],[,],],],[,],],],[,[,[,[,],[,[,[,[,],[,],[,[,[,[,],],[,[,],[,],],[,[,],[,[,[,[,],[,],],[,[,[,],[,],[,],],[,[,],[,],],],[,[,[,],],[,[,],[,],],[,[,[,],[,[]","[],],],[,],],],],],[,[,[,],[,[,],],[,],[,[,[,],[,],[,[,],[,[,],],[,],[,[,],],],[,],],[,],[,[,],],[,[,],],],[,[,],[,],],[,],[,[,[,],[,[,],[,],[,[,],],],[,],[,[,],[,[,[,[,[,[,],[,[,],[,[,],],[,],]]","[],],[,[,],[,],],],],],[,[,[,],],],[,],],],[,],[,],[,],],[,[,[,],],[,[,],[,],[,[,],],[,],[,[,],],[,[,],],[,],[,],],[,[,[,[,],[,],[,[,[,],[,],[,[,[,],],],],[,],[,[,[,[,],[,],],],],[,],],[,],[,[,[]","[[,[,[,],[,],[,],],[,[,[,],],[,],[,[,[,[,],],],[,],],],],],[,],],],[,],],],],],],[,],[,],],[,],],[,],],[,],],[,[,[,],[,[,[,[,[,[,[,[,[,[,],[,[,],[,[,[,],[,[,],],[,],],[,[,[,[,],],],],],],],[,],]]","[],[,[,[,[,],],],[,[,[,],[,],],],[,[,],],[,],],[,],],[,[,],],[,],[,],],],],[,[,[,],[,[,],[,[,[,],],],],[,],],[,],[,[,],[,[,],],],],[,],],[,],[,],[,],],],],[,],],],[,[,],[,[,[,],[,[,[,[,],],[,],]]","[[,[,],],],[,[,],],[,[,[,[,],],],[,],],],[,[,],],],[,],],[,],],[,[,[,[,[,],],],[,],],[,[,],],],],[,[,[,],],],],[,],],],],[,],[,[,[,[,],],[,],],[,],[,[,],[,],],],[,[,[,],],[,[,[,[,],[,[,[,[,],[,[]","[[,[,],],],[,[,],[,],[,],],[,[,[,],],],[,],[,[,[,[,],[,[,[,],[,[,[,],[,[,[,[,],[,[,[,[,[,[,[,],],[,],[,],[,[,],[,],],],[,],[,[,[,[,[,],[,],],],],],[,],[,],[,],[,],[,],[,],[,[,[,[,[,[,[,],[,],],]]","[],[,[,],[,],],[,[,],],[,],],],[,[,],],],],[,[,[,[,[,],[,],],],[,],],],[,[,[,],[,[,],],],],[,],[,[,],],],],[,],],[,[,[,[,[,],[,],],[,],[,],],[,[,],],[,[,[,[,[,],[,[,[,[,],[,],],[,],[,],],[,],[,]]","[[,],],],[,],[,[,[,],],],[,[,[,],[,[,[,],[,[,],[,],[,[,],[,],[,],[,[,[,[,],],],[,],],[,[,[,],],],[,[,[,],[,[,],],[,],],[,],[,],],[,],[,[,[,],],],[,],[,],[,],],[,[,[,[,],[,[,[,[,[,[,],[,],],],],[]","[[,[,[,],[,[,],[,],],],],],[,[,],],[,[,[,[,],],],[,[,],[,[,],],],],[,],],[,],[,],],],],[,],[,],[,],],],[,[,],[,[,],],],],[,],],],],],[,[,[,],[,[,],],],],[,[,[,],[,],],[,],],[,[,],[,[,],],[,[,],[]","[],[,[,[,],[,[,],[,[,[,[,],],],],[,[,],[,],[,[,],],[,[,],],],],[,[,],[,],[,[,],],],],],[,[,],],],[,],],],],],],],],],],],],],[,],],],],],],],],],[,[,],[,],[,[,[,],],],[,],],[,[,[,[,],[,[,],],],]]","[],[,[,[,[,[,],[,],[,],],[,],[,[,],[,[,[,[,[,],],[,[,],[,[,],],[,[,],[,],[,[,[,[,],[,[,[,],],],],],[,],[,],],],[,],],[,[,],],],],],[,],[,[,],],],[,],],],[,],],[,],[,[,[,[,],],],],],],[,],[,],],[]","[[,],[,],],[,[,[,[,[,],],[,[,],],[,],],[,],[,],[,],],[,],[,],],],],],],],],],[,],],[,[,[,],],[,[,[,],[,],],],],[,[,[,[,[,],],[,[,[,[,[,],[,],[,[,[,[,[,[,],],[,[,[,],],[,[,],[,],[,],[,],],[,],],]]","[],[,],],],[,],],],[,[,[,[,[,[,[,],],[,],[,[,[,[,],],],[,],[,],[,],],[,],[,],[,],],[,[,[,],[,],],],[,[,[,],[,],[,[,[,],[,],],[,[,],[,[,[,[,[,[,[,[,],],[,],[,],],[,],],],],],[,],],[,],],],[,],[,[]","[[,],[,],],[,],],[,],],],[,],],],],],],],],],],[,[,[,],],[,],],[,],[,[,],],],[,],],[,[,[,[,[,],],[,[,],[,[,[,],[,],],],[,],[,[,[,[,],],[,],],],],],[,],[,[,[,[,],],[,],[,],[,],],[,[,],],[,],[,],]]","[],[,[,],[,[,[,],],],],[,],],[,[,],],[,],[,],],[,],],[,],],[,],],],[,],[,[,[,[,],[,[,],],],[,],],],],[,],],[,[,],],[,[,[,],],],],],[,],[,],],[,[,[,],[,],[,],[,],],[,[,],[,],],],],],[,],[,],],],[]","[[,],[,],],[,[,[,],],[,[,],],],[,],],],],],[,],[,[,[,],],[,[,[,[,[,],],[,],],],],[,],[,],[,[,],],[,],],],[,],[,],],[,],],[,],],[,],],],],],],[,[,[,[,],[,],[,[,[,],[,[,[,],],],],[,],],[,[,],],],]]","[[,[,[,],[,],],[,],],],],],],[,],[,],[,],],[,[,[,[,],],],],[,],[,],],],[,],],],],],],[,],],[,[,],[,[,[,],[,],],],[,],],],[,],[,[,[,[,],],],[,[,],],[,],],],[,],],],[,],],],[,[,],],[,[,],[,[,],[,]]","[],],[,[,],],[,[,],],[,],[,[,],],[,],[,],],],],[,[,[,[,[,],[,],],],[,[,[,[,],[,],],],[,],],[,],],],[,[,],],],],],],],],],],[,],[,],],],[,[,],[,],[,],],[,],[,[,],[,],],],[,[,[,[,[,],],[,],[,],],[]","[],],],],],],],[,[,[,],],[,[,],],],],[,[,],],[,[,],[,[,[,[,],],[,[,[,[,],],],],],[,],],[,],],],],[,[,[,[,],[,[,],[,[,[,[,],[,],],[,],],[,[,],[,],],[,[,],],[,[,],],[,[,],],[,[,[,[,[,],[,[,],[,],]]","[],[,[,[,[,[,],[,[,],],],],],[,[,[,[,[,[,],[,],[,[,],[,],[,[,[,[,],[,],[,[,],],[,],[,],[,],],],[,],[,[,[,],],],],],],[,],],[,[,[,[,[,[,],[,[,],],],[,[,[,[,],[,[,],],],[,[,],[,],[,[,[,],],[,],],]]","[],[,],],[,[,],],[,[,],[,[,[,[,],],[,],[,[,],],[,[,],[,[,[,[,[,],[,],[,[,[,[,],],[,],[,[,[,],[,[,[,[,[,],],[,[,[,],],[,[,[,],[,],],[,],],],],[,[,],],[,[,[,[,[,[,],[,],],],[,],[,[,[,],],],[,[,[,]]","[[,[,[,],],],],],[,[,[,],[,[,],[,[,[,],[,],],],[,[,[,],],],],[,[,[,],[,[,[,],[,],],[,],],],],[,],],[,[,],[,[,[,],[,],[,[,],[,],],],],],[,[,],],],[,[,[,],],[,],[,[,[,[,[,[,],],],],[,],],],],[,],]]","[[,[,[,[,],],],],],[,],],],[,[,],],],[,],],[,],[,[,],[,[,],[,[,[,],],[,[,[,],],[,],[,],],],],],[,],],[,],],[,],],],[,],],],],[,[,],[,],],[,[,[,],[,[,[,],],],[,],],],[,],],],[,],[,],],],],],],[,]]","[],[,],],],],[,[,[,[,[,[,],[,],],],],],],[,[,[,],[,[,[,],[,],],[,[,],],[,[,[,],],[,[,[,],[,[,],[,],[,],],[,],],[,],[,],],],[,],],],],[,[,[,],],[,[,],],[,],[,],[,[,[,],[,[,[,[,[,],[,[,[,[,[,[,[,]]","[[,],[,],[,[,[,],],],],[,],[,[,],[,],],[,[,],],[,[,[,[,[,],],],[,],],[,[,[,[,],],],],],[,[,],],[,],[,],],[,],[,],[,[,],[,],],],],],[,[,[,[,[,[,],],],[,[,[,],],],[,[,[,[,[,[,[,[,],[,],[,],[,],[,]]","[],],],],],],[,[,[,[,[,[,[,],[,[,[,[,],[,[,[,[,[,],],],],[,],],[,[,],],],],[,[,[,],],[,],[,[,],[,],],],],],[,[,],],[,],],[,[,],[,],],[,[,],[,],],],],],],],[,[,],],[,],],],],],],[,],],[,],[,],],[]","[],[,[,[,],[,],[,],],],[,[,[,],],[,],[,],[,[,],[,[,[,],[,[,[,[,[,[,[,[,[,],],],[,[,],],[,[,],],],[,[,],[,],[,],[,],],],],[,[,],],[,[,],[,[,],[,[,[,],],[,],[,],[,],[,[,[,],[,[,[,[,],],],[,[,[,],]]","[],[,],[,],],],],[,],],[,],[,],[,],[,],[,[,[,],],[,[,],],],],],],],[,],],],],[,],],[,[,],],[,[,[,[,],[,[,],],],[,],[,[,],[,],[,[,[,[,],],],[,],],[,[,],[,],[,[,],[,[,],],[,],],[,[,[,[,],[,],],[,]]","[[,[,],[,[,],],[,[,[,[,[,[,[,[,],],],],],[,[,[,[,],[,],],[,],[,[,],[,[,[,[,],],],[,],],],[,],],[,],],],],],[,],[,[,[,[,[,[,[,],],],],[,],[,[,[,[,[,[,[,[,[,],],],],],],[,],[,],[,],],[,],],[,],[,]]","[],[,[,],],],[,],[,],[,],],[,],],],],[,],[,],[,[,[,],],[,[,],[,[,],],],],[,],[,[,],],[,],],[,[,],[,[,[,],[,],[,[,],],],],],[,[,[,],],[,[,],[,[,[,[,],[,],[,[,],[,[,[,[,],],[,],],[,],[,[,],[,],],[]","[[,[,[,[,[,[,[,[,],[,[,],[,[,[,[,[,[,],],],[,],],],],],[,[,],[,],[,[,[,[,],[,[,[,[,[,[,],],],[,],[,],[,[,],[,],[,],[,],[,[,],[,[,],],[,[,[,[,],[,[,[,[,[,[,[,],],[,[,[,],[,[,[,],],],[,[,],[,],[,]]","[],],[,[,],[,[,[,[,[,[,[,[,],],],[,],],[,[,],[,],[,[,],[,[,],],],[,],],],],[,[,],[,],],[,[,],],[,[,],[,[,],[,],],],],],[,[,[,],[,],[,[,[,],[,[,[,],[,],[,],],],[,],[,[,],],],[,[,],],],],],],[,],]]","[],[,[,],[,],[,],[,],],],],[,[,],[,],[,],[,[,],[,],[,],[,[,[,],[,[,[,[,],[,[,[,[,[,],[,],[,],[,[,],[,],[,],[,],],],],],[,],],],],[,[,],],[,[,],],[,[,],[,[,],],[,],],],],],[,[,],],],],[,[,[,[,],]]","[],],],[,[,[,],],[,],[,],],],[,[,[,[,[,],[,],],[,[,[,[,[,[,[,],],],],],],[,],],[,],],],[,],],],],[,[,],[,[,],[,[,[,[,],],],[,],],[,],[,[,],],[,],],],],],],],],[,[,[,],],],[,[,[,[,[,],],[,[,[,[,]]","[[,],[,],],],[,],[,[,],],[,],[,[,],],[,],[,],[,[,],[,],],[,[,],],[,[,],[,],],[,],[,],],[,],],],[,],],[,],],],],],[,[,[,],[,],[,],],],],],],[,[,],],],[,[,[,],[,[,],[,],],],[,[,[,],[,],[,],],],],]]","[],[,[,[,[,[,],[,],[,],[,[,[,],[,],],[,[,],[,[,[,],],[,[,[,[,],],],],],],[,[,[,],],[,],],],[,[,[,[,[,],],],],[,[,[,[,[,],[,[,[,],[,[,[,[,[,],],[,[,],[,],[,[,[,[,],],],],],],[,[,],[,[,[,[,[,],],[]","[[,],],[,[,[,[,],],[,],[,[,[,[,],],],[,],],[,[,[,],[,],],[,],[,[,[,[,[,[,[,[,[,[,[,[,[,[,[,],],],[,],],],],],],],],],[,],],],[,],],[,[,[,],],],[,[,[,[,],[,[,[,[,],],],],],[,],],[,],[,[,],[,],[,[]","[[,],[,],[,[,],],],[,],[,[,[,],[,[,],[,],[,[,],],],],],[,[,],],[,[,[,[,[,[,[,[,[,[,],[,],],],[,],],[,[,[,],],],[,],[,],],[,],[,[,[,],],],],[,],[,[,],[,[,[,],],],[,[,[,],],[,[,],[,],[,[,[,],[,[,[]","[],[,],[,[,[,[,],],],[,],],],[,[,[,],],],[,],[,],[,[,],],[,[,[,],[,[,[,[,[,],],[,],[,],],],],],],],[,],[,],],[,[,],[,[,],],[,],[,],],[,],[,[,[,],[,],[,[,],],],],[,],[,],],],],[,],[,],],[,[,],[,]]","[[,],],[,],[,[,[,[,[,],],],],[,],[,],[,[,],],],[,[,],[,[,],],],[,[,],],[,],[,],[,[,[,[,[,[,[,[,],[,],[,[,],],[,],[,],],[,[,],],],[,[,[,],],[,],[,],],],],],[,[,[,[,],],],],[,[,],],],],],],],[,],[]","[],[,[,[,],[,],[,[,[,],],],],],[,],],[,[,[,[,],[,[,],[,[,],],],[,],[,[,],[,],],[,],[,],[,[,[,],[,[,],[,[,],[,[,],],[,[,[,],[,[,],],[,],],],[,[,[,[,[,],[,[,],[,[,],],[,],],[,[,],[,],],[,],],],],]]","[],[,[,[,],],[,[,],],],[,],],[,],[,[,],],[,[,[,[,[,[,[,],[,[,[,[,[,],],],[,],],],[,],],],[,[,[,],],[,],[,[,],[,[,[,[,[,[,[,[,[,[,[,],[,[,[,],],],[,[,],],],[,],[,],],],],],],[,[,],[,[,],[,[,],[,[]","[],],[,[,[,[,[,[,[,],],],],[,],],],],],],[,[,[,],[,[,[,],],],],],],],],],[,],],],],[,],],],],[,[,],],[,[,],[,],],],[,],[,],],],[,],],],],[,[,],],],[,],],[,],],[,[,[,],[,],[,],[,[,],[,[,[,],],],]]","[[,[,[,[,],],],[,[,],[,[,[,],],],[,[,[,[,[,[,[,],[,],[,],[,],],[,[,],],[,],],],],[,],],[,],[,[,[,[,[,],],],[,[,[,],[,[,[,[,],],[,[,[,],[,[,],],[,],[,[,[,[,],],],[,],],],[,],],[,[,],[,[,[,],[,[,]]","[[,[,],],[,[,],[,[,],],[,[,[,],],],],[,[,],],],],[,],],],],[,],],],[,],],],],[,],[,[,[,],[,[,[,[,[,[,],],],[,],],],[,[,[,],[,],],],[,[,[,],],],],],[,[,],[,],],[,[,],],],[,[,],[,],],],[,],],[,[,[]","[[,],],[,],[,],[,],[,],],[,],[,[,[,[,],[,],],[,],],[,],],],],],[,[,],[,],],],[,[,[,],],],[,[,[,[,[,],],],],],[,[,],],[,],],[,[,[,],[,],],[,[,[,[,],[,],[,],],],],],],],],],],],[,[,],],[,],[,[,[,]]","[],[,[,],[,[,],[,[,],],[,[,[,],[,],],],],],],[,[,],],],],[,],],],[,],[,[,[,],[,],],[,[,[,[,[,[,],],[,[,[,],[,],[,],],],],[,],[,],[,],[,[,[,],],],[,[,],],[,[,[,],[,],],],],[,],[,],],],[,[,[,],[,]]","[[,[,],],],[,[,[,[,[,],[,],],[,[,],],],],],[,[,[,],[,[,[,],],[,],],[,],],[,],],[,[,[,],],[,],[,],[,[,[,],[,],],[,],],],[,],],],],],],],[,],],[,[,[,],],[,[,],],],],[,],],[,],[,],[,[,],[,],],[,[,[]","[],],[,],],[,],],[,[,],[,],],],[,[,],],[,[,[,[,],[,],[,[,[,],],[,[,],],[,],[,],[,[,],],[,],],],[,[,],],[,[,[,[,],[,],[,],[,[,],[,[,],[,],[,],],],[,[,],],],[,[,[,[,[,[,],],[,[,[,],],],[,],[,[,],]]","[],],[,[,[,[,],[,[,[,[,],],],],[,[,],],[,[,[,],],[,[,],[,],],[,[,],],[,],[,[,[,],],],],],[,],[,],],],[,],[,],[,],[,[,[,],],],],],],[,],[,],[,],[,],[,],[,[,],[,],[,[,[,],],],[,[,[,],],[,],[,[,],]]","[],],[,[,[,],[,[,],[,],],[,[,],],],],],],],],[,[,],[,[,[,],[,],[,[,],[,],],],],],[,],[,[,],[,],[,],[,],],[,[,[,[,],],],],],[,[,[,[,[,],],],[,[,],],],],],],[,[,],[,[,],],[,[,[,],],[,],[,],],],[,]]","[[,],],],[,[,[,[,[,],],[,],[,],],[,[,[,],[,],[,[,],],[,],[,[,[,],],],[,],[,[,],[,],],],],],],],],[,],],[,[,],[,],],],],[,],[,[,],[,],],[,],],[,],[,],],],[,[,[,],[,],],[,],[,[,[,[,[,],[,],[,],[,[]","[[,[,],[,],],[,],[,],[,],[,],[,],],],[,[,],],],[,],],],[,[,[,],],],[,[,],],[,[,[,[,[,],[,],[,[,],],],[,[,[,],[,],[,],[,[,],],[,],[,[,],[,],],],],[,[,[,[,[,],],[,[,[,[,],],],[,[,],],[,[,[,],[,],[]","[[,[,],],[,],[,],[,[,[,[,],[,],[,],],[,],],[,],],],[,],[,],[,[,],[,[,],[,[,[,],[,],[,],],],],[,[,],[,],],],],[,[,],],[,],],[,[,[,],[,],],[,],],[,[,[,[,],],],],[,[,[,[,],[,],[,],],],[,[,[,[,],],]]","[],],],[,],],[,],],[,],[,[,[,[,[,[,],[,[,[,[,],],],[,],],],],[,[,],[,[,[,[,],],[,[,[,],[,],[,[,[,],],[,[,[,[,],[,],],],[,],[,[,[,],],[,],[,],],[,],[,[,],],[,],[,[,[,],[,],[,],],[,[,],[,[,],],[,]]","[],],[,],],[,],[,[,[,],],],],],[,],[,],],[,[,[,],],],[,[,],[,[,[,[,[,],[,],[,[,],],],],[,],],[,],],[,[,],],[,],[,[,[,],],[,[,],],],[,],[,],[,],],[,[,[,],[,[,[,],],],[,[,],[,],],],],[,[,[,],],[,[]","[],],],],[,],],],],],],[,],],],[,[,[,],[,[,],[,],],[,[,[,[,],[,[,[,],[,],],[,[,[,[,[,],[,[,],],[,],],],[,[,[,],],[,[,],],[,[,],],[,],[,[,[,],[,],],[,[,],],],],],],],[,],],],],],],[,[,[,[,],],],[]","[],],],[,],],[,],[,],[,],],],[,[,],],],],],],],[,[,[,[,],[,],[,[,[,[,[,],],],[,],[,],],[,],[,[,],[,],],],],],[,[,],],[,[,],],],[,[,[,[,],[,[,[,],[,],],[,[,],],],],[,[,],[,],[,],[,],[,[,],],[,],]]","[[,],[,[,],[,[,],],],],],],[,],[,[,[,[,[,[,[,[,[,],[,[,[,[,],],[,],[,[,],[,[,[,],[,[,[,],],],[,],[,[,[,[,[,],[,],[,],],],],[,[,],[,[,[,],[,],],],[,],[,],[,[,],[,],],],],],[,],[,],],],],[,],],],]]","[[,[,],],[,],],[,],],[,],],],],[,[,[,[,],[,],],],],[,],],],[,],],],],],[,],[,],[,],],[,],[,],[,],[,[,],[,],],],],[,],],[,],],],[,[,[,],],],],[,],[,],],],[,],[,],[,],[,],[,],],],],[,],],],[,],],[]","[[,],[,[,],],],[,],[,[,],],],[,],],[,[,[,[,[,[,[,],[,[,[,],[,[,[,],],],],],[,],[,],[,],[,[,],[,[,[,[,],],],[,],],[,],[,],],],],],[,[,[,[,[,],[,],[,[,[,[,],[,],[,],],],[,],],[,[,],],],[,[,[,[,[,[]","[[,[,],],[,],[,],],],],],[,[,],],[,],[,],[,[,],],[,],[,],],[,],[,],],[,],[,],[,],],],],[,[,[,],],],],],[,],[,[,],[,],],],],[,],],],],],],[,[,[,],],],],[,[,],],],],[,[,[,[,[,],],[,[,[,],[,],[,],[]","[[,[,[,[,[,],],],],],],[,[,],],[,],[,],],[,[,[,[,],],],[,],[,[,],],[,[,[,],],],[,],],],[,[,[,],[,],[,],[,],[,],[,[,[,[,[,[,[,[,],],[,[,],[,],],],[,],[,],[,[,],[,],],],],],],],],],[,[,],[,],[,[,[]","[],],[,[,],],[,],[,],[,[,],[,],],],],],],],],[,[,[,[,],],],],[,[,[,],[,],[,[,],[,[,],[,[,],],[,[,[,[,],[,],],],],[,],[,[,],],],[,],[,[,[,],],],[,],[,],],[,[,[,[,],],[,[,[,[,[,[,],],],[,[,[,],],[]","[],],],],],[,[,[,[,],],],[,],[,],[,],],],],[,],[,],],],[,],],[,[,],[,],[,],[,],],],[,[,],[,],],[,[,[,[,],],[,[,],],],[,[,],],],],],[,[,[,[,[,[,[,[,[,],[,[,[,[,],],],[,[,[,[,[,[,],[,[,[,[,[,],],[]","[],[,],[,],[,[,[,],[,[,],[,],[,],],],],[,],[,],],],[,],[,],[,[,[,],],[,],],],],[,[,[,[,],],],],[,[,],[,],[,[,[,[,],],[,[,],],[,[,],[,[,],[,[,],],],[,[,],[,],[,[,],],[,],[,],[,],[,[,],],],[,],],]]","[[,],],[,],[,],[,[,[,[,[,],[,],[,],[,],[,[,],[,[,],],[,[,[,],],[,[,[,],],],[,[,[,],[,],],[,[,[,],],[,[,],[,[,[,],],],[,],[,],],],],[,[,[,],],],],[,],],],],[,[,[,[,],[,],],[,],],[,[,],],[,],[,],]]","[],],],],],],[,[,],[,],],],],[,],],[,[,],],],[,[,[,],],[,],],[,],],[,[,],[,],],],],],[,],],],[,],],],],],],[,[,[,],[,],[,],],],],[,[,],],[,],],],],[,],[,],],],],[,],[,],[,[,[,[,[,[,],[,[,],[,],[]","[],[,],[,[,],[,[,],],],],],],],[,],[,],],[,],[,],[,[,[,[,[,[,],[,[,[,],[,[,[,],[,[,[,[,],[,[,[,[,],],[,],[,],[,[,[,[,],],[,[,],[,[,],],],[,],[,[,],],],[,[,],[,],],[,[,],[,[,],],[,[,],],],[,],],[]"],"output":0},{"file":"testcase_3.txt","input":["[],[,],],],],],[,],[,[,],],[,],],],],[,],],[,[]","[],[,[,[,],[,[,[,[,[,],[,[,],],[,],],],],],[,[]","[],],],],],],[,],],[,[,[,],],[,[,],],],],],[,]]","[[,],[,[,[,],],],[,[,],[,[,[,[,],[,],],[,],],[]","[],[,[,[,],],],],],],],[,[,],[,],],],[,[,],],]]","[[,[,[,[,[,[,],],[,[,],[,[,[,[,],[,[,],[,],],]]","[[,],],[,],[,],],[,[,],[,[,],[,],[,[,],[,[,[,[]","[[,],],[,[,[,[,[,[,],],[,],[,[,],],],],],],[,[]","[],],],[,[,[,],],],[,[,],],],[,[,[,[,],[,],],[]","[[,[,[,[,],],[,[,],[,[,],[,],[,[,[,[,],[,],[,]]","[[,],],],[,],[,[,],[,],[,[,],],],[,],],],[,],]]","[[,],[,],[,],[,],[,],],[,],],[,],[,],],],],[,]]","[],[,],[,[,[,[,],[,[,],[,],[,[,],[,[,],[,[,],[]","[],],],[,[,],],[,[,],[,[,[,[,],],[,],],[,[,],]]","[[,[,],[,[,[,[,[,[,],[,],],[,[,],],[,[,[,],],]]","[[,],[,[,[,[,],],[,],],[,],[,],],],],[,],],],]]","[[,],[,[,[,[,[,],],[,],[,],],],],[,[,],[,[,],[]","[],],[,[,[,[,[,],[,[,],],[,],[,],],],],],[,[,]]","[[,[,[,],],],],[,[,[,[,],[,[,[,[,],],],],[,[,]]","[],],],],[,[,[,[,[,[,],[,[,],[,],[,],],[,[,],[]","[],[,],],],[,[,],],[,[,[,[,],],[,[,[,],[,[,],[]","[],],[,],[,],[,[,[,[,],],],[,[,[,[,],[,[,[,[,]]","[[,[,],[,],[,],[,],],[,],[,],[,],],[,[,[,],],[]","[[,],[,[,[,[,[,[,[,[,],[,],[,],],[,[,],[,[,[,[]","[],[,[,[,],],[,],],],],],[,],[,[,],[,[,],],],]]","[],[,],],],],[,[,[,[,],],[,],],],[,[,],[,],[,]]","[[,[,[,[,[,],],],[,],[,],[,[,],],],[,],],],[,]]","[],[,],[,],[,],[,],],[,[,],[,],[,[,],],],],[,]]","[[,[,[,[,],],[,[,[,],[,],[,[,[,[,],[,[,[,],],]]","[[,[,[,],[,[,],],],[,],],],[,],[,],],],[,[,[,]]","[[,],],],[,[,[,[,],],[,[,[,],[,[,],[,],],[,],]]","[],[,[,[,],],[,],],[,],],[,[,],[,[,[,],],[,],[]","[],],[,[,[,],[,[,[,],[,],],[,],],[,[,],[,],],[]","[[,[,[,[,[,[,[,],[,],[,],[,],[,],[,],],],[,[,[]","[],],[,[,[,],[,],[,[,[,[,],],[,[,],],],[,[,[,[]","[],[,[,[,[,[,],[,],[,[,[,[,],],[,[,],[,],[,[,[]","[[,[,],[,],[,],],[,[,[,],[,[,],[,[,[,],],],],]]","[[,],[,[,],],[,],],[,[,],],[,[,],],[,],],[,[,[]","[[,[,],],],[,],[,],[,],],],],],[,[,],],],],[,[]","[],[,[,[,[,[,[,],[,[,],],[,],],[,],[,],],],],]]","[],[,[,[,[,[,],[,],[,],],[,],],[,[,],],],[,[,]]","[],],],],],],[,],[,[,[,[,],[,],],[,[,],[,[,],]]","[],[,],[,[,],[,[,[,[,],],[,[,],],[,],],[,[,],[]","[],[,[,],],],],[,[,],],[,],[,],[,],],[,[,[,[,[]","[],[,],],],[,[,],[,[,[,],],[,],],],[,],[,[,[,[]","[],],],[,[,[,],],[,[,[,[,[,[,],],[,],[,[,],],]]","[[,[,[,],[,[,[,],[,[,],],[,],[,],[,[,[,],[,],[]","[[,[,[,],],],],],[,[,],],[,],],],],[,[,],[,],]]","[[,],[,[,],],[,],[,[,],[,],[,],],],[,],[,[,],[]","[],],[,[,],[,],[,],[,[,],[,[,],[,[,],],[,],],[]","[[,[,[,[,[,],[,[,],],],],[,[,],],],[,],[,[,],]]","[[,[,[,[,],[,[,],],],[,],[,[,],],[,],],],],[,]]","[[,],],],],],],[,],],],[,],],[,[,[,],[,[,],[,[]","[],[,[,[,[,],[,[,[,],[,],],],],[,],[,[,[,],[,]]","[],],[,[,[,[,],[,[,[,],],[,],[,[,],[,[,],[,],]]","[[,],],],[,],],],],[,],],],[,],[,[,[,[,],[,[,[]","[],[,[,],],],[,],],],[,[,[,[,[,],],],],],[,[,[]","[],[,],],[,],[,],[,[,],],[,[,],],],],[,],],],[]","[],],[,[,[,[,[,[,[,[,[,],[,[,],[,],[,],[,],[,[]","[],[,],[,],],],[,[,[,],],[,],],],[,[,],[,],],[]","[],],[,],[,[,],[,],],],],],],[,[,],[,],[,[,],]]","[[,[,[,],[,],],[,[,[,[,],],[,],],],],],[,],[,]]","[],[,[,[,[,[,],],],],],],],[,[,[,],[,[,[,[,[,]]","[],],],],],[,[,[,],[,[,[,],[,[,[,],],[,[,],[,[]","[],],[,[,[,],],[,[,],[,[,[,[,],[,[,],[,[,],[,[]","[],],[,[,[,[,],],],[,],],],],[,[,],[,[,],],],]]","[[,[,],[,[,[,[,],[,],[,],],[,],],],[,],[,],[,[]","[[,[,[,],[,[,],],[,[,[,],[,],],[,[,],],[,],],[]","[],[,[,],[,],[,[,],[,],[,[,],[,[,[,[,],[,],[,]]","[],],[,[,[,],[,],[,],[,[,[,[,],[,],],[,],],[,[]","[],[,[,[,],[,[,[,],[,[,],],],],[,],[,[,[,],[,[]","[[,],],],[,[,],[,],],[,],],[,],[,[,],[,],],[,[]","[],[,],[,[,[,],[,[,],],],],[,[,[,[,],],],],],]]"],"output":false},{"file":"testcase_4.txt","input":["[],],[,[,],],],],[,],],[,],[,[,],],],],[,],[,[,],[,[,[,[,[,[,[,[,],],[,[,],],],[,],],],],],[,[,],[,[,],[,[,],],],[,],[,],[,[,[,[,[,],],[,],[,],],],],],],],[,[,[,[,[,[,],],],[,],[,],]]","[],],[,[,],[,],[,[,],],],[,[,],],[,],[,],],[,],],],[,[,],],],],[,],],[,[,[,[,],],[,[,[,[,],],],[,],[,],[,[,[,],],[,[,],[,],[,],[,[,],[,],],[,],],],[,],[,],[,[,[,],],[,[,[,[,],[,],],]]","[[,[,],],],[,],],],[,[,],],[,[,[,],[,[,],],[,],[,],[,[,],[,],],],],],[,],],],],[,[,[,],],[,],],[,[,[,],],],],],],],],[,],[,],[,],[,[,],[,],],],],[,[,],],[,[,],[,[,],[,],],[,[,],[,],[]","[],[,[,],],[,],],[,[,[,[,],[,[,],[,[,],],],[,],[,],[,],],[,],],],],],],],],[,[,],[,],[,],[,[,[,],[,[,[,[,],[,[,[,[,],[,[,[,[,],[,],[,[,[,],],[,],[,],[,],[,],],],],],[,],[,[,],],],],]]","[[,],],],],[,[,[,[,[,[,[,],[,[,],[,],],[,],[,[,],],[,[,[,[,[,],[,[,[,[,],[,[,],],],],],],[,[,[,],[,],],],[,[,],[,[,[,[,],[,],],],[,[,],],],[,[,],[,],],[,[,[,[,],[,],],[,[,[,],[,[,],[]","[[,],],[,],],],],[,[,],[,],],[,[,[,],],[,],[,],[,],[,],],],],[,[,],[,[,[,],],[,[,],[,],[,[,],],],],],[,],],],[,[,[,],[,[,[,],],],],],],],[,[,],[,],],[,],],],],],[,],],[,],],[,[,[,[,]]","[],[,[,],],[,],],],],[,],[,],[,],[,],[,[,],[,],[,[,[,],],],[,],],[,[,[,],[,[,],[,],],[,[,[,],],[,[,],],[,[,[,],[,],],[,],],],],],[,[,],[,[,[,[,[,[,[,],[,[,],[,[,],[,[,[,],],],[,[,],[]","[[,],[,],[,],[,],],[,[,],],],[,],[,[,[,[,],],],[,],[,[,[,[,],],],],],],],],],],],[,],],[,[,],],],],[,],[,],[,[,[,[,[,],],],[,[,],[,[,[,],],[,],],],],[,[,[,[,[,],],],],[,[,[,],[,[,],[]","[],[,],[,],[,],],[,],],],[,],[,[,[,[,],],],[,],[,[,[,],],],],],],[,[,],[,[,],[,],[,],],],],],[,[,[,[,[,[,],],[,],],],[,[,[,],],],],],],],[,],[,],[,],],],[,],[,],[,],],[,[,[,[,],[,],[]","[[,[,],],[,],[,],],],],],],[,],],],],],],[,[,],],[,],[,[,],[,[,[,],],],],[,],[,],[,[,],[,[,],],[,[,],],],[,],],[,[,[,],],[,[,],[,[,],],[,],],],[,],],[,[,[,[,[,],],],],],[,],],[,[,[,[]","[[,],],[,[,[,],],],],],],[,[,],[,[,],[,[,[,],],],[,],[,[,],],[,[,[,[,],],[,],],],],],],],[,],],[,[,],],[,],[,[,[,],],[,],[,[,[,],],],],],],[,[,],],[,],[,],],],[,[,[,[,[,],],[,],[,],[]","[],[,[,[,[,[,],],],],[,],[,],],[,],],[,[,[,[,],[,[,],],[,],],],[,[,],[,],[,],[,[,],[,[,[,[,],],[,[,[,],[,[,[,],[,[,[,[,],[,[,],[,],],[,],[,[,[,[,],[,],[,],[,],[,],],],[,],[,],[,[,],[]","[],[,[,],[,[,],],],],],],],],[,[,[,],[,],[,[,],],],],],],],[,],],[,],],[,],[,[,],[,[,[,[,],],[,],[,[,],[,[,],[,[,[,[,],[,],[,[,[,[,[,],],[,[,],],[,[,],],],],[,[,],],[,[,],],],],[,],[]","[[,],],],[,[,[,[,[,],],[,],],[,[,],],[,[,[,],],],[,],],],],[,],],[,],],],],],],[,[,[,],[,[,[,[,],[,],[,[,],],],[,],],],[,],],],[,],[,[,],[,],],],[,[,[,[,],],[,[,],[,],],],],],],[,[,]]","[],[,],],],],],],],[,],],[,[,],[,],[,],],],],],[,],[,],],[,[,],],],],[,[,[,[,],[,],[,],],],],],[,[,],[,[,[,],[,[,],[,[,[,[,[,],],],[,],[,[,[,[,[,[,],[,[,[,[,[,[,],[,[,[,],[,],],[,],]]","[[,[,[,],[,[,],],],[,],],],],],[,],],[,],[,],[,[,],[,[,],[,[,[,[,[,[,[,],[,],[,],],],[,],],[,],[,],[,[,[,],],],],],],[,],],],[,[,[,[,[,[,],[,],],[,],],],[,],],[,],],],[,[,],[,[,],[,]]"],"output":0},{"file":"testcase_5.txt","input":["[],],[,],],],],[,[,],],[,],[,],],],],[,],],[,[,],[,[,[,[,[,[,],[,],],[,],],],],],],],[,],[,[,],],],[,],[,[,[,],],[,],[,],],],[,],],[,[,[,],],[,[,],],[,],[,[,],[,],],[,[]","[],],[,],[,],],],[,[,[,[,[,],],[,[,[,],[,[,[,],],],],],[,],[,],],],[,[,],[,[,],],],],],[,[,[,[,],[,[,[,],[,[,[,],],[,[,[,],[,],[,[,[,],[,],],[,],[,[,[,[,[,],],[,[,[,],[]","[[,],],],],],[,],[,[,],[,[,],[,],[,[,],],],],],],],[,],[,[,],[,],],[,[,[,],],],],],],],[,],[,[,[,[,],],],[,],],],],],[,],],],[,[,[,[,[,[,],[,[,],[,],[,[,[,],],[,[,],],[]","[],[,[,[,[,[,],[,],],[,[,],],[,[,],],],],[,[,],],],],[,],],[,],[,[,[,[,],[,],[,[,],],[,[,],[,],],[,[,],[,],],],[,],],[,],[,[,],[,[,[,],],],[,],],],],],[,],],[,],[,],[,[]","[],[,],[,[,[,[,[,],[,],[,],[,[,[,[,],],],[,[,[,[,[,],],[,],[,],[,],[,],[,],],],[,[,],[,[,],[,],[,],],],],[,],[,],],],[,[,[,[,],],],[,[,[,],[,],],],[,],[,[,[,],[,],[,],[]","[],],[,[,[,],[,[,],[,[,[,],],[,],[,],[,],],],[,],[,[,[,[,[,[,],],],[,[,[,[,[,],[,],],[,],],[,[,],],[,[,[,[,],[,],[,[,[,],[,],],[,[,[,],],[,[,],],[,],[,[,],[,[,[,],],],]]","[[,],[,],],],[,[,],[,],[,],[,[,],],],],],],],[,[,[,],],[,],[,],[,],[,[,],[,[,[,],],],],[,[,[,[,[,[,],],[,[,[,],[,[,],[,[,[,[,[,[,[,],],],],[,[,],[,],],],[,[,[,[,[,[,],]]","[],],[,],],[,],[,],],],],],],],],[,],[,],[,[,[,[,[,],],],[,[,],],],],[,],[,[,[,[,[,[,[,],[,],],],],[,],],[,],[,[,[,],],],],[,[,[,],[,[,[,[,],[,],],[,],],],],],],[,[,[,]]","[[,[,[,[,],],],],],[,[,[,[,],[,[,[,],],],[,[,],[,[,],[,[,[,],[,[,[,[,],],[,],],],],],],[,],[,[,[,],],],[,[,[,[,[,[,[,],],[,],],[,],[,[,],[,],],[,[,],],],[,],[,[,],],],[]","[[,[,[,[,],[,],],],],],],],],[,],[,],],[,],[,],],],[,],],[,[,[,[,[,[,[,[,[,[,[,],[,],[,],[,],],],],],],[,],[,],],[,[,[,],[,],[,],],],[,],[,[,],],],],[,],[,[,[,],[,],],]]","[],],[,],],],[,],],[,[,[,[,[,[,],],[,[,],[,],],],],],[,],],[,[,[,],],],[,],[,[,],[,[,],[,],],[,[,],],[,[,[,[,[,[,[,],[,[,],[,],[,],],],[,[,[,],[,[,],],[,[,],[,[,[,],],]]","[],[,[,],],[,[,],[,],],],],[,],[,],[,],[,],[,[,[,],[,[,],[,[,],],],[,[,],[,[,],[,],[,[,[,[,[,[,],[,],[,],[,],],[,[,],],[,[,],[,[,[,],[,],[,],],],],[,],[,],[,[,],],],],[]","[],],],],[,[,[,[,],],[,[,[,],[,[,],],[,],[,],],[,[,],],[,[,[,],[,[,],[,],[,],[,],[,],],],[,],[,[,[,[,],],[,[,],],[,],[,],],],],],[,[,],],[,],[,],],],[,],[,[,[,],],],],]]","[],],],],],[,[,[,[,[,],[,[,],],],[,[,],],[,[,],[,],[,[,[,],],],[,],],[,],],[,[,],],[,[,],[,[,[,[,[,[,],[,[,[,],],],],[,],[,],],[,],],],],],],[,],[,],[,[,[,[,],[,],[,[,[]","[[,],],],[,],[,],[,[,[,[,],],[,[,],],[,[,],],],[,[,[,],],],],],[,[,],],[,],[,[,[,],[,],[,[,],[,[,],[,[,[,],[,],[,],[,[,[,[,[,],],[,],],[,],],],],[,[,[,[,[,],],],[,[,[,[]","[[,],],],[,[,[,],],],],[,[,[,],[,[,[,[,],],[,],],],],[,],[,],],],],],[,[,],[,[,],],],],[,[,[,[,[,],[,],],],],[,[,[,],],],],[,],],[,],[,],],],[,[,[,],],[,[,],[,],],[,],[]","[],[,],[,[,],[,],[,[,[,],[,[,[,],],],[,],[,[,[,],],],[,[,],],],],[,[,],[,[,],[,],],[,[,],],],[,],],[,],],[,],[,[,[,],[,[,[,],],[,[,[,],],],[,],],[,],[,[,[,],],],[,[,],]]","[],],],[,[,[,],],[,],],[,[,[,],],[,[,],[,[,[,[,],],],[,[,],],[,[,[,],],],[,],[,],[,],],[,[,[,[,[,],],[,[,[,[,],],],],[,[,],],],[,[,[,[,],],],[,],],[,[,],],[,],],[,],[,[]","[[,],],],[,[,],],],[,[,[,],[,[,],],],[,[,],],],],[,],],],],[,],],],[,[,],[,],[,[,],],[,[,],[,[,[,[,[,],],[,[,],],[,],],],[,],],[,[,],],[,],],],],[,[,[,],],[,[,],],[,],[]","[[,],[,[,[,[,],[,[,],[,],],],],[,],[,],],],[,[,[,],],[,],[,],],],[,[,],],[,],],[,[,],],],],[,[,],],],[,[,],],],],],],],[,[,[,],],],],[,],],[,],[,[,],],],],],],[,],],],]]","[],],[,[,[,],[,],[,],[,[,[,[,],[,],[,],],],],],],[,[,[,[,[,[,[,],[,[,[,],],],[,[,],[,],[,],[,],],[,],],],],],],],],[,],[,],],[,],],],[,[,[,],[,],],],],],],[,[,[,[,],[,[]","[],],[,[,[,],],[,[,[,],[,[,[,[,[,[,],[,[,[,],],],],],[,],[,],[,[,[,[,[,],[,],[,],[,],[,[,[,],],],],],[,[,[,[,],[,[,[,[,],],[,],[,[,[,[,],[,],[,],],[,[,[,],],],],],[,[,]]","[],[,[,],[,],],[,[,[,[,[,],[,],],[,[,[,],],[,],[,[,],[,[,],[,],[,[,[,],[,],],],],[,[,[,[,[,],[,],],[,],],],],],[,],],],],],[,[,],[,[,[,],],],[,],],],],[,[,],[,],],[,[,[]","[[,[,],],],[,],],],],[,[,[,[,[,[,[,],[,[,[,[,],[,],[,[,],],],],[,],[,[,[,[,[,],],[,],[,],],[,[,],[,[,],[,[,[,],],[,],[,[,[,],[,[,],[,],[,[,],[,[,],[,],],[,[,],],],[,],]]","[[,[,[,[,[,],[,[,],],],],[,[,],[,],],],[,],],],[,],[,],[,[,],[,[,[,],[,[,[,],[,[,],],[,[,[,[,[,],[,[,],],],],[,[,[,],[,[,],],],],[,[,],],[,[,[,],],[,],[,],[,],],],],[,]]","[],[,[,[,],[,[,],[,],[,],],[,[,],],],],],],[,],],[,],[,],[,[,],[,],[,[,[,],[,[,[,],[,],],],],[,],],[,],],],[,],],[,[,],[,],],],],],],],[,],[,],],[,[,],[,[,[,],],[,[,[,]]","[],[,[,],],[,[,],[,[,[,[,[,],],],],],[,[,[,],[,[,],],[,],[,],[,],[,[,[,[,],],],[,[,[,[,],[,],],[,[,],],[,[,[,],],],[,],],[,],[,],],[,[,],],[,],],],[,],],[,],],],[,[,],[]","[[,],[,[,],],],[,[,],],[,],],],],[,[,],],[,[,[,[,[,[,],[,[,[,[,],[,[,],[,[,],],[,[,[,[,],[,[,[,[,[,],[,],[,],[,],],[,[,[,[,],[,[,[,[,[,[,[,[,],],[,],[,[,[,[,[,],],[,[,]]","[],],],],],],[,[,[,[,[,[,[,[,[,],[,],[,],],],[,],[,],[,],],[,],[,[,[,],],],],],],[,[,],[,[,],[,[,[,],[,[,[,],],[,[,[,],[,[,],[,],],[,],[,],[,[,],[,[,],[,],[,],[,],],[,[]","[[,],[,[,[,],],[,],[,[,[,],],],],],],[,[,],],],[,],],[,[,],],[,],[,[,],[,[,],[,[,],],],],[,[,[,[,],[,[,[,],[,[,],],[,],],],],[,],],],],],[,[,],],[,[,],],],[,],[,],[,[,]]","[[,],],],],[,[,],],[,[,],],],[,],[,],[,],],[,[,],],],[,],[,],],[,[,],[,[,],],[,],],],],],],[,],[,],],],],],[,[,[,],[,[,],],[,],[,],],[,[,[,[,],],],[,[,],],[,[,],],],[,]]","[],[,],[,],[,[,],[,],[,],],],],[,],],[,],],],[,],],],[,[,],[,[,],[,[,],[,[,],],[,],[,[,],],],[,[,[,[,],],[,],],],],[,[,[,],],[,[,],[,[,[,],],[,],],],[,[,],[,[,],],[,],[]","[],],[,],],[,],],[,],],],[,[,],],[,],[,[,[,],],],[,[,[,],[,],],[,],[,[,[,[,],],],],[,[,[,],],[,[,],],],],[,],],[,],],],],],[,[,[,[,],],[,],],],[,],[,[,],],[,[,[,],],],[]","[],],[,[,[,],[,],[,],[,[,],],],[,],],],[,],],[,[,[,],],[,],],[,[,[,[,[,[,],],],[,],[,[,],],],[,[,[,[,],],],],[,],[,[,],[,[,[,[,],[,[,[,],[,],[,[,[,[,],],],[,],],],],[,]]","[[,[,],[,[,[,],[,[,],[,[,[,[,[,[,[,],[,],[,[,[,],],],],],],[,],[,[,],],],],[,[,],],],],],],],],[,[,[,],],],],[,[,[,],[,[,[,[,[,],],],],[,],],[,[,[,],[,],[,],],[,],[,[,[]","[],[,],],],[,],[,],],],[,[,[,],[,],],],],[,],],[,[,[,],[,[,[,[,],[,[,[,[,],[,],[,],[,[,],],],],[,],[,[,],],],[,[,],],[,[,[,],],],],],],],],],],],[,[,[,[,[,[,[,],[,],],]]","[],],[,],[,[,],],],[,],],],[,[,],],],[,],],],[,[,],[,[,[,[,[,],[,[,],],],],[,[,],],[,],[,[,],[,],],[,[,],[,],],[,[,[,[,],],[,[,],],[,],],],[,[,],[,],[,[,[,[,],],],[,],]]","[[,[,[,],],],],[,[,[,],[,],[,],[,[,],],[,],],],],[,[,],],],],],[,[,],],],[,[,],],[,[,],],],],[,],],],],[,[,],],[,],],[,],],],[,],],[,],],],],],],],[,],[,],[,[,],],],],[]","[],[,[,],],[,[,],],],[,],[,[,[,[,[,],[,[,[,[,[,[,],],],],],],],[,[,[,[,[,],],],[,],[,[,],[,],[,[,[,],[,],],[,[,],],],[,],],[,],],],],],],],[,],],[,],],],],[,[,[,],[,],]]","[[,],],[,[,[,[,],[,],[,],[,[,[,[,],[,[,],],],[,[,],[,[,[,[,[,],[,],],[,],[,[,[,[,],[,],],],[,],],],],],[,[,[,[,[,],],[,[,],],],[,[,],],],],[,],[,],],[,[,[,],[,],],],],]]","[],[,],],[,[,],],[,[,[,[,[,[,],],],],],[,],[,],[,[,[,[,[,[,],[,],],],[,[,[,],[,[,[,],],],[,[,[,[,],[,[,],],],[,],[,[,[,],],[,[,],[,],[,],[,[,],],[,[,[,[,],],],],[,[,[,]]","[[,[,[,],[,],[,[,],[,[,],[,[,],],[,[,],],[,],[,],],[,[,],[,[,[,[,[,],[,],[,],],],],[,],[,[,],],],],],[,],[,],[,],],],],],[,[,],[,],[,],[,],[,[,],],[,],[,],[,[,[,[,[,[,[]","[],[,],[,[,[,],[,],],[,],],],],[,],],],[,],[,[,],],],[,[,[,[,[,],],[,],],[,],[,],[,[,[,],[,[,],[,[,[,],],],],[,[,[,[,],],],[,],[,],],],],],[,[,],],],],],],[,],[,[,[,],[]","[[,[,],[,[,[,[,[,[,[,],[,[,],[,[,],],],[,[,[,],[,],[,],],],],[,],[,],[,[,],],],],],],[,[,],],[,],[,[,],[,[,[,],[,[,[,],[,],[,],],[,],],[,],[,],],],],],[,[,[,[,],],],],[]","[],],],[,],],],],],[,[,[,],[,[,],[,],[,[,],[,],],[,],],],],[,[,[,[,[,[,],],[,],],[,[,[,],],],],[,],[,],],[,],],],[,],],[,[,[,[,],[,],],],[,],],],],],],[,[,[,[,[,],],],]]","[],[,],[,[,[,[,],],],[,],],],[,[,],],[,[,],[,[,[,[,],],],[,],],],[,[,[,[,],[,[,],],],],],[,[,[,],[,[,[,[,[,],],],],],[,[,],],[,],],],],],[,[,[,[,],],[,[,[,[,],],[,[,[,[]","[],],[,],],[,],[,],[,[,],[,[,[,[,[,[,],],[,],],],[,],],[,],],[,],],],[,[,[,],[,[,],],],],[,],],],[,[,],],[,],],[,],],],],[,],[,],[,[,],],],],],[,],[,[,[,[,[,[,],[,],[,[]","[],[,[,[,[,[,[,],],],[,],],[,[,],[,[,[,],[,],],],],],[,[,],[,],[,],],],[,],],],],],],],],[,[,],],[,[,],[,],[,[,[,[,[,[,[,[,[,],[,],[,],[,],[,[,],[,],],[,],[,],[,[,[,[,]]","[],[,[,],[,],],],],],[,],[,[,],],[,],[,],],],],[,[,[,[,],],[,[,],],[,[,[,],[,[,],[,[,[,[,[,],],[,[,[,[,[,],],],[,],],[,],[,],[,[,[,],],],],],],],],[,],[,],],],],],],[,[]","[[,],[,[,],[,],],],],],],],[,],],],[,],],],],[,],[,],],],],],],[,[,[,[,],],],],],],[,],],],[,[,[,[,],],[,],],],[,],[,],[,],[,[,],[,[,[,[,],],[,],[,[,[,[,],[,[,],[,[,],[]","[],[,[,[,],[,],],],[,],[,],[,],[,[,[,[,[,[,],],[,[,[,],[,[,],[,],],[,[,[,[,[,],],[,[,[,[,],],],],[,],[,[,],[,[,],],],[,],[,[,],],[,],],[,],[,[,[,],[,[,],],[,[,],[,[,[,]]","[],],],],[,],[,],],],],[,[,[,],],[,],[,[,],[,],],[,[,[,[,[,[,[,],],[,],[,],],[,[,],[,[,],],],[,],],[,],],],[,],],[,],[,],],[,[,],],],],],],[,[,],],],],],[,],],],[,],],]]","[[,],],],],],],[,[,],[,[,],[,[,],],[,[,[,],[,],[,[,[,],[,],],[,[,[,],[,[,],],],],],[,],],],],],[,[,[,[,[,[,],[,[,],],],],],],[,[,],],],],[,],[,[,],[,[,[,[,],],[,],],],]]","[[,[,],[,[,],],[,],],],],[,],[,],],[,[,],],],],],],],[,[,],[,],[,[,],[,[,[,],],[,[,],[,[,[,[,],],],[,[,],[,],],],[,[,[,],[,[,[,],],[,[,[,[,],],],[,[,[,],[,[,],[,[,[,],]]","[[,],[,[,],[,[,[,],],],[,[,],],[,],],[,[,[,[,],],[,],],],[,[,[,[,],[,[,],[,[,],[,],[,[,],[,],],],[,],],[,],[,],[,],],],[,[,[,],[,[,],[,],[,[,],],],[,[,],[,[,],],],[,],[]","[[,],[,[,[,],],],[,[,],[,[,[,],[,[,],],[,],],],],[,[,[,[,],],],],[,],[,[,[,],[,[,[,],[,[,],[,],],[,],[,],[,],[,[,[,],[,],[,[,[,[,[,],[,[,[,],[,[,],[,],],[,],],],[,[,[,]]","[],[,],[,[,],[,],],[,[,],],],],[,[,[,],],[,],],],],],],[,],],],[,],[,],[,[,[,[,[,],[,],],],[,],[,[,],[,[,],[,],[,[,[,[,[,[,],],],],[,],[,],],[,[,[,[,],],],[,],[,[,[,],[]","[[,[,[,[,[,],[,[,],[,],],],[,],[,[,[,],[,[,],],],[,],[,[,],[,],],],[,],],[,[,[,[,],],[,],[,[,],[,[,[,],],[,],],[,[,],[,[,[,[,],],],[,],[,],[,[,[,],[,],],],],],[,],[,[,]]","[[,[,[,[,[,[,[,],],],],[,],[,],[,[,[,],],[,[,],],],[,],],[,],],],],],[,[,],[,],[,],[,],[,],[,[,[,],[,[,],[,],[,],[,[,[,[,],],],[,[,[,],],],[,],[,[,],],[,],[,[,[,[,],],[]","[[,[,],],],[,],],[,],[,[,],],[,],],],],[,],[,],],],[,],[,[,[,[,],],],],[,[,],],[,[,],],[,[,[,[,],],],],[,],],[,[,],],[,],],],],[,],],[,[,[,],],],[,],],[,[,[,[,],[,],],]]","[[,],[,],],[,],[,],],[,[,],],],[,],[,[,[,[,[,],[,[,],[,],[,],],[,],[,],],[,],[,],],],[,],],],],],[,],],],[,[,],[,[,],[,[,],],],],[,[,[,[,],[,],[,],],[,[,],],[,[,[,[,[,]]","[],],[,[,],[,],],[,[,[,[,[,],[,[,[,],[,[,],[,],],[,],],[,[,[,[,],[,],[,[,[,],[,[,[,],],[,[,[,],[,[,],],],],[,],],[,[,],],[,[,[,[,],],],[,],],[,],[,[,],[,],[,[,],],[,[,[]","[[,],[,[,[,[,],[,[,[,],[,],],[,],[,[,[,[,[,[,],],[,[,],[,[,],],[,],],[,],[,],],],[,[,[,],[,],[,[,],],],[,[,[,],[,[,],],[,[,],[,],],[,],[,],[,],],[,],[,],],],[,[,[,[,[,]]","[[,],],[,[,],],[,[,],[,],[,],[,[,[,],[,[,],],],[,],[,[,],],],[,[,],],],[,],],[,],],],],[,],[,[,],],],],],[,[,[,[,],[,],],],[,],[,[,],[,],],],[,[,[,],[,[,],],],],],[,],[]","[[,],[,],[,[,],],],],],],[,],[,],],[,],],],],[,[,],],[,],],],[,[,[,],],],],],[,],[,[,[,],[,[,],],],[,[,],[,],],[,[,],],],],[,[,[,],[,],],[,],],],],],[,[,[,[,],[,[,[,],[]","[[,[,],[,[,],[,],[,],[,[,[,[,[,[,],],[,[,[,],[,],[,],],],],],[,[,[,],],[,[,[,[,[,[,[,],],],[,],[,],[,],],[,[,[,],],[,[,],[,[,[,],],[,[,],],[,[,[,[,[,[,[,],],[,[,],[,],[]","[[,[,[,[,],[,],[,[,[,],],],[,[,[,[,[,],],],],],],[,[,[,[,],[,[,],[,[,[,],[,],[,],],[,],],],],[,[,[,],[,[,[,],[,[,[,[,],[,],[,],[,[,[,[,[,],],],],[,],[,[,],[,],[,],],[,]]","[[,[,[,[,[,[,],[,],],],],],],[,],],[,[,],[,[,],[,[,],],],[,],],[,[,[,],],],[,[,],],],[,],],],[,[,],],],[,[,],[,[,[,],[,],[,[,[,[,[,[,[,],[,[,],],],[,[,[,],[,[,],],],[,]]","[[,],],[,],[,],],],],],],],[,],[,],],],[,],],[,[,[,],[,[,[,[,],[,],],],[,],[,],],[,[,],[,[,],],],],],[,[,],],[,[,],],[,[,],],[,],[,[,[,[,[,],],],],[,],[,[,[,[,[,],],],]]","[[,[,],],],[,[,],],],[,[,[,[,[,],],],],[,],[,[,[,],],],],],],[,],],[,[,],],[,],[,],[,],],],[,[,],],[,],],],],[,[,[,[,[,],],],[,[,],[,[,],[,[,],],[,],[,],[,[,[,[,[,[,],]]","[[,[,[,],[,],],],],[,[,[,[,],],[,[,[,],[,[,],[,],],[,[,[,],],[,],],[,[,],],[,],],[,[,],],[,[,],[,],],[,],],[,[,[,],],[,[,[,],],[,],[,],],[,[,[,],[,],],],[,],],[,[,],[,[]","[],[,[,],[,],[,],],[,],[,[,[,],],[,],[,],[,],],],],[,],],],],],],[,],],],[,],],[,],],],[,[,],],[,[,[,[,[,],[,],[,],[,[,],[,[,],],],[,],],[,],[,],[,[,[,[,[,],[,],[,[,],[]","[],],[,[,[,],[,[,],],[,],[,],[,[,[,],],],],[,],],[,[,[,[,[,[,[,],[,[,[,[,[,[,[,],[,],],],[,[,],],[,[,[,[,],[,],[,[,],[,[,[,],],],[,[,],],[,],],],[,],],[,],[,],],[,],],[]","[],[,[,[,],[,[,],],[,],],[,[,],],],[,],[,],],[,],[,[,[,],[,],[,],],[,],],],],],],[,[,[,[,[,[,],[,],[,[,[,],],[,[,],[,],[,],[,],],[,],[,],],[,],[,[,],],],[,[,[,],],[,],]]","[],],[,],],],[,[,[,],],],],[,],[,[,[,],],],],],],[,[,],],[,[,],[,[,],[,[,[,[,[,[,],[,[,],[,],],[,],[,],[,[,[,],[,[,[,[,],[,[,[,[,[,[,[,[,],[,],[,[,[,[,[,[,],],[,[,],],]]","[],[,[,],[,],],],],],],],[,[,],],[,],],],],],],],[,],],],],],],[,[,[,[,],],[,],[,[,[,],[,[,[,[,],[,],[,[,[,],[,],],],[,[,[,[,[,[,],],],[,[,],[,[,],[,],],[,[,[,[,[,],[,]]","[[,],],],],],[,[,],],],[,],[,[,[,[,[,],],[,[,],],],[,[,[,[,[,[,[,],[,[,],],],[,[,[,],[,],[,],],],[,],[,[,[,],],],[,[,],],],[,],[,[,],[,],[,[,[,],],],[,[,],[,],],[,],],]]","[],],[,],[,[,[,],],],[,],],[,[,[,],],],],],[,[,[,[,],],[,[,[,],[,],[,[,[,],[,],],],[,],],],],],[,[,],],],[,[,[,],],[,],[,[,[,],],],],],[,[,],],],],],[,[,],[,[,[,],[,],]]","[[,[,],],],[,[,[,],[,],],],],],],],],[,[,[,[,[,],],],],],[,[,[,],[,],],],[,[,[,],[,],[,],],],],],[,[,[,[,[,[,],],[,[,],[,[,[,],[,[,[,],],],[,],],[,[,],],[,],[,[,],[,],]]","[[,[,[,[,[,],[,[,],[,[,[,],[,[,],[,[,],],],],[,[,],],],],[,[,],],],],],],],[,],[,],],],[,[,[,],],[,[,],],],[,[,],[,[,],[,[,[,[,[,],[,],[,],],],[,[,[,[,],[,],[,],],[,[,[]","[[,],],[,],],],],[,],],],],[,[,],[,[,[,],[,[,],],[,],[,[,],],[,],[,[,[,],],],],],],[,[,],],[,],[,],[,[,[,],[,[,[,],],],[,],],[,],],[,],[,],],],],],[,[,],[,[,[,],],[,],[]"],"output":false},{"file":"testcase_6.txt","input":["[[,],[,[,],],[,[,[,[,[,[,[,[,],],],],],[,[,[,[,],],[,],],],],],[,],],],],],[,[,[,[,[,[,],[,],],[,[,]]","[],[,[,[,[,],[,[,[,[,],[,],],[,],],],],],],],[,[,],[,],[,],[,[,],[,],],],],],[,[,],[,[,],],],[,[,[,[]","[[,[,[,],[,[,[,],[,[,],],],[,[,[,[,],[,],],[,],],[,[,[,],[,[,],[,[,],[,],],],[,],],[,[,[,[,[,],[,[,]]","[],],[,[,],[,[,[,],],],],[,[,],[,[,[,[,],[,],[,[,[,],],],[,[,[,],],],],[,[,[,],],[,[,],[,[,],[,[,[,]]","[[,],[,[,],],],[,],[,],[,[,[,[,],[,[,],[,],],[,],[,[,],[,],[,[,[,[,[,],],[,[,[,[,[,[,],[,],[,[,],[,]]","[[,[,[,],[,],],],[,[,],[,[,[,[,],[,],[,],[,[,[,],],],],],[,[,[,[,[,],],],[,[,],[,],[,[,],],],],[,],[]","[],],[,[,[,],],],],],],[,],[,],[,[,[,[,[,[,[,],[,[,[,],[,[,],],[,],],[,],],[,],],[,],[,],],[,],[,],[]","[],],[,[,[,],[,[,],],],[,[,[,],],],],[,[,[,[,],],[,[,[,],],],],],],[,[,[,],],[,],[,],],],],[,],[,[,]]","[],[,[,],],[,],[,],[,],[,[,],[,[,],[,[,[,],],],[,],],[,[,],],[,],],[,[,[,],[,[,],],[,[,],],[,[,],],[]","[],[,[,],],[,[,[,[,],],[,],[,],],[,[,[,[,[,],],[,[,],],[,],[,[,[,],[,],[,],],[,[,],],[,],[,[,[,[,[,[]","[[,],],],],[,[,],],],],],],[,],],[,[,],[,],[,[,],],[,[,[,[,],],],[,[,[,[,[,[,[,[,[,[,[,[,],[,[,[,],[]","[[,],[,[,],],],],],[,],[,],],[,],[,],[,[,],[,],[,[,[,[,[,],[,],],[,[,],],[,],[,[,[,],],[,[,],[,],],]]","[[,],[,[,[,],[,[,],],],],[,[,],],[,],],[,],[,],],],[,],[,],],],],],],[,[,],],],[,],[,],[,[,[,[,],],[]","[[,],],],],[,],[,],[,],],[,],],],[,],],],[,],[,[,],],[,[,[,],],[,[,[,[,[,],],[,[,[,[,],],],],[,],],[]","[[,[,[,],],],],],],],[,],[,[,[,[,[,[,[,[,],],],],[,],],],[,],],],],[,],],[,],],],],[,[,[,[,],[,[,[,[]","[[,],[,],],],],[,],],],],[,[,],[,],],],],],[,],[,[,[,],],],[,],],[,[,],],[,[,],[,[,[,[,[,],[,[,[,[,[]","[[,[,[,],],[,],[,],[,],[,[,],[,[,],[,[,],],],],],[,],],],[,],],[,],],[,[,[,[,],[,],],],],[,[,],[,],]]","[],[,],],],[,[,],[,[,],],[,],],],[,[,[,[,[,],],],],[,[,],[,[,[,[,],[,[,],],[,],[,[,],[,[,],],[,[,[,[]","[[,[,],[,],[,[,[,],[,[,],[,[,[,[,],[,],[,[,],],[,],],],],[,],[,[,[,],[,],[,[,[,[,[,],[,],[,],],],],[]","[[,[,],[,[,[,],[,],[,],[,],[,],],[,[,[,[,[,[,[,[,],[,],[,[,],[,[,[,],[,[,],[,],],],],],[,[,[,],[,[,]]","[],],[,],[,],[,],[,],[,[,],[,],],[,[,],],],[,[,],[,[,],[,],],],],[,[,],[,],],[,[,[,[,],],],],],[,],[]","[],[,[,[,[,[,[,[,],],[,],[,],[,[,],],[,],[,[,],],[,],[,],[,[,[,[,],],[,[,],],],[,[,],],[,[,],[,],[,]]","[[,],[,],[,],],[,],[,],[,],],],[,[,[,],[,[,],[,],[,],],[,],[,],[,[,],[,[,[,[,[,[,[,],],],[,[,[,[,[,]]","[[,[,],[,[,],],],],],[,],],],[,[,[,],[,[,],],[,],],[,],],],],],],],[,],[,],],[,],],[,],],],],],],],]]","[[,[,[,[,],[,[,[,],[,],],],],[,[,],[,],[,[,[,],[,],[,[,],[,],],],[,[,],[,[,],],],[,],[,[,],[,],],],]]","[],[,],],],],[,[,[,],],[,[,[,[,],[,],],],[,],[,[,],],[,],[,[,[,],[,[,],[,[,],],[,[,[,],],],[,[,[,],[]","[],[,[,],[,[,[,[,],[,[,],],],[,],[,],[,],[,],[,[,],[,],[,[,[,],[,],],],],[,],],[,[,],],],[,[,[,],],[]","[],],[,],],[,],],[,[,],],],],[,],[,],[,],],[,[,],],[,[,[,[,],],],],[,],],],[,[,[,[,],],],],],[,[,[,[]","[[,],[,[,],],[,],[,],],],],[,[,],[,[,[,],[,],[,[,],],],[,[,[,[,[,[,[,],],[,],[,[,],[,],[,],],],[,[,]]","[[,[,],[,],],],],],[,],[,],[,],],],[,],[,],[,],[,],[,[,],],],],[,],],[,[,],[,[,[,[,[,[,[,[,[,[,[,],[]","[],[,[,],[,],[,[,],],[,],],[,],],[,[,],[,[,],],[,],[,[,[,],[,[,[,],],],[,],[,],],],],[,],[,[,],],],]]","[[,[,[,],],[,[,[,[,],],[,],[,[,],],],],],],],[,],],],],[,[,],],],],],[,],[,[,[,],],],[,],[,[,],[,[,]]","[],],[,],],],[,],[,],[,[,[,[,[,],],],],],[,],[,],],[,],[,[,],],],[,[,[,[,[,],[,[,],[,],],],[,[,],[,]]","[[,[,[,],],[,],[,[,],],],],[,[,],],[,[,],[,],[,[,[,[,[,[,[,[,[,],],[,[,],[,[,[,],[,[,[,[,[,],],[,[,]]","[],],[,],[,[,[,[,[,],],[,],[,],],[,[,[,[,[,],[,],],[,],[,],],],],],[,[,],],[,],[,[,],],[,],],],[,[,[]","[[,[,],[,[,[,[,],],],],[,[,[,],[,],],[,],[,],],[,],],],[,],],],[,],],[,],[,],[,[,],[,[,],],],],[,],]]","[],],],[,[,[,[,],],[,[,],],],[,],],[,],[,[,[,],[,],],[,],],[,],],],],],[,[,[,[,],],[,[,[,[,[,],[,[,]]","[[,[,],[,],],],[,[,[,[,[,[,[,[,],],],],],],[,],[,[,[,],],[,[,],],[,],],],],[,],],[,[,],[,[,],[,],],[]","[[,],],],[,[,],[,[,],[,],],],[,[,],[,],],[,],],],[,[,],],[,[,],[,[,],[,],],[,],],[,[,[,],[,],[,[,],[]","[[,],[,[,],],],[,],],[,],],],],],[,[,],[,],],],[,],[,[,],],],],[,],],],[,],],],],],],[,],[,[,[,],[,]]","[],],],],[,[,[,[,],[,],],],[,[,],],[,],[,[,[,[,],[,[,[,[,[,[,[,[,[,],],[,],[,[,],],],],[,[,],],],[,[]","[[,[,[,],],[,[,],[,],[,],],],],[,[,[,],[,],],[,],[,],],[,],],],[,[,],],],[,],[,[,[,[,],],[,[,],],[,[]","[[,],[,],],],],[,],[,[,[,[,],[,[,],[,[,[,[,],],[,[,[,],[,],[,[,[,[,[,[,],],],[,],],],],[,],],],],],[]","[[,],],[,],[,],[,],[,[,],],],[,[,],],[,],[,[,],[,[,],],[,[,],[,],[,],],[,],[,[,[,[,[,],],],],],[,[,]]","[],[,],[,],],[,[,],[,],[,],[,],],],],],],[,[,],[,[,],[,],[,[,[,],[,[,],],[,[,[,],[,[,],[,[,[,],[,[,[]","[[,],],[,[,],[,],],[,],[,[,[,[,[,],[,],],],[,],[,[,[,],],[,],],[,[,],[,],[,],[,[,],[,[,],],[,],],[,]]","[],[,],],],[,[,],[,[,[,[,[,],],],],],[,[,[,[,],[,[,],[,],[,],],],[,[,],[,[,],[,],[,[,[,[,[,[,],[,[,]]","[[,],],],],],[,],],],[,[,],[,],],[,[,],],],],],[,[,],],],],],[,],],],],[,[,],[,[,],],],],],[,[,[,[,]]","[[,],],[,],[,],[,[,[,[,[,],],[,[,[,],[,],[,],],],],],],],[,],],],[,[,],[,],],[,[,[,],[,[,],],[,[,],[]","[],[,[,],],],[,[,],[,],[,],],],],[,[,],],],],[,],],[,],],],],[,],[,],],],],[,[,],],[,],],[,[,],],],[]","[[,],],[,[,[,],],[,],[,[,],],],[,[,],[,],],[,[,],[,],],[,[,],[,],[,[,[,],[,[,],],[,[,],[,],],],[,],[]","[],[,[,],[,[,],[,],],],],],],[,[,[,[,],[,],],],],[,[,],],[,[,],[,],[,],[,[,[,[,[,[,],],[,],],],],],]]","[],[,],[,],[,[,[,[,[,],[,[,[,],[,[,],],],],],],[,],[,[,[,],[,],],],],[,],],[,],],[,[,[,],],],[,[,],]]","[],],],[,],],],[,],[,],],],[,[,[,[,[,],],[,],],],],[,[,[,],[,],[,],],],[,],[,],[,[,],],[,],[,],[,[,]]","[[,[,],[,],[,],[,[,],],],[,[,[,[,],[,],],[,[,],[,],],[,[,],[,[,[,],],[,],[,[,],],],[,[,[,],],],],[,]]","[],],],[,[,[,],],[,],[,[,[,[,[,],[,],[,],[,[,],],[,[,[,[,[,[,[,[,[,],[,[,],[,],],],],],[,],[,],[,[,[]","[[,[,],],],[,],],],[,],],],[,],],[,[,],[,[,],[,],[,],[,],],[,[,],[,],[,],[,],[,],[,[,[,[,],],],[,],]]","[],[,[,[,[,],[,],[,[,[,[,],],[,[,[,],[,[,],],[,],],[,[,[,[,],[,],[,[,[,[,[,],],[,[,],],[,],],[,[,[,[]","[[,[,[,[,],],[,[,],],],[,[,],],],[,],[,[,[,[,[,],[,[,],[,],],],[,],[,],],[,[,[,[,[,],[,[,[,],[,],],[]","[[,[,],[,[,],[,],[,],[,[,[,],[,],],],[,],[,[,[,[,[,],[,[,],],[,],],[,],[,[,],],],[,[,[,[,],],],[,],]]","[],[,],[,],],[,],],],[,],],[,],],[,[,],[,[,],[,[,[,],],],[,],[,],[,[,],[,[,[,],[,[,[,],[,],[,],],[,[]","[[,[,],],],[,],],],[,[,],[,],[,],[,],],[,[,],[,],[,[,[,],],],],[,[,],],[,],[,],],],],],],],],],],[,[]","[],[,[,],],[,],[,],],[,[,[,],[,[,],],[,],[,[,[,[,[,],[,[,],[,],],[,[,],],],[,],[,],],],[,],[,[,[,],]]","[[,[,],[,[,[,[,[,[,[,],[,[,[,[,[,],],],],],],],],],[,],],],],[,],[,],],[,],[,[,[,],],[,],],],[,[,],[]","[[,],[,],],[,[,],[,[,[,[,],],[,[,[,],],],[,],[,],],[,],],[,[,],],],[,],],[,],[,[,[,[,[,[,],[,],],],]]","[],],[,[,[,],],],[,[,],],],],],],[,],],[,],],[,[,],[,],],],],],[,],[,],[,[,],[,[,[,[,],[,[,[,[,],],]]","[],],],],[,],[,],[,],],[,[,],[,],[,[,],[,[,],],[,[,[,],],],[,],[,],],[,[,[,],],],],[,],],[,[,],],[,]]","[[,[,],[,[,],],],],],],[,],[,[,],[,],],[,],],],[,[,],[,[,],],],[,[,],],],[,],[,],],[,[,],],[,],[,[,]]","[[,],[,],],],[,[,[,[,],[,],],],[,],],[,[,[,[,[,[,[,[,[,],],],[,],],[,[,[,[,[,[,[,[,],[,],[,],],[,],]]","[],[,[,[,],[,[,],],],],[,],],],],],],[,[,],],[,],],],],],[,],[,[,[,],[,],[,[,],],[,[,[,],[,],[,[,[,[]","[],],[,[,[,[,[,],],],],],[,[,],[,],[,],],[,],[,[,[,[,],[,],[,],],],[,],],[,],[,],],],],[,],[,[,],[,[]","[],[,],],[,[,[,],],],[,[,[,[,],],],],],[,],],],],],[,],[,[,[,[,],[,[,],],],[,[,[,[,],[,],],[,],[,],[]","[[,],[,[,[,],[,],[,],[,[,[,[,[,[,[,[,[,],[,[,],[,[,[,[,],],],],[,[,],],],],],],[,[,],],],[,],],],],[]","[[,[,],],[,[,[,[,],[,],[,],],],],],],],],[,[,],[,],[,[,[,[,],[,[,],],],],[,[,],[,[,[,[,],[,[,[,[,[,]]","[[,[,],[,[,],],[,],[,],],[,],[,[,[,],[,],],],],],[,[,[,],[,],[,[,],[,[,],],[,[,[,],],[,],[,[,[,[,],[]","[[,],[,[,[,[,[,],[,[,[,[,],],[,[,[,],],],[,],],[,[,],],],[,],[,],[,],[,],],],],[,[,[,[,],],[,],[,[,[]","[],[,[,],[,],],[,],],[,[,[,],],],[,],],[,],],],],],],],[,],],[,],[,[,[,],[,[,],],[,],],[,[,],],],[,[]","[],],[,[,],[,],],],],],],[,[,],[,],],[,[,[,],],[,[,[,],],],[,],[,],],],[,],],[,],[,],[,[,[,],[,[,],]]","[[,],],],[,[,],],],[,],],[,[,],],[,[,],],],[,],[,],[,[,[,[,[,],],[,[,[,[,],],[,[,[,],],[,],[,[,],[,]]","[[,],],[,],[,],[,[,],[,],],],[,],],[,[,],],],[,[,[,[,],],],],[,[,[,[,],],[,],[,[,],],],],],[,],],],]]","[[,],],],],[,[,],[,],],[,[,],],[,],[,[,[,],[,],],],[,],],],],[,[,[,[,[,[,[,],],],],],],[,[,],],],],[]","[[,[,[,[,[,[,[,[,[,],],],],[,],[,],],],],[,[,[,[,],],[,],[,[,],],[,[,],],],[,],[,],],[,[,[,[,[,[,[,]]","[[,],[,],[,[,],],[,[,[,[,[,[,[,[,[,[,[,[,],[,],[,[,],[,[,],],[,[,],],[,[,[,],],],],],],],],],],],],[]","[[,],],[,[,],[,[,],],[,[,[,],[,[,[,],[,],[,],[,],[,],[,],],],[,[,],[,],],],[,],[,],],[,[,[,[,[,[,[,]]","[],[,[,[,[,],[,[,],],[,[,],[,[,[,[,],[,[,],[,],[,[,],[,[,[,],],[,],],],[,[,[,[,],[,],],[,],],[,],],[]","[],],[,[,[,[,[,[,[,],],],],[,[,],],[,],],],[,],],],],],],],[,[,[,],],[,[,],[,[,[,],[,[,],[,[,],],[,]]","[[,],[,],],],],[,],[,],],[,],],],],[,[,[,],],[,[,],],],[,[,[,],[,],],[,],],],],[,[,],[,[,],],],[,[,]]","[[,[,],],],[,],],[,],],[,],],],[,],[,[,],],],[,[,[,[,[,[,],[,[,[,[,],],[,[,],],[,[,],[,],[,[,[,],[,]]","[[,],],[,],],[,],],[,],[,],],],],],[,],[,[,],[,],],[,],],],],],],],],],],],[,],[,],],],[,],[,[,[,],[]"],"output":false},{"file":"testcase_7.txt","input":["[],],[,],[,],[,[,],],[,[,[,[,[,[,],],],],[,],],],],[,],],[,],],],],[,],],[,[,],],],],],],],[,[,],[,],[]","[[,[,],[,],],],[,[,[,],],],],],[,],[,[,[,],[,[,[,],],[,],],],[,[,],],],],[,],],[,[,[,],],],],],],[,[,]]","[],[,],[,[,],[,],],],[,[,[,],[,[,[,[,],[,],],[,[,[,],[,],[,[,],],[,],],[,[,[,[,[,[,[,[,],[,],],[,],[,[]","[],],],],[,],],],],],[,[,[,],[,],],[,],[,],],[,],],[,[,],[,[,],[,],],[,],],[,[,],],[,],[,],],],],[,],]]","[],],],],],[,[,],[,[,[,],[,],[,],[,],],[,[,],],[,[,],],],[,[,],],[,],[,],],[,],],],],],[,],[,],],],[,[]","[[,],],[,],],[,[,],[,[,],[,[,],[,],],],],],[,[,],],],[,[,[,],[,],[,],],],],[,],[,],],],[,],[,[,[,],[,[]","[[,],[,],],],[,[,],],],],[,],[,[,[,[,[,],],],],],[,[,[,],],],[,[,[,[,[,[,],[,],],],[,[,[,[,[,],[,[,[,[]","[[,],],],[,],[,],],[,[,],],],],],[,],],[,[,[,],],],],[,[,[,],[,],],],],],[,],[,],],],],],],],[,[,],[,[]","[[,[,[,],[,[,[,[,],[,[,],[,],[,[,[,[,[,],[,[,[,],[,[,[,[,[,[,],],[,],],],],],],[,[,],[,[,[,],],[,],[,[]","[],[,[,],],[,[,[,[,[,],],],],[,[,],[,[,[,],],],],[,],[,[,[,[,],[,],[,],[,[,],[,],[,],],[,[,[,[,[,[,],]]","[],[,],],[,],],],[,],[,],],],[,[,],],],[,[,[,],],[,],],[,[,],],],],[,],],],[,[,[,],[,[,],[,],],],],],[]","[[,[,],[,],[,[,[,[,],],[,],[,[,[,],[,],],],],[,],],],[,[,],[,],],[,[,[,],],[,],[,[,],[,],],[,],[,[,[,]]","[],],[,],],],[,],[,],],[,],[,[,[,],],],[,[,[,],[,[,[,[,[,[,],],[,],[,[,],[,],],],[,],],[,],[,[,[,[,],]]","[],[,],],[,[,[,],[,],],[,[,],[,[,[,[,[,],],[,[,],[,[,],],[,[,[,],[,],[,[,[,[,[,],[,[,[,],],[,[,[,],[,]]","[[,],],[,],[,],],],],[,[,],],],],[,],],[,],],[,],],[,[,[,[,],],[,[,[,],[,],],[,],[,],],],[,[,[,[,[,[,[]","[[,],[,],[,],],[,[,],[,],],],[,],],[,],[,],],[,[,],[,[,],[,[,[,],],[,[,[,],[,],],[,[,[,],[,[,[,[,],],]]","[[,],[,],],],],],[,[,],[,],[,],],],],[,],[,[,[,],],[,[,[,[,[,[,[,[,[,],[,],[,[,[,],],],],[,[,[,],[,[,[]","[],],[,],[,],[,[,[,],],[,[,[,],[,],[,[,],[,],[,],[,],],],],],],],],],[,],],],[,[,[,[,[,],[,[,],],[,[,]]","[[,[,[,],[,[,],[,[,],[,[,],],],[,[,],[,[,[,],],[,],[,[,[,[,[,],[,[,],],[,],[,],],[,[,],],],[,[,],],],]]","[],],],[,],],],],[,[,[,[,[,[,],[,[,],[,[,],],[,[,],],],[,],[,[,[,[,],[,[,],],],[,],],[,],],],[,],],[,[]","[[,],[,],[,],[,[,[,[,],],],],],[,[,[,[,],[,[,],],[,[,[,],[,[,],[,[,],],[,[,[,],],],],],[,[,[,[,],],],[]","[[,[,[,[,[,[,],],],[,[,[,[,],[,[,],],],[,],[,],],[,],[,],],],[,[,[,],],[,],],],[,[,[,],],],[,[,],],],]]","[[,[,],],],],],[,],[,[,[,],],[,],],[,],],],[,[,],[,],],[,[,],],],],[,[,[,[,[,],[,[,[,],],[,],],],[,[,]]","[[,],[,[,[,[,[,],],[,[,[,[,[,],],],],[,],[,],],[,[,],],[,],],[,],[,],],],[,],[,[,],],],],],],[,[,],[,[]","[],],],],[,[,],],],],[,],[,],],],],],],[,],[,[,],[,],],],[,],],],[,],],[,[,[,[,],],[,],],[,[,[,[,],],]]","[],[,],[,[,],[,[,],],[,],],],[,],[,[,[,],[,[,[,[,[,[,],[,[,[,],],],[,[,[,[,],[,],[,],[,[,],],[,],],],]]","[[,],[,[,],],[,],[,[,[,],[,[,],[,],],[,[,],[,],],[,[,[,],],[,[,],[,[,[,],],[,[,[,[,[,],[,[,],[,],],],]]","[],],[,[,[,[,],[,[,[,[,],[,[,],],[,[,],[,[,[,],[,[,[,[,],[,],[,[,],],[,],],[,[,[,[,],[,[,],],],],],],]]","[],[,],[,],[,[,[,],[,[,[,[,],],],[,[,[,[,],[,[,],[,],[,],[,],[,[,],[,[,[,[,],],[,],],[,[,],[,],],[,[,]]","[],],[,],],[,],],],],[,],],],],[,],],[,],[,[,],],[,[,],],[,[,],],[,[,],[,],],[,],],],[,],[,],],[,[,[,[]","[[,[,[,],],],[,[,],],],[,],[,[,],],],],],],],],[,[,],],[,[,[,[,],],],[,],[,[,],[,],[,[,[,[,[,],],],[,[]","[],[,],[,[,[,[,],],[,],[,[,[,[,],],[,[,[,[,],],[,[,[,],],[,],],],],],[,[,],[,[,[,[,[,],],[,],[,],[,[,[]","[[,],[,],],],[,],],],[,[,[,[,[,[,],[,],[,[,],[,[,],],],],[,],[,],],],[,],],],[,[,],[,],[,],],[,[,[,[,[]","[],],],[,[,[,[,],],[,[,],[,[,[,[,[,],],[,],],],],],],],[,],[,],],],[,],],[,[,[,],],],],],[,],[,[,[,[,]]","[],[,],[,],[,],[,],[,[,[,[,[,[,],[,[,],],[,[,[,[,[,[,[,],],],[,],[,[,[,],[,],[,[,[,[,[,],[,[,],[,[,[,[]","[[,],[,],],[,[,],[,[,],],[,[,[,],],[,[,[,],[,[,[,],],],],],],[,],[,[,[,[,],[,[,],[,[,[,],],[,],],[,],[]","[],],],],[,[,],],[,],[,[,],[,[,[,[,],],[,],[,],],[,[,[,],[,[,[,[,],[,],[,],[,[,],[,[,[,[,],],],],],],]]","[],[,],],],],[,],[,],],[,[,[,],[,[,[,],[,[,[,[,[,[,[,[,],],[,],],[,],],],[,[,],],[,[,[,],],],[,[,[,[,[]","[],[,[,],],[,[,],[,[,[,[,],[,[,[,],[,],],[,[,],],[,[,[,[,],],[,[,],],[,[,[,],],],],[,[,],],[,[,[,],],[]","[],[,[,[,[,[,[,],],[,[,],[,],],],],[,[,[,],],[,[,],],[,[,],],[,[,],[,[,],[,],],[,[,[,[,[,],],[,],[,[,]]","[[,[,],],[,],[,],],],[,],],[,],],[,],],],],[,[,[,[,[,],[,],],],[,[,[,[,[,],[,],[,],[,[,[,],[,],],[,[,[]","[[,],],[,[,],[,[,],],],[,],[,],],],],],[,],[,[,[,],[,[,[,],[,[,],],],],[,[,],],[,],[,[,[,[,[,],],[,],[]","[],[,[,[,[,[,[,],],[,],[,[,[,],[,[,[,],[,[,[,[,[,[,[,[,[,],[,],[,],],],],[,],],],[,[,],],],],[,[,[,],[]","[[,],],],],],],[,],],],[,],],[,[,],[,[,],],[,],],],[,[,],],[,],[,[,[,],],],[,[,],[,[,],[,[,],],],],[,]]","[],],[,[,[,],[,[,],],],[,[,[,[,[,[,[,],],[,[,[,[,[,],[,[,[,[,],],],],[,],],[,],[,[,],[,],[,],],],[,],]]","[[,[,],[,[,[,[,[,],[,[,[,],[,],[,],],],[,],[,[,],[,],],],],[,[,[,[,[,],],],],[,[,[,[,],[,[,[,[,[,[,],[]","[],],[,],[,[,],[,],],[,[,[,[,],[,[,],[,],[,],[,],],],[,[,[,[,],],],[,[,[,],],],],],[,],],],],[,],],],]]","[[,],],[,],[,[,],],],],],[,],],],[,[,],],[,],],[,[,[,],],[,[,[,[,[,],],],],],],],],],],[,],],[,],[,],]]","[],],[,],],[,],],],],[,],[,[,[,],[,],[,],[,[,[,[,[,[,[,[,],],[,[,],],],[,[,[,[,],],[,[,],[,[,],[,],[,[]","[],],[,[,],[,[,[,[,],],],],],],[,],],[,[,[,],[,[,[,],],],[,[,],],[,[,[,[,],[,[,[,[,[,[,],[,[,],[,[,[,]]","[[,[,],],],[,],[,],[,],[,[,],[,],[,],[,[,[,],[,],[,[,],[,],[,],],],[,[,[,],],],[,],[,[,],],],[,],[,[,[]","[],[,],],],],],[,],[,],],[,],],],],],],],],[,[,],],[,],[,[,],],],[,],],],],],],[,],[,],],],],[,[,[,],[]","[],],[,[,],[,[,],[,],],],[,[,[,],[,[,],],[,],],[,],],],[,[,],],],],],[,[,],],[,],],[,],],],],[,[,],[,[]","[],[,],[,[,],],[,],],[,],[,[,[,],[,],],],],[,],[,[,[,[,],],[,[,[,],[,[,[,[,],],],[,[,[,],],[,],[,],],]]","[],],[,[,],[,],[,[,],[,],],],[,],[,],[,[,[,[,],[,[,],],[,[,],[,],[,],],[,],],],],],[,],],],[,[,[,[,[,]]","[],[,[,[,[,[,],],[,[,[,],[,],],],[,],[,],],[,],],[,],],[,[,[,[,[,[,],[,[,],[,[,],],],[,],],],],[,],[,[]","[[,],[,[,[,[,[,],[,[,[,[,[,[,[,[,],],],[,],[,[,[,[,],[,[,[,],],[,],[,[,],],],[,],],[,],[,[,],],[,[,],]]","[[,[,[,],[,],],[,[,[,[,[,],],[,[,],[,],[,[,],[,],],],],],],],[,],[,[,[,[,[,],[,[,],],[,[,],],],],[,[,]]","[[,],],],[,],[,],[,[,[,[,],[,],[,],[,],],],],],],[,[,],[,],],[,[,[,],],[,[,],],[,[,],],],[,[,],],],[,[]","[],[,[,[,[,[,[,],],],],],],[,[,[,[,[,],[,[,],[,[,],[,[,[,[,[,[,],[,],],[,[,],],[,],],[,[,],[,[,],],],]]","[[,],],[,],[,[,],],[,],[,],[,[,],[,[,[,[,],[,[,[,[,],[,[,[,[,],],],[,[,[,],],[,[,],],[,],],[,[,[,[,],[]","[],[,],[,],[,],],[,],],[,],[,[,],],[,],],[,],[,],[,],[,],[,],],[,[,[,],],],],],],],],[,],[,[,[,[,[,[,[]","[[,],],],[,],],[,],],[,[,],[,],[,[,],[,[,],[,[,],],[,],],],],[,],[,[,],[,],[,],],],[,],],],[,[,[,[,[,[]","[],],],[,],],],],[,],[,],],],[,],],],[,[,],],[,],],[,],],],],],[,[,],[,[,],],],[,[,],],[,],[,[,[,[,],[]","[],[,[,],[,],[,],[,],[,[,],],],[,[,[,],],],[,[,[,[,[,],],[,[,],],[,[,],[,],],[,[,],[,],[,],],[,],[,[,]]","[[,[,[,[,[,[,[,],[,],[,],],[,[,[,],],[,[,],[,],[,],],[,[,[,],[,],],],],[,],[,[,],[,],[,],[,[,[,[,],],[]","[[,[,[,[,[,[,],],[,],],[,[,[,[,[,],[,],[,],],[,[,[,],],[,[,],],],],],],[,[,],[,[,[,[,],],],],],[,[,[,]]","[],[,[,],],[,],[,[,[,[,[,[,],],[,],[,[,[,[,],[,[,[,],],],[,],[,[,],[,],[,[,[,[,[,],],],],],[,[,],[,],[]","[],],[,[,],],],[,[,[,],],],],[,],],[,],[,],[,],],[,],[,],[,],[,],[,[,[,],[,[,[,],[,[,[,],[,[,],],[,],[]","[],[,[,],],],[,],[,[,[,],],],[,[,[,],[,],[,],[,],],[,[,[,],[,],[,[,[,[,[,],],[,],],[,],],[,[,],],],[,]]","[],[,],],],],[,],[,],],],],[,[,[,[,[,[,[,],[,],],[,],[,[,[,],],[,],[,],[,[,[,[,[,[,],],],],],],],],[,]]","[[,[,],[,[,[,[,[,],[,[,],],[,],[,],],[,],[,],],[,],],],[,],[,[,[,[,[,],],[,],],],[,[,],],[,[,],],[,[,]]","[],],[,],[,[,],],],[,[,[,],[,],],[,[,],],[,[,[,],],[,[,[,[,[,],],[,[,[,],],[,],],[,[,[,[,],],],[,[,[,[]","[],],[,],[,[,],[,],],],],],[,[,],[,],[,],[,],],],],[,],],[,],[,[,],],[,],[,],],[,],[,[,],],],[,],],[,[]","[[,],],],[,],],],],[,],],[,],[,[,],],[,[,],[,[,[,],],[,[,[,],],],[,[,],],[,],],],],],],[,[,],[,[,[,[,[]"],"output":false},{"file":"testcase_8.txt","input":["[[,],],[,],[,],],[,],[,],],],],],[,],],],[,],],[,],[,],],],],[,[,],],[,[,],],],],],[,[,[,[,[,],],],[,[,],[,[,],],[,[,],[,],],],[,[,],],[,],],[,],],],[,[,[,[,],[,[,],],[,[,[,[,]]","[],[,],],[,[,[,[,],[,[,],],],[,],],[,],[,[,],],],[,[,[,],[,],],],],],[,[,],],],[,],],],[,],[,],],],],[,],[,],[,],[,[,[,[,],],],],],],[,],],[,[,],[,[,],[,[,[,],[,],],],[,],[,],[]","[[,],],[,],[,[,[,],[,],],],[,[,],[,[,],],],],],[,[,],],[,[,[,[,],],[,[,],],],[,],],],],[,[,],[,[,[,[,],],[,],[,[,[,],[,],[,[,[,[,[,[,[,[,[,[,[,[,],[,],[,[,[,[,],[,],],],[,[,],]]","[[,[,],],],],],],[,[,[,],[,],],[,[,],[,],[,],[,[,],],[,[,],[,],],[,[,[,[,[,[,],],],],[,[,],],[,[,[,],],[,],],],[,],],[,[,[,],],[,[,[,[,],],[,[,[,],],[,[,],[,],[,],[,[,[,[,[,],[]","[],],[,],[,[,[,[,[,[,],[,[,],[,[,],[,],],[,[,[,[,],],],],[,[,],],[,[,],],],],],],],],],[,],],[,[,[,[,],],],[,],[,[,[,[,],[,],],[,[,[,],[,[,[,[,[,[,[,],[,[,[,[,[,[,[,[,],[,],[,]]","[[,[,],[,],[,],],[,],],],[,],],[,],[,[,[,[,],[,],],],],[,[,[,[,[,],],[,[,[,[,],],],],],],[,],],],],[,],],],[,[,[,[,[,],],[,],],],],[,],],],],],[,],],],[,[,[,],[,],[,[,],[,[,],[]","[],],[,[,],],],],],[,],[,],[,[,],[,],],],[,],[,[,],],],],[,],],],[,[,],[,[,],[,[,],],[,[,[,],],[,],],[,[,[,[,[,],],],],[,],[,],],[,[,[,],[,],],[,[,],[,[,[,],],],],[,[,[,],[,[,]]","[],[,],[,[,[,],[,[,],],],[,[,[,[,],[,[,[,[,[,],[,],[,],[,],],[,],],],],],],[,[,],[,[,[,],[,],[,],],],[,],[,[,],[,[,[,],[,],],[,],],[,[,],[,[,],],],],],],],],],],[,],[,],],],],[]","[[,[,[,],],],[,],],[,],[,],[,],[,[,],[,],[,[,[,],[,[,[,[,[,[,],],],[,[,],],[,],],[,[,[,[,[,[,],[,[,[,],],[,],[,[,[,[,[,[,[,],[,],],],[,],],[,[,],[,],[,[,[,[,[,],],[,[,],],[,[,[]","[[,],[,],[,],[,],[,[,],[,],],[,[,],[,],],[,],],],[,],[,[,],[,],],[,],[,[,[,[,],],[,],],],[,],],[,],],],],[,[,],[,[,[,[,[,[,[,[,[,],],[,[,[,[,],],],[,[,[,[,[,[,],],],],[,[,[,[,]]","[[,],[,],[,],[,],],[,[,],],[,],],],[,],],],[,[,],[,],],[,],],],[,[,],[,[,[,],[,],[,],[,],[,[,[,[,],[,],[,],[,],],[,[,[,],],[,],[,[,],[,[,],],[,],[,[,],[,[,],],],[,[,],],[,[,],]]","[],[,[,[,],],],[,],],],],[,[,],],],],[,],[,],[,],],],[,[,[,],[,],[,[,[,],],],[,],[,],[,],],],],],[,],],[,],[,],[,[,[,],[,],[,],],],[,[,[,],],],[,[,[,[,],[,],[,[,[,[,],],[,],[,[]","[[,[,[,[,[,[,[,[,],[,[,[,[,[,[,],[,[,[,],[,[,],],[,[,],],],],[,],],],[,[,],],[,],[,[,],[,[,[,[,],[,],],[,],[,[,],],],],],[,],],[,[,[,[,],[,],[,[,[,[,],],],[,],[,[,[,],],[,],],]]","[],],],[,],],[,],],[,[,[,],],[,[,[,[,],],],[,],],],],],],[,],],[,[,[,[,[,],[,],[,],[,],],],],],[,[,],],[,[,[,],[,],[,[,[,[,[,],[,[,],[,[,],[,],[,],[,],],[,],],[,],[,[,[,],],],]]","[[,[,],],[,[,[,[,],],[,[,],],[,[,[,],],],[,],],[,],],[,[,],],],[,],],[,[,[,[,],[,[,[,[,[,[,[,],[,],[,],],[,],[,],],[,[,],[,[,[,[,],],[,],],[,],[,],],[,[,[,],[,],],[,[,[,[,],[,[]","[[,],],[,],[,[,[,[,],[,[,],[,[,],],[,[,],],],[,[,[,],[,],],[,[,[,],],[,],],[,[,],[,[,[,],],],[,[,[,[,[,],[,],[,],[,[,[,],[,],],[,[,[,],[,[,[,[,],],[,[,],[,[,],],[,],[,[,[,[,],]]","[],],[,[,],],],[,[,[,[,[,[,[,],[,[,[,[,[,[,[,[,[,[,[,],],],[,],[,],],],],],],[,],],],],[,[,[,[,[,[,],],],],[,],[,],[,[,[,],],],],],[,],[,[,],[,],[,],],[,[,[,[,],[,[,],[,[,[,[,[]","[[,[,],[,[,],[,[,],],[,],],],],],[,],[,],],],],],[,[,[,[,],],[,],[,[,],[,],],[,[,[,[,],[,],[,[,],],],[,],[,],],],],],],[,],[,[,[,[,[,[,],[,[,],],[,[,],],],[,[,[,[,],[,],],[,[,[]","[],[,[,[,],],],],],],],],],],],[,],[,],[,[,],[,[,],[,],[,[,[,[,[,],[,[,[,[,],],],[,[,[,],],[,[,[,[,],],],[,[,],],[,[,[,[,],],],],[,],[,],[,[,],],],[,[,],[,[,],[,],[,],],[,[,[,]]","[[,],],[,],],[,],[,[,[,],],],[,],],],[,],],[,],],],[,],],],],[,[,],],],[,[,[,[,],[,[,],[,],[,],[,[,[,[,],[,],],],[,[,],[,],[,[,],[,[,[,[,],],],[,],[,[,],],[,],],],],],[,[,[,],[]","[],[,],[,],],[,],[,],[,],[,[,[,],[,],[,[,[,],[,[,[,[,[,],[,],],],],],[,[,],[,[,[,[,],],[,[,],[,[,],[,[,],],[,[,[,[,[,],],[,[,],],[,],[,],],],],[,[,],[,[,[,],],],[,[,],[,],[,],]]","[[,[,],[,[,],],],],],],[,],[,[,[,[,],[,],[,[,[,],[,],],],],],],],[,[,[,[,[,[,],],],[,],[,],[,],[,[,[,[,[,],],],[,],[,[,],[,],[,[,],[,],[,[,],[,],],],],],[,],[,[,[,[,[,[,[,],[,]]","[],[,[,[,[,[,[,],[,],],],[,],[,[,],],],[,],],],],[,],],[,],[,],],],[,[,],[,[,[,[,[,[,[,],],[,],[,],],[,[,[,[,[,[,[,[,],[,[,],[,[,[,[,],[,],[,[,],],],],],[,[,],],[,[,],],],[,],]]","[],],[,],[,[,[,],],[,[,[,],],],],],[,],[,],[,[,[,],[,],],],[,[,[,],[,[,[,],],],[,],[,],[,],],[,],],],],],],[,[,[,],[,],],[,[,[,[,[,[,],],[,],],],],[,[,[,],],[,[,],[,],],[,[,[,]]","[[,],[,],],],],],],],[,[,],],],[,[,[,[,[,[,],],],[,],],[,],],],],],],],[,[,[,],],[,[,],],[,[,[,[,],],],],],],[,],[,],],],],],[,],],[,[,],],],],[,],],[,[,],],],],[,[,[,[,[,],],]]","[[,[,[,],],],[,],],[,],],[,[,],],[,[,[,[,[,[,[,],],[,[,],],],[,[,],],],[,[,],[,],],],],],],],],[,[,],[,[,],[,],[,[,[,[,[,[,],],],],[,[,],],],],[,[,[,],[,],[,[,[,[,],[,],],],],[]","[[,[,],],[,[,],[,[,[,],],[,[,[,[,],[,],],],[,],[,],[,],[,],],],[,[,],[,],[,[,[,[,],],],],[,],[,],[,[,[,],],],],],],[,],],],[,[,],[,],[,[,],[,],[,],],[,],],],],],],[,[,[,[,],],[]","[[,[,[,],],[,],],],],],],[,],[,],],[,[,],[,[,[,[,],],],],[,[,[,],],[,],],[,],[,[,],[,],[,],],],],],[,[,],],[,],],],],[,[,[,],[,[,],[,[,],[,],[,],[,],],],],[,],],],],],],],],],]]","[[,],[,[,],[,[,[,[,],],],],[,[,[,],],],[,],],],[,],[,[,],[,],],],[,],[,[,],],[,],[,[,[,[,[,[,],[,],[,[,],[,[,],[,[,[,[,[,[,[,],[,[,[,],],[,[,],],[,],[,],],[,],[,],],],[,],],],[]","[],],],[,],[,],],[,],[,],],],[,[,[,],],[,],[,],[,],],[,],],[,[,],[,[,[,],],],],],],],[,],],[,[,],],[,],],],],[,],[,[,[,],],],],[,],[,],],[,],[,],[,],],[,],[,[,],],],],[,[,],[,]]","[],[,],[,],],[,[,],],],],],],[,[,],[,],],[,[,[,[,],[,[,[,[,[,[,],[,],[,[,],[,],],[,],[,[,[,],],[,[,[,],],],[,[,[,],[,],],[,],[,[,],[,[,],[,],],[,],],],[,],],[,[,],],[,[,],],],]]","[[,[,],],],[,],],[,],],[,],],],],],[,],[,[,],],[,[,],],],],[,[,[,[,],],[,[,],[,[,[,],],[,[,[,[,[,],[,[,[,[,],[,],],],[,[,[,[,[,],[,[,[,],],[,[,[,[,],],],[,],],[,[,[,],],],],[,[]","[[,[,],[,[,[,],[,],],[,[,[,[,[,],[,],[,],],],[,],[,],[,[,],],],],],],],[,[,],[,[,[,],[,[,[,],[,],],],],],],[,],[,[,[,],],[,[,[,],[,[,[,[,[,],],],],[,[,],],],],],],[,[,[,[,[,],]]","[],],[,],[,],[,[,[,[,[,[,[,],],],[,],],],],],[,[,],[,[,],[,],],[,],],],[,],[,[,],],[,[,[,[,],[,],],[,[,[,[,[,],],[,],],[,],],[,],[,[,],],[,[,[,[,],],],],[,],[,],[,],[,],[,[,],]]","[],],],],],[,],],[,[,[,],[,[,],],[,],],[,],[,],[,[,],[,],],],],],[,[,[,[,],[,[,[,[,],],],[,],[,],[,[,[,[,],],[,[,],],],[,],],[,[,[,[,],[,[,[,[,[,],],],],],[,],[,[,],],[,[,],],[]","[],],],],],],],[,],[,],],],],],[,],[,],],],],[,[,[,[,[,],[,[,[,],],],],],[,[,],],[,],],],[,[,[,],[,],[,[,[,],[,[,],[,[,[,[,[,[,],],[,[,[,],[,[,],[,],],],],[,],[,[,],[,],],[,],[]","[],],],[,],],],],],],[,],],],[,],],[,],],],],],[,],],[,[,],],],],],[,],],[,],[,],],[,],],],],[,[,],[,[,[,],],],],],],],],],[,[,[,[,],],[,[,[,[,[,[,[,],[,[,[,[,[,],[,[,],],[,],[]","[],],[,[,[,],[,],[,],],],],[,],[,[,],],[,[,[,[,],],],],],[,[,[,[,[,[,[,],],],],[,],[,[,[,],],[,[,[,[,[,[,],[,],[,[,[,],],],[,],[,[,],[,[,],[,[,],[,[,[,[,],],[,],[,[,[,],],[,],]]","[[,],[,[,[,[,],],[,[,],],],[,[,],[,[,[,[,],],],[,],],[,],[,],],[,[,[,[,[,],[,],[,],],],[,],[,[,],],],],],[,],],[,],],[,[,[,],],],[,[,[,[,],[,[,],],],],],],[,],[,],],],],[,],],]]","[[,],],[,[,],],[,[,[,[,],[,],],],[,],],],],],[,],[,[,[,],[,[,[,[,],[,[,[,],],[,[,],],[,],],[,[,],],[,],],[,],[,[,],],[,[,[,],[,[,],[,[,[,],],],[,],],],],],],[,],],],[,[,[,],],]]"],"output":0}]
|
check-if-there-is-a-valid-partition-for-the-array.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"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}]
|
check-if-two-chessboard-squares-have-the-same-color.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":["h6","b8"],"output":true},{"file":"testcase_10.txt","input":["f4","h4"],"output":true},{"file":"testcase_2.txt","input":["f4","a1"],"output":true},{"file":"testcase_3.txt","input":["c4","e2"],"output":true},{"file":"testcase_4.txt","input":["e3","h5"],"output":false},{"file":"testcase_5.txt","input":["b1","b7"],"output":true},{"file":"testcase_6.txt","input":["e3","g4"],"output":false},{"file":"testcase_7.txt","input":["h3","h8"],"output":false},{"file":"testcase_8.txt","input":["a7","a7"],"output":true},{"file":"testcase_9.txt","input":["f2","f5"],"output":false}]
|
circular-sentence.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":"KwzzKy pJLKHV Qz QnZJqoG ogR lTt nSGHlIpFmw izwhK","output":false},{"file":"testcase_10.txt","input":"VYoxOCgeEx p CNfUNXRCL oxxPyf NWqNXtR OVVCvB GJJJGm qaOeKV","output":false},{"file":"testcase_2.txt","input":"uFaDxC vWNOS Qju","output":false},{"file":"testcase_3.txt","input":"d ag UkcxiN UrTH pmBL ab akHl HTky W SNfaqBd","output":false},{"file":"testcase_4.txt","input":"H uNSHcElCH","output":false},{"file":"testcase_5.txt","input":"cyKgpZzzdH","output":false},{"file":"testcase_6.txt","input":"XnmSNFTTcl Lz YuxXiE CZQAE JGPPSsYH bKHJqtsX","output":false},{"file":"testcase_7.txt","input":"OZeIw zX BatcrW lJRKxkREe xbdO","output":false},{"file":"testcase_8.txt","input":"GbiuP sBQGidfJe Y PDQuXUDmvT VRVDUNe cfYaADTUsh NfSIBuG","output":false},{"file":"testcase_9.txt","input":"dUVu coUjq cIWiSba XwTq Hd","output":false}]
|
clear-digits.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":"3km30p4p79dau","output":"d"},{"file":"testcase_10.txt","input":"gqeb4r8me0j8t1rhc21ad3r05r2ekqv2","output":"gqemrekq"},{"file":"testcase_2.txt","input":"e9xm7irz0zskkql8hlqrcvnquyn1l2uwtwu8dassvfe8h96ihzxcek5g8xn3azvremtu52h47tjjexc","output":"xirzskkqhlqrcvnquyuwtwdassvihzxcexazvretjjexc"},{"file":"testcase_3.txt","input":"dvjkdee49pyf4zvn7uk3f2iib1p8736lfb3gb9ohia4tvcy9sq3dele4t9cithtoi7eob82qanlyjq9zqa8wstzdcg82yknq8f1","output":"dvjkdpyzvlfgohitvcsdelcithtoeqanlyjzqwstzdykn"},{"file":"testcase_4.txt","input":"oo4na2ople4tiw457kkwxuqlt55dnlna","output":"onoplkkwxuqdnlna"},{"file":"testcase_5.txt","input":"95cr6ulxr6yq4zkqarqteek4ygwnbwa2c058a3c8yox2eu2clyx9vpq0v0w3yvvi8ifheqihk5w884pwz","output":"lxyzkqarqteeygwnyoeclyvpyvvifheqpcu"},{"file":"testcase_6.txt","input":"17efdqeusxzpk0otbp77kwotbo1","output":"dqeusxzpotkwotbef"},{"file":"testcase_7.txt","input":"55w8sv7nlhfcwpw57t","output":"lhfcwpsn"},{"file":"testcase_8.txt","input":"tvvjsj6ao0idzef93g7","output":"tvvjsaidz"},{"file":"testcase_9.txt","input":"71wqb9gvab4a7e2hjj6fl0emvntiprh5zzihmwsp19cpbutojk9ljrhnpajn1zzbci1ceo3cdgbj","output":"gvahjfemvntiprzzihmwcpbutojljrhnpajzzbccecdgwq"}]
|
closest-equal-element-queries.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[[4,3,3,4,5,3,3],[6,3,6]],"output":[1,3,1]},{"file":"testcase_2.txt","input":[[9,6,1,10,8,7,1,7,6,7],[7,7,1,0]],"output":[2,2,3,-1]},{"file":"testcase_3.txt","input":[[5,1,2,1,1],[3,3,4]],"output":[1,1,1]},{"file":"testcase_4.txt","input":[[14,16,20,12,5,1,16,8,12,13,12,11,18,17,19],[13,8,3,5,4]],"output":[-1,2,5,-1,-1]},{"file":"testcase_5.txt","input":[[1],[0]],"output":[-1]},{"file":"testcase_6.txt","input":[[790,275,440,211,235,251,255,906,427,188,640,220,494,552,788,378,303,240,54,690,352,85,174,204,10,61,702,211,743,61,518,945,833,935,394,165,216,317,897,775,463,167,692,670,129,400,248,699,143,878,615,486,378,761,53,323,132,796,597,989,247,713,32,429,271,128,173,599,744,22,348,328,215,2,206,908,537,615,555,717,654,421,642,461,850,168,152,899,392,752,256,917,764,53,661,565,288,445,227,679,362,715,701,183,714,425,46,884,110,482,183,717,446,85,234,437,784,951,439,829,88,496,108,834,765,219,322,20,16,474,523,503,261,183,568,519,609,191,594,197,863,655,478,764,819,696,48,628,241,927,371,169,16,27,155,218,458,341,987,956,367,290,982,981,851,632,243,753,226,304,285,573,993,25,724,515,351,714,570,500,497,847,66,966,102,77,373,371,223,666,405,361,163,941,718,698,413,837,344,473,13,987,960,580,241,877,400,490,986,279,306,276,541,227,338,200,966,635,42,870,192,483,901,964,365,515,167,300,797,888,286,88,656,86,904,328,212,857,151,14,117,151,768,111,645,66,532,769,647,948,271,261,721,489,622,117,959,651,702,485,451,234,661,120,141,575,479,653,81,758,689,941,847,109,78,69,415,217,771,234,357,939,977,857,534,208,171,222,433,868,691,453,642,620,891,250,604,18,889,992,750,582,771,756,414,323,623,153,592,490,689,492,708,687,824,554,777,967,568,396,560,991,142,159,162,457,336,374,89,928,284,119,618,83,272,448,727,178,52,484,545,826,826,934,726,144,342,682,949,69,287,958,169,223,872,816,550,447,466,41,486,596,64,885,90,703,762,488,879,5,659,47,267,994,839,698,482,846,278,484,299,972,56,341,421,432,355,381,238,814,680,830,455,282,155,709,469,429,643,132,37,743,260,137,569,421,179,935,708,439,935,274,167,778,591,121,740,91,870,859,257,463,188,595,991,285,629,222,213,206,249,770,119,851,461,149,405,416,91,855,975,2,354,52,874,570,793,191,979,984,301,442,872,916,863,78,483,204,124,432,386,502,519,145,532,983,360,17,681,957,792,548,684,451,189,119,727,760,554,342,139,440,840,23,874,331,598,655,954,865,708,921,329,155,214,356,829,398,608,156,553,358,315,37,258,225,675,782,878,177,888,81,550,79,768,44,396,326,827,75,770,13,224,89,665,593,481,330,247,391,963,86,141,2,916,230,286,213,485,751,787,256,927,241,932,96,398,121,847,207,149,248,689,266,535,346,718,609,629,714,882,605,138,783,890,804,911,702,531,482,431,120,481,95,335,918,498,597,582,129,888,114,454,735,453,620,836,87,466,361,608,910,336,713,399,173,95,492,989,548,647,515,220,439,9,391,820,593,404,334,715,157,746,341,169,897,75,391,604,722,805,309,363,790,459,892,295,961,755,842,15,13,162,105,566,882,547,587,753,548,427,488,804,590,720,947,427,656,97,186,778,440,478,788,726,206,923,521,418,361,607,344,697,120,145,761,470,142,753,792,674,935,911,516,206,765,835,484,438,415,185,967,48,197,208,285,129,486,51,377,248,807,369,698,831,309,760,455,300,660,70,480,968,699,171,832,783,163,561,213,55,766,752,410,808,759,695,214,798,642,121,467,643,955,121,44,790,495,479,958,126,700,620,310,13,485,790,414,250,281,450,303,34,739,965,550,81,598,337,498,531,10,55,501,568,541,633,951,466,732,584,948,869,4,9,1000,228,478,673,480,607,696,669,87,491,417,488,281,48,501,410,344,184,859,14,182,696,406,508,189,674,966,651,717,361,84,299,762,415,619,382,310,23,443,70,466,178,129,800,379,154,334,403,650,6,890,820,175,810,999,317,128,582,968,737,251,715,897,486,238,530,892,415,481,826,868,135,734,84,869,187,314,832,842,153,74,838,956,609,361,493,136,432,193,353,667,433,326,626,645,840,420,577,577,935,160,218,728,990,462,997,414,830,617,22,667,479,301,921,436,445,787,570,284,381,873,400,835,619,584,129,960,199,525,292,690,78,626,425,93,116,827,384,750,269,762,798,366,56,139,725,517,396,76,927,81,900,707,40,404,400,43,279,132,39,875,324,902,686,229,416,698,870,756,845,263,108,199,179,13,875,672,373,168,662,824,202,787,207,507,579,147,587,908,46,569,816,596,418,111,377,762,948,548,476,732,230,769,30,813,873,818,343,76,781,823,245,707,372,350,349,155,144,599,620,686,338,579,965,191,432,391,865,871,444,468,254,819,576,956],[266,177,261,643,240,477,123,740,680,748,136,976,254,488,789,739,462,34,854,248,258,820,542,763,222,419,932,972,236,112,382,127,933,521,278,321,123,736,195,631,668,116,594,670,917,231,227,348,302,770,513,183,777,908,842,413,285,626,834,245,464,700,110,99,699,182,986,877,282,221,115,10,478,885,280,379,895,229,104,182,161,136,341,945,394,733,172,764,298,119,390,926,825,345,916,39,565,957,791,409,863,429,31,509,696,340,895,79,309,994,566,263,742,916,334,139,407,75,156,474,2,316,654,634,773,432,458,129,128,958,99,524,465,456,533,211,89,750,161,560,72,72,418,754,550,451,374,862,620,92,167,750,828,640,914,514,898,912,528,295,428,636,37,517,725,842,141,251,818,35,690,723,953,371,446,357,544,827,871,917,195,671,55,247,371,776,715,188,692,460,451,22,549,837,144,175,434,201,230,973,538,751,236,60,691,18,16,148,337,515,194,754,446,839,75,374,610,664,118,598,656,282,710,460,877,756,276,424,607,981,528,230,353,924,861,428,929,696,144,59,288,579,483,264,949,548,549,5,518,484,51,366,815,559,327,46,845,347,307,911,499,103,3,604,842,717,459,886,188,257,634,417,38,503,509,94,260,38,722,826,681,487,55,25,964,275,512,152,45,657,899,60,737,917,281,368,71,559,114,943,997,213,863,341,700,500,615,999,98,756,82,332,485,322,182,465,530,929,726,847,145,868,554,486,749,384,36,9,728,561,122,165,103,502,146,935,25,697,666,166,146,691,387,882,185,736,499,845,469,57,874,890,176,386,388,287,367,191,419,905,145,177,281,352,862,474,761,939,478,721,119,893,479,722,875,700,281,383,402,817,375,996,256,219,544,887,348,56,24,552,973,955,870,700,937,994,225,842,695,940,99,992,936,271,746,287,769,930,415,876,684,448,285,117,944,107,369,937,125,325,446,239,531,470,447,462,438,89,549,699,771,107,167,478,611,546,287,106,824,571,645,834,649,371,826,199,577,635,701,239,678,855,735,943,998,492,841,662,199,157,562,205,149,641,728,436,94,345,314,780,926,637,377,237,528,14,483,768,242,742,825,366,974,75,599,566,669,553,792,243,999,413,206,778,966,525,441,518,918,946,793,833,169,594,254,491,595,23,863,465,542,391,566,930,288,928,61,353,232,497,37,889,15,794,942,190,199,501,458,205,483,456,772,359,180,191,14,751,242,445,232,873,292,143,258,154,520,432,514,564,776,815,585,521,851,100,525,846,708,415,172,737,155,601,30,271,720,397,308,571,60,923,623,317,807,44,435,496,172,885,550,88,667,166,546,813,804,562,873,168,243,888,951,790,296,293,881,837,318,998,751,47,677,751,858,72,886,67,510,861,54,210,96,679,193,241,368,150,249,883,527,700,418,73,81,493,81,255,104,877,740,215,968,342,752,449,464,165,663,147,300,959,532,680,207,526,23,888,69,933,675,536,530,254,316,96,550,756,122,356,360,704,444,841,932,77,774,934,483,781,606,611,463,704,388,175,855,611,606,188,511,802,756,571,2,554,94,955,158,306,201,441,703,138,93,300,886,414,221,933,698,909,867,8,128,259,262,975,708,382,119,781,694,226,309,646,623,570,359,103,188,400,120,632,61,473,253,952,541,873,719,634,147,269,585,407,164,236,481,858,249,237,535,465,452,653,357,665,203,48,616,108,493,532,275,690,216,1,17,970,139,739,192,794,180,559,715,564,832,546,814,13,290,320,810,180,929,929,25,888,293,534,466,566,534,891,191,720,2,389,316,667,897,902,247,596,458,635,394,957,118,659,980,918,758,774,357,774,264,308,989,258,660,209,633,489,508,712,917,89,59,707,89,179,668,161,138,372,46,784,60,138,372,279,11,49,743,39,791,989,63,249,961,10,562,675,385,195,646,137,785,128,502,911,516,649,837,341,897,911,795,651,78,257,459,939,364,146,986,987,719,903,533,2,957,168,246,731,163,73,234,556,20,339,287,236,191,793,856,687,664,116,453,564,668,74,340,242,856,657,654,605,325,720,620,10,866,223,693,891,13,541,844,236,642,735,790,333,133,866,74,144,684,146,883,509,161,34,525,316,455,668,693,880,772,959,163,956,325,974,532,958,69,550,689,644,322,271,140,511,953,126,42,10,867,97,584,142,809,935,152,179,908,783,228,455,320,29,70,176,661,1,192,708,135,195,576,680,528,156,534,129,955,653,409,410,976,828,713,463,599,304,881,11,214,448,117,897,596,209]],"output":[390,73,18,-1,15,219,-1,-1,-1,-1,288,-1,-1,-1,315,38,327,-1,-1,352,232,217,372,-1,-1,364,287,-1,-1,-1,474,-1,370,110,24,103,-1,10,180,103,30,-1,-1,120,60,111,471,-1,24,110,-1,33,38,474,137,237,399,-1,492,63,218,104,7,-1,-1,63,228,427,-1,235,-1,-1,163,85,-1,40,124,281,73,63,-1,288,1,369,99,68,-1,160,-1,377,-1,-1,180,363,-1,-1,77,404,392,194,1,226,-1,-1,219,-1,124,32,102,-1,106,308,-1,-1,-1,456,3,122,-1,315,351,-1,310,-1,186,43,-1,-1,24,300,-1,-1,-1,235,92,-1,377,182,-1,75,-1,-1,199,380,115,-1,-1,1,-1,51,471,182,141,6,235,272,207,396,468,443,109,-1,217,340,210,137,346,119,-1,-1,139,-1,122,-1,-1,-1,-1,211,134,60,180,193,250,280,-1,135,-1,165,-1,-1,-1,-1,399,-1,147,50,351,43,306,60,197,273,-1,468,-1,-1,275,56,469,210,362,380,-1,77,122,-1,216,201,291,461,-1,-1,42,-1,427,-1,403,103,82,173,468,306,165,-1,-1,109,-1,219,147,461,432,107,319,268,-1,276,399,180,383,40,223,405,251,382,-1,356,-1,-1,463,-1,-1,7,24,160,137,223,74,34,165,465,-1,21,211,103,-1,168,213,211,324,216,364,346,250,4,-1,74,156,24,125,-1,-1,468,134,60,-1,-1,164,382,147,142,147,115,1,1,104,-1,212,152,115,-1,210,-1,-1,345,63,-1,-1,-1,10,152,359,-1,-1,261,173,21,-1,413,148,-1,186,-1,7,-1,368,-1,4,305,-1,-1,368,-1,497,296,-1,10,-1,-1,-1,-1,195,83,-1,-1,441,140,274,342,364,56,359,73,-1,201,1,315,201,205,163,-1,377,-1,133,324,20,104,-1,226,-1,-1,180,-1,-1,199,-1,211,-1,133,273,242,60,449,-1,104,45,-1,50,137,74,15,-1,497,186,78,169,140,68,493,132,148,399,-1,399,360,-1,-1,-1,45,-1,-1,-1,455,298,199,310,327,21,377,399,-1,15,-1,471,163,-1,49,140,152,-1,92,-1,492,-1,-1,216,-1,481,75,68,455,-1,20,197,142,-1,-1,-1,-1,-1,226,-1,-1,235,135,148,246,168,363,369,67,-1,315,-1,46,468,361,319,-1,272,-1,180,405,-1,122,40,106,199,-1,465,284,152,237,161,96,431,82,92,383,-1,-1,286,261,-1,-1,-1,387,471,434,1,-1,372,481,106,493,432,57,468,165,415,49,217,129,37,55,244,246,-1,-1,-1,-1,319,235,-1,-1,-1,342,361,273,272,267,415,-1,210,51,232,173,89,43,272,251,135,251,147,110,-1,-1,82,-1,-1,132,-1,134,289,376,-1,78,4,334,-1,92,468,133,103,364,83,154,115,377,-1,85,115,-1,345,-1,49,-1,104,-1,-1,-1,284,89,-1,120,322,292,66,-1,184,-1,273,344,298,273,39,-1,34,84,70,-1,39,-1,-1,119,78,3,-1,37,287,447,-1,104,199,368,303,99,303,15,73,427,-1,-1,-1,1,42,-1,218,-1,92,-1,397,284,268,-1,102,46,434,89,195,370,449,306,-1,-1,-1,-1,115,-1,186,156,309,418,40,-1,287,27,-1,-1,319,120,210,-1,201,418,441,50,20,-1,210,165,235,319,-1,92,351,-1,168,449,43,-1,43,92,344,-1,39,397,34,-1,235,370,471,429,-1,362,24,279,168,-1,-1,474,377,120,-1,185,102,6,103,-1,-1,7,165,103,111,308,468,213,-1,315,451,-1,363,-1,-1,-1,147,3,269,-1,170,39,287,46,431,-1,98,361,-1,388,-1,-1,97,-1,99,268,74,139,33,-1,-1,85,456,38,485,55,-1,382,-1,251,34,49,-1,-1,-1,-1,-1,-1,-1,-1,4,89,292,81,-1,106,81,311,342,4,351,-1,-1,345,39,-1,280,23,-1,75,99,404,291,70,-1,-1,47,-1,-1,-1,268,-1,148,232,110,287,-1,497,459,377,60,377,461,485,377,-1,30,-1,-1,-1,356,455,468,-1,-1,18,409,459,-1,-1,392,148,334,287,56,-1,-1,449,74,180,6,148,-1,24,-1,-1,197,-1,-1,1,39,-1,43,170,-1,465,74,205,-1,368,228,37,363,397,92,351,404,-1,218,-1,-1,368,-1,362,-1,40,140,-1,342,286,432,141,201,-1,81,251,30,355,-1,272,432,-1,310,12,-1,4,-1,-1,289,-1,238,311,-1,451,463,-1,77,197,120,-1,23,289,355,147,399,368,447,-1,-1,-1,82,-1,181,30,238,217,-1,284,-1,399,-1,-1,268,300,195,115,271,-1,345,78,314,235,122,-1,-1,-1,-1,217,293,375,-1,-1,24,-1,474,364,-1,181,-1,4,-1,-1,120,-1,485,-1,327,180,173,-1,468,-1,81,-1,449,361,194,3,-1,141,67,201,40,433,66,409,228,-1,360,39,23,287]},{"file":"testcase_7.txt","input":[[159,534,186,241,175,300,875,533,973,754,652,144,440,756,937,33,733,575,675,940,619,309,544,954,442,180,463,504,556,887,3,112,419,895,382,509,576,882,793,264,686,875,130,987,831,881,64,64,176,938,825,560,398,17,248,959,388,966,215,993,444,112,114,166,657,583,89,825,937,107,611,209,346,16,336,829,585,597,526,53,468,861,445,653,191,202,391,352,201,244,864,627,327,322,144,32,931,644,118,949,896,39,292,465,443,317,9,26,577,928,126,392,996,201,354,893,554,598,479,946,839,236,782,632,542,94,451,529,661,480,617,634,769,873,620,844,329,99,315,37,866,920,135,579,250,378,795,527,441,631,600,640,806,715,36,611,217,660,8,827,612,59,60,642,554,383,489,408,190,898,234,931,587,172,755,186,671,578,870,909,625,923,835,161,732,32,609,576,932,612,477,783,321,464,333,187,362,895,374,417,937,671,730,1000,46,395,102,479,83,700,490,26,635,316,219,924,463,759,683,244,237,959,131,879,886,686,190,901,794,957,998,630,684,672,549,135,276,32,928,740,149,126,194,619,567,776,965,247,987,359,737,807,595,457,834,643,601,182,87,901,445,164,658,35,384,79,377,609,760,980,610,178,304,718,138,842,733,4,840,983,859,123,382,912,202,718,382,850,567,809,193,481,813,6,341,129,777,731,551,449,203,16,108,440,741,563,425,398,980,322,733,7,89,128,427,592,963,502,806,697,739,323,942,142,715,187,520,975,343,101,541,911,961,167,286,744,718,804,288,929,412,382,762,766,453,914,41,743,69,793,461,798,118,734,947,432,817,69,921,953,221,318,349,588,53,269,223,122,430,399,877,801,567,202,359,7,549,402,404,30,939,148,627,839,625,924,736,633,261,864,149,79,663,864,96,294,777,262,165,86,529,985,754,909,611,297,514,734,602,798,448,341,225,959,272,950,487,645,848,385,571,865,78,747,589,260,630,1,150,404,789,821,888,790,48,74,20,943,905,875,530,241,113,249,164,46,159,633,9,665,652,342,892,840,75,289,332,603,102,302,921,850,878,322,775,22,952,816,483,67,423,151,997,333,699,393,379,831,142,240,70,858,247,76,119,798,850,362,297,176,182,459,918,538,450,869,264,728,875,24,395,602,158,189,144,503,415,156,513,278,972,564,433,334,225,900,538,141,775,783,540,886,263,480,825,629,634,136,199,87,705,937,667,88,314,470,599,81,674,431,498,925,997,643,401,227,361,352,641,74,791,88,383,798,67,65,410,750,698,545,153,693,223,388,84,363,257,198,268,658,523,814,870,510,928,269,862,372,384,310,514,788,443,159,784,858,950,965,556,580,787,35,138,875,622,55,773,251,826,654,475,621,137,787,338,326,35,163,359,943,801,411,875,896,96,524,29,132,290,891,663,576,176,225,810,211,218,435,516,980,683,648,78,874,3,359,844,243,783,929,972,153,972,271,699,41,145,49,38,141,42,86,225,570,260,149,83,965,507,892,579,418,798,266,356,57,257,287,684,249,627,791,800,575,644,439,155,370,860,539,693,706,487,434,644,296,889,31,574,143,678,515,923,468,48,947,725,854,276,438,477,398,293,684,972,519,29,843,607,267,863,837,228,674,276,996,258,469,899,432,198,833,912,136,536,10,459,907,205,545,252,527,330,297,821,549,900,469,883,345,935,606,328,521,866,83,431,793,870,146,125,508,725,161,674,343,393,997,198,170,103,251,521,597,426,281,703,336,206,471,653,261,270,555,180,638,386,437,808,730,766,202,33,913,429,892,465,51,34,901,907,75,838,357,792,980,998,496,492,618,546,491,976,794,153,318,546,821,812,265,112,476,690,513,748,593,228,12,275,385,671,160,489,460,201,412,676,725,417,87,250,86,316,750,170,246,504,185,624,210,94,877,658,525,38,330,652,903,408,955,821,794,478,785,100,476,83,667,319,313,163,370,112,548,460,879,527,125,876,513,50,831,476,775,466,265,951,375,613,84,310,897,701,566,230,697,125,899,831,806,978,862,794,67,755,14,698,390,402,675,311,922,416,758,650,153,32,940,202,684,775,981,939,829,19,782,239,813,913,73,370,740,550,754,531,197,981,714,530,982,945,801,25,480,739,136,578,655,793,604,103,740,311,362,908,264,423,865,675,683,506,250,925,314,806,747,779,472,189,724,533,347,44,137,761,761,372,953,708,343,238,283,973,739,94,773,767,537,914,695,561,285,605,517,863,114,187,631,141,364,567,662,87,363,322,289,90,342,513,383],[837,9,518,691,283,22,718,162,790,296,820,651,861,196,61,217,622,451,430,489,8,959,2,34,445,453,474,370,171,78,598,442,151,998,825,147,612,227,704,25,451,572,303,408,414,332,854,427,78,54,623,115,150,312,437,801,219,625,619,22,406,670,944,215,176,484,997,736,350,450,771,756,273,139,160,383,542,650,271,214,391,322,707,232,511,225,312,54,267,277,486,319,33,80,676,976,715,839,144,406,601,143,82,129,977,871,735,311,159,672,405,510,130,321,527,665,278,603,771,774,968,366,509,154,341,295,307,944,174,452,616,609,925,796,214,417,59,988,991,668,676,174,152,617,648,98,860,165,471,153,809,273,782,492,159,63,900,183,909,155,801,481,175,404,488,36,680,433,704,883,222,56,159,659,835,837,327,789,318,431,572,63,531,512,424,181,146,995,507,385,469,415,218,619,191,142,655,527,786,430,126,219,230,264,727,946,926,144,266,752,824,254,496,636,858,357,36,772,485,500,963,359,977,72,401,240,16,7,990,59,390,471,294,541,902,873,563,587,349,550,178,348,312,609,658,607,227,129,127,560,798,687,813,544,255,127,682,708,706,316,890,407,825,970,709,728,287,946,547,368,115,381,337,773,535,428,51,323,846,186,604,465,583,125,278,650,188,471,430,304,874,80,38,760,251,624,860,204,763,947,584,548,248,974,606,566,597,958,279,893,235,592,604,397,157,662,830,388,823,338,143,941,540,254,348,717,966,256,772,305,456,766,835,359,34,170,336,91,676,379,480,699,652,4,601,381,610,169,528,906,299,860,30,251,239,991,538,194,264,371,726,961,405,64,63,872,978,216,453,246,786,748,965,568,764,223,674,190,21,840,169,324,517,58,532,41,168,32,333,195,919,713,168,16,3,210,748,281,924,311,352,466,378,958,878,501,685,603,364,834,223,938,787,929,449,410,998,848,198,540,791,726,758,595,438,86,481,689,569,155,121,758,13,248,646,429,829,78,998,573,523,184,908,92,143,786,113,630,329,267,499,994,125,164,602,241,436,590,616,184,750,471,588,783,178,49,223,673,543,431,64,12,819,705,257,429,665,584,520,799,323,431,599,663,714,410,144,834,896,661,452,813,361,554,554,21,401,80,88,898,608,116,181,939,105,233,352,872,128,103,753,59,904,567,153,8,400,552,383,48,250,861,641,616,160,676,779,304,434,20,648,166,829,94,530,243,186,412,789,813,944,470,463,745,682,476,279,319,403,433,179,996,936,911,847,804,869,760,650,87,957,835,281,283,34,578,457,633,486,134,475,146,848,267,162,800,116,668,673,161,151,652,397,119,647,683,315,236,218,3,431,738,116,66,212,911,688,534,857,254,214,613,431,452,175,824,933,884,840,739,280,494,187,981,340,963,153,216,611,688,265,262,816,350,685,237,250,711,584,801,872,663,961,889,59,80,528,987,340,427,322,306,115,851,233,526,233,571,8,11,835,582,230,669,928,352,810,174,910,124,742,439,278,833,73,740,883,838,337,254,457,903,812,800,23,222,136,440,698,1,573,643,790,447,65,378,570,510,951,183,267,836,891,648,653,437,988,460,579,943,792,40,391,834,92,151,568,923,346,19,236,327,422,126,766,420,196,422,711,632,258,324,579,15,159,871,70,117,800,370,580,173,400,570,523,515,331,551,740,334,955,69,390,446,407,112,969,322,799,501,238,846,56,758,9,207,489,534,838,952,47,50,578,312,313,526,419,112,759,546,248,181,443,837,859,397,896,280,976,242,162,533,105,297,539,822,8,678,856,902,908,72,878,988,177,724,718,937,837,970,898,903,799,131,225,655,21,773,58,878,881,894,273,882,963,368,29,216,399,914,678,826,855,258,276,197,162,483,184,414,296,82,585,769,476,560,850,47,221,626,904,622,562,679,801,931,578,867,350,691,73,508,175,25,959,969,667,798,480,202,302,182,248,414,429,605,157,818,630,632,356,459,808,693,903,985,349,378,792,705,401,35,136,394,90,138,666,431,995,826,407,275,600,783,673,828,728,723,706,992,121,484,650,513,375,759,620,84,157,395,221,665,152,405,201,567,676,888,665,491,576,821,438,327,565,357,714,399,303,400,364,296,178,562,563,78,832,409,770,886,330,794,891,463,576,403,36,90,809,248,365,142,43,376,515,635,378,114,742,304,951,642,846,828,554,501,872,213,83,793,331,842,456,782,847,617,339,475,437,531,176,511,103,233,116,570,844,522,802,319,680,283,962,502,633,680,978,189,260,82]],"output":[-1,86,54,-1,439,-1,169,-1,63,100,356,180,59,253,30,-1,133,454,-1,133,36,-1,173,248,241,175,170,471,75,-1,-1,-1,-1,129,485,281,19,32,62,251,454,176,291,93,-1,-1,-1,-1,-1,-1,29,-1,-1,246,172,-1,130,-1,-1,-1,174,288,-1,170,25,-1,454,221,-1,396,383,281,12,-1,29,263,70,-1,-1,-1,126,-1,-1,323,-1,185,246,-1,81,-1,25,434,164,387,-1,-1,397,-1,193,174,-1,483,178,196,-1,17,359,64,-1,-1,83,130,-1,-1,196,-1,175,13,383,251,-1,196,-1,-1,55,-1,255,-1,280,207,90,172,-1,434,-1,-1,-1,339,-1,35,-1,280,166,-1,196,254,253,166,-1,171,66,12,233,-1,-1,-1,42,430,206,85,-1,104,173,249,83,151,119,-1,62,-1,-1,493,-1,126,-1,-1,-1,438,166,303,176,-1,331,-1,-1,489,-1,460,-1,170,85,171,269,-1,328,93,265,196,317,-1,-1,130,434,314,63,476,15,193,-1,56,264,-1,449,499,-1,9,151,-1,68,295,361,392,-1,-1,-1,150,260,47,254,-1,150,-1,117,411,-1,37,493,70,311,121,394,9,246,172,-1,253,32,196,273,81,-1,-1,56,-1,288,273,266,-1,90,-1,-1,54,485,-1,-1,-1,174,476,460,-1,-1,-1,-1,-1,-1,-1,-1,155,164,81,-1,-1,137,151,175,-1,-1,-1,-1,-1,-1,387,100,180,-1,-1,253,241,314,474,-1,-1,205,134,15,100,164,455,-1,339,93,318,-1,-1,-1,109,121,383,41,-1,483,20,-1,-1,9,20,389,-1,-1,-1,-1,-1,-1,392,248,-1,51,291,-1,-1,-1,-1,29,-1,-1,-1,239,-1,-1,189,-1,253,396,-1,298,-1,175,279,314,239,235,-1,83,-1,-1,17,367,190,175,341,317,176,1,-1,-1,358,10,490,-1,134,-1,171,132,-1,325,35,58,-1,-1,130,-1,41,58,260,438,-1,176,-1,-1,64,254,-1,51,455,-1,93,-1,13,285,75,358,100,-1,-1,-1,-1,129,319,-1,-1,337,235,38,-1,-1,-1,104,-1,273,85,-1,38,-1,205,-1,51,163,-1,129,-1,394,-1,127,-1,483,317,25,319,-1,81,-1,99,151,48,361,131,-1,13,90,-1,117,-1,440,135,394,-1,358,344,288,303,-1,291,400,-1,233,51,-1,-1,-1,-1,155,303,-1,-1,16,-1,193,75,338,-1,207,56,444,85,85,-1,-1,387,25,479,27,48,489,-1,-1,-1,254,17,-1,317,430,-1,-1,153,171,36,273,387,263,426,-1,59,81,90,29,-1,423,-1,260,223,196,344,163,83,-1,223,81,102,438,56,-1,476,154,89,266,-1,-1,434,224,-1,224,-1,241,15,-1,101,56,180,-1,460,-1,-1,-1,439,248,314,-1,-1,25,-1,281,-1,319,81,-1,6,48,35,344,-1,-1,29,-1,-1,-1,-1,-1,462,269,438,303,-1,48,246,-1,15,-1,419,325,-1,-1,487,303,207,173,264,196,-1,134,-1,-1,-1,151,-1,485,361,171,190,-1,-1,126,307,104,-1,-1,52,-1,-1,-1,-1,17,-1,-1,65,-1,387,-1,162,485,-1,-1,-1,-1,41,-1,395,-1,-1,36,83,-1,478,434,226,488,254,52,280,37,-1,-1,59,175,276,228,-1,-1,-1,-1,-1,-1,-1,-1,6,-1,-1,-1,488,16,-1,-1,-1,63,60,-1,51,-1,130,121,430,81,191,315,196,-1,172,339,102,301,253,-1,185,126,75,-1,-1,-1,86,299,112,462,-1,210,-1,-1,-1,253,210,-1,210,266,171,301,233,-1,17,85,-1,6,471,174,-1,273,-1,394,221,-1,18,-1,-1,468,-1,150,137,54,397,214,-1,-1,93,129,164,493,38,86,89,133,419,-1,411,1,17,314,246,-1,395,400,397,75,-1,205,489,226,-1,-1,-1,338,-1,-1,-1,-1,18,-1,-1,207,344,36,-1,111,-1,127,-1,-1,339,241,-1,169,-1,-1,-1,479,-1,-1,395,185,265,-1,-1,-1,-1,-1,280,12,-1,361,-1,-1,190,252,-1,-1,-1,17,266,34,164,-1,-1,-1,-1,100,178,104,-1,-1,81,43,1,166,-1,-1,133,196,-1,-1,321,314,19,-1,-1,228,305,173,251,-1,214,-1,-1,-1,423,-1,-1,205,-1,51,-1,-1,-1,319,210,-1,-1,-1,387,-1,77,311,51,-1,-1,-1,-1,-1,220,299,-1,100,303,460,-1,54,-1,-1,135,344,371,-1,196,90,163,-1,-1,-1,-1,64,75,228,-1,-1,-1,166,-1,166,83,25,153,-1,17,-1,235,315,-1,-1,-1,428,9,16,252,291,273,285,100,394,196,493,-1,381,58,313,19,-1,-1,315,154,315,224,151,299,66,205,210,93,205,142,221,27,51,-1,-1,-1,121,2,164,371,85,93,17,381,313,-1,-1,273,-1,233,-1,-1,300,281,172,331,25,-1,317,-1,48,-1,196,-1,-1,434,119,439,-1,-1,-1,119,367,29,178,178]}]
|
closest-prime-numbers-in-range.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[{"file":"testcase_1.txt","input":[113,545],"output":[137,139]},{"file":"testcase_10.txt","input":[243,874],"output":[269,271]},{"file":"testcase_2.txt","input":[614,647],"output":[617,619]},{"file":"testcase_3.txt","input":[187,666],"output":[191,193]},{"file":"testcase_4.txt","input":[86,340],"output":[101,103]},{"file":"testcase_5.txt","input":[581,689],"output":[599,601]},{"file":"testcase_6.txt","input":[982,995],"output":[983,991]},{"file":"testcase_7.txt","input":[663,990],"output":[809,811]},{"file":"testcase_8.txt","input":[919,976],"output":[937,941]},{"file":"testcase_9.txt","input":[912,918],"output":[-1,-1]}]
|