Results

Final Round Results

AD5's solution for 400: DigitsGame, written in Java, submitted on 07.06.2015 14:47:26

Test cases result

#Test Case inputExpectedReceivedStatus
1.
65, 39
"93,39"
"93,39"
Correct
2.
3, 3
"3,0"
"3,0"
Correct
3.
5, 4
"0,4"
"0,4"
Correct
4.
84270, 85550
"85055,80555"
"85055,80555"
Correct
5.
6560567966, 7539193882
"7123358899,5
998873321"
"7123358899,5
998873321"
Correct
6.
624, 827
"728,287"
"728,287"
Correct
7.
240, 978
"789,0"
"789,0"
Correct
8.
597, 596
"659,596"
"659,596"
Correct
9.
555555559, 555555558
"555555585,55
5555558"
"555555585,55
5555558"
Correct
10.
1055179524580365422741541605930652807911
167910, 74670621822794798495384395275168
90985354955342
"105517952458
0365422742233
3444556677788
88999999,1055
1795245803654
2273999999888
8777665544443
322"
Exception occured when executing test NumberFormatException: For input string: "1055179524580365422741541605930652807911167910"Error
11.
1397686185179196649008793548892989105898
99854975592405953553, 327732713997139130
3909553226349009167191129187799785656202
35
"139768618517
9196649009000
1111222222233
3333335555777
777999999,139
7686185179196
6490079999999
7777755553333
3333222222211
11000"
Exception occured when executing test NumberFormatException: For input string: "139768618517919664900879354889298910589899854975592405953553"Error
12.
1032843032393175322850442439240867779395
41087649786535541557, 650286957160028600
8292934621827173000186239108076035547812
14
"103284303239
4000000000111
1112222224555
5666666677777
888888999,103
2843032392999
8888887777766
6666655554422
2221111110000
00000"
Exception occured when executing test NumberFormatException: For input string: "103284303239317532285044243924086777939541087649786535541557"Error
13.
1462437019515236543769, 1021358716934835
320466
"146243701951
5236603388,14
6243701951523
6388630"
Exception occured when executing test NumberFormatException: For input string: "1462437019515236543769"Error
14.
3648600160979909, 6456906019078467
"400014566667
7899,19987766
66544000"
Timeout
15.
9148349938, 4559113786
"9148351567,9
148317655"
"9148351567,9
148317655"
Correct
16.
9134901453, 5469557098
"9405556789,9
098765554"
"9405556789,9
098765554"
Correct
17.
2219676721615552207994262354690355385495
041520, 86971991345085058043654295553945
29447566351710
"221967673000
0111333444444
5555555555667
88899999,2219
6767199999888
7665555555555
4444443333110
000"
Exception occured when executing test NumberFormatException: For input string: "2219676721615552207994262354690355385495041520"Error
18.
18247859933510778348413421753031, 561025
21861336681737698018764585
"182478600111
1233355556666
6778889,18247
8598887766666
6555333211110
0"
Exception occured when executing test NumberFormatException: For input string: "18247859933510778348413421753031"Error
19.
9990858237064117488848728378465725664807
4285651240632294649, 2293577270581879990
7993841205606885233741362112213979822704
"999085823706
4117488848729
0001111222222
2233333555667
77779999,9990
8582370641174
8884872799999
7777665553333
3222222221111
000"
Exception occured when executing test NumberFormatException: For input string: "99908582370641174888487283784657256648074285651240632294649"Error
20.
12771717709167980985, 608831276460771748
81
"127717178003
44666888,1277
1717688886644
300"
Exception occured when executing test NumberFormatException: For input string: "12771717709167980985"Error
21.
8715303819785740152882637476851330254235
50049014129437095, 514521189857181617746
039074495692082946494900669788757742
"871530400001
1111222244444
4455556666667
7777778888899
999999,871530
2999999998888
8777777766666
6555544444444
222111110000"
Exception occured when executing test NumberFormatException: For input string: "871530381978574015288263747685133025423550049014129437095"Error
22.
7606442102151, 7246738750250
"760702234557
8,76058775432
20"
Timeout
23.
7405740434458217247, 9853568513995147968
"741133555566
8889999,73999
9888665555431
1"
Exception occured when executing test NumberFormatException: For input string: "9853568513995147968"Error
24.
106538772739509610218585072, 26439741197
1301172990262169
"106601111122
2233446777999
99,1064999997
7766433222211
1110"
Exception occured when executing test NumberFormatException: For input string: "106538772739509610218585072"Error
25.
6131815877626913352120502641671621374594
8953088888821602, 2789762611324234324922
7066592518313834548981916603975740
"613181587762
6913352120502
6416720222333
3444445677888
99999,6131815
8776269133521
2050264167099
9998887765444
4433332222"
Exception occured when executing test NumberFormatException: For input string: "61318158776269133521205026416716213745948953088888821602"Error
26.
1987793299826756541304148033990662983, 2
797261066804665640793625813996667812
"198779329982
6756541304160
022666666678,
1987793299826
7565413041287
66666666200"
Exception occured when executing test NumberFormatException: For input string: "1987793299826756541304148033990662983"Error
27.
21884620589120549, 60250975667462729
"220024556666
77799,2099777
6666554220"
Timeout
28.
1438937380, 8108566882
"1502668888,1
288886650"
"1502668888,1
288886650"
Correct
29.
617197188096654100957, 81090898519749092
9172
"700011122457
888999999,599
9999888774221
11000"
Exception occured when executing test NumberFormatException: For input string: "617197188096654100957"Error
30.
4886, 3143
"0,4331"
"0,4331"
Correct
31.
829546160192417923247554, 76440626842564
4252668054
"840022224444
455566666678,
8287666666555
44444422200"
Exception occured when executing test NumberFormatException: For input string: "829546160192417923247554"Error
32.
3949304733353, 9108047005152
"400001125578
9,29875541100
00"
Timeout
33.
5925130107763042601715107190226686437189
004, 73259390588327582412935333027369827
50183296
"592513010776
3042622222333
3333555778888
89999,5925130
1077630425999
9888887765533
3333322222"
Exception occured when executing test NumberFormatException: For input string: "5925130107763042601715107190226686437189004"Error
34.
758354404101840464994088123676, 39912487
0780051526312170047618
"758354406000
0111112223677
78899,7583544
0399887776622
2111110000"
Exception occured when executing test NumberFormatException: For input string: "758354404101840464994088123676"Error
35.
4342052382959064919996627084659493008156
2995175707857, 1239047732946763246195782
4601379959524801317877959978
"434205238295
9064919996627
0846594931111
2335777777778
89,4342052382
9590649199966
2708465949298
8777777775333
1111"
Exception occured when executing test NumberFormatException: For input string: "43420523829590649199966270846594930081562995175707857"Error
36.
99, 34
"0,43"
"0,43"
Correct
37.
11931346787270480271111, 946765106772442
89971240
"119400222444
56667777899,1
1929987777666
544442200"
Exception occured when executing test NumberFormatException: For input string: "11931346787270480271111"Error
38.
76975428286385514982126548886919280, 493
47580665247296379634504283480034
"769754282863
8552000033334
4444466799,76
9754282863855
0997664444443
3332000"
Exception occured when executing test NumberFormatException: For input string: "76975428286385514982126548886919280"Error
39.
5319011608, 7611021094
"6001112479,4
976211100"
"6001112479,4
976211100"
Correct
40.
6394838558253167, 1931809957632748
"639483857011
2799,63948385
29977110"
Timeout
41.
9129476565005065790989508521993041729829
403, 60789796545043430694426339764524634
65862917
"912947656500
5065792233333
4444444666667
78899,9129476
5650050657899
9877666664444
4443333322"
Exception occured when executing test NumberFormatException: For input string: "9129476565005065790989508521993041729829403"Error
42.
86335860645613978021530082, 470791157750
12746296269009
"900001112224
4556667777799
9,79999777766
6554422211100
00"
Exception occured when executing test NumberFormatException: For input string: "86335860645613978021530082"Error
43.
7930509597616562, 1799528043501349
"793050959811
2344,79305095
94843211"
Timeout
44.
8070269276988726974041482252, 6478306861
439194387449973002
"807026930113
3344444667788
999,807026919
9988776644444
333310"
Exception occured when executing test NumberFormatException: For input string: "8070269276988726974041482252"Error
45.
3021056807336753807291257351717361218494
815012346003133, 53204606223623114995800
01320295819401287037820610878327
"302105680733
6753807291257
3600000011112
2222234446888
8999,30210568
0733675380729
1257349998888
6644322222211
11000000"
Exception occured when executing test NumberFormatException: For input string: "3021056807336753807291257351717361218494815012346003133"Error
46.
3227512370338623752183279789654649193844
, 33282612862451246217546114746341286669
80
"322751237034
1111122224444
4566666666888
89,3227512370
3298888666666
6654444442221
1111"
Exception occured when executing test NumberFormatException: For input string: "3227512370338623752183279789654649193844"Error
47.
1149417092377537145443553395334573106812
985422, 86640717054210006250329082969033
61890164801975
"114941709237
7538000000000
1122234556666
66888999,1149
4170923775369
9988886666655
4322211000000
000"
Exception occured when executing test NumberFormatException: For input string: "1149417092377537145443553395334573106812985422"Error
48.
92583427233283455016630147081403847049, 
85377780761152540389258097539120166336
"925834272333
0000111135555
6666777788899
,925834272331
9988877776666
5555331110000
"
Exception occured when executing test NumberFormatException: For input string: "92583427233283455016630147081403847049"Error
49.
7550382196225668699574071097804632315727
99236633016774150, 207336128009414561877
414261098734926689673890891533495739
"755038219622
5668699600001
1111233333344
4444677777888
899999,755038
2196225668699
4999998888777
7766444443333
332111110000"
Exception occured when executing test NumberFormatException: For input string: "755038219622566869957407109780463231572799236633016774150"Error
50.
7446992162276108736955184157337442106339
249, 59964419235767505684869971178594042
92164887
"744699216227
6108736955184
1574044556788
89999,7446992
1622761087369
5518415709999
8887655444"
Exception occured when executing test NumberFormatException: For input string: "7446992162276108736955184157337442106339249"Error
51.
46240201657244525463552502579283072760, 
74745472038628235422202387800832456907
"462402020002
2222333344455
5677777888889
,462402009888
8877777655544
4333322222200
"
Exception occured when executing test NumberFormatException: For input string: "46240201657244525463552502579283072760"Error
52.
96445723401794113355697692200, 543876174
79585837638025900557
"964457235000
1335555677778
8889,96445723
3988887777655
55531000"
Exception occured when executing test NumberFormatException: For input string: "96445723401794113355697692200"Error
53.
2786510178528419811409305776160554614375
19568785798031798817, 872242852565713338
2815625139231536305154982718344657551654
23
"278651017852
8419811411222
2222333333333
4445555555555
666677889,278
6510178528419
8113988776666
5555555555444
4333333332222
22211"
Exception occured when executing test NumberFormatException: For input string: "278651017852841981140930577616055461437519568785798031798817"Error
54.
3584036485525036709966462507484758062073
500, 34527050977906681308251573176125081
87578140
"358403648552
5036709967000
1111112255777
77888,3584036
4855250367099
6588877777752
2111111000"
Exception occured when executing test NumberFormatException: For input string: "3584036485525036709966462507484758062073500"Error
55.
7883643409210061235796160297135319612467
540847238, 99101231218958441096632272781
47153641880888488009
"788364340921
0061235796170
0111112224445
88888888999,7
8836434092100
6123579615999
8888888874442
221111100"
Exception occured when executing test NumberFormatException: For input string: "7883643409210061235796160297135319612467540847238"Error
56.
1775733125263060676, 4826555736020107470
"177573400002
2455668,17757
3286655442000
0"
Timeout
57.
937698740181639447, 414841823601852021
"0,8886544432
22111100"
Timeout
58.
9604305243237949789390002271, 8760194529
800772409983323268
"960430524323
7960012277888
899,960430524
3237929988887
762100"
Exception occured when executing test NumberFormatException: For input string: "9604305243237949789390002271"Error
59.
6984114, 4495445
"9444455,5954
444"
"9444455,5954
444"
Correct
60.
5902068889331300696849097942312943602795
441, 98811767158503005073694974585672865
08816915
"590206888933
1400011114555
5556666777778
88899,5902068
8893311998888
7777766665555
5544111000"
Exception occured when executing test NumberFormatException: For input string: "5902068889331300696849097942312943602795441"Error
61.
418125149128190993672891379, 29691510123
2320749953375094
"419000112222
3333455567799
99,4179999976
5554333322221
1000"
Exception occured when executing test NumberFormatException: For input string: "418125149128190993672891379"Error
62.
5710529404531401306855804385833598282698
2, 5192980716041605861102128248943385233
8444
"571052940453
1401306861112
2223344468888
899,571052940
4531401306849
9888886644332
222111"
Exception occured when executing test NumberFormatException: For input string: "57105294045314013068558043858335982826982"Error
63.
9689231558589386963034981023283006505864
26294366715, 977854425925737124678979693
625127865103932671858259
"968923155858
9386963034981
1122222244555
5667777777799
,968923155858
9386963034979
9877777776655
5544222222111
"
Exception occured when executing test NumberFormatException: For input string: "968923155858938696303498102328300650586426294366715"Error
64.
1149467602270817600919168931545101, 5140
210758856683944560622326845240
"114946760228
0002223344455
555666888,114
9467602268888
6655555444332
22000"
Exception occured when executing test NumberFormatException: For input string: "1149467602270817600919168931545101"Error
65.
2444498474101623508636765153, 5833975601
872407520984573327
"244500012233
3355567777788
899,244399888
7777765555333
221000"
Exception occured when executing test NumberFormatException: For input string: "2444498474101623508636765153"Error
66.
9887750833075042393445850854352184537760
61629373777, 539052809257412114438251120
121354257107583224658830
"988775083307
5042393445850
8543522011111
1112222224556
,988775083307
5042393445850
8543521655422
2222211111110
"
Exception occured when executing test NumberFormatException: For input string: "988775083307504239344585085435218453776061629373777"Error
67.
4288302747, 2081705058
"5000125788,2
887551000"
"5000125788,2
887551000"
Correct
68.
3440832683384679028882350067078466474197
5536255, 9351912045394996027711620135092
0381134418829131
"344083268338
4679029000111
1111111222334
555799999,344
0832683384679
0279999995554
3322211111111
11000"
Exception occured when executing test NumberFormatException: For input string: "34408326833846790288823500670784664741975536255"Error
69.
2480842188041770599655652778540335974763
41, 238374180956070095627597047434143521
585460
"248084218900
0001123333444
4555555666777
7799,24808421
8799977776665
5555544443333
21100000"
Exception occured when executing test NumberFormatException: For input string: "248084218804177059965565277854033597476341"Error
70.
207363487876, 442204505386
"208023444556
,206855444320
"
Timeout
71.
50675942365311867970535, 449011622019217
73990624
"600011112222
34446779999,4
9999776644322
221111000"
Exception occured when executing test NumberFormatException: For input string: "50675942365311867970535"Error
72.
222297445146242404358858, 56420114774997
7990874909
"240001144456
777778999999,
2199999987777
76544441000"
Exception occured when executing test NumberFormatException: For input string: "222297445146242404358858"Error
73.
445271, 544501
"445501,44515
0"
"445501,44515
0"
Correct
74.
4640039316, 3305861203
"5001233368,3
865332100"
"5001233368,3
865332100"
Correct
75.
4606062017180700603467, 2812591963117750
929920
"500111122223
5677899999,39
9999877655222
2111100"
Exception occured when executing test NumberFormatException: For input string: "4606062017180700603467"Error
76.
4531348123231100860315, 5063372006627248
857549
"453200022345
5666777889,45
3098877766655
4322200"
Exception occured when executing test NumberFormatException: For input string: "4531348123231100860315"Error
77.
9353565529350458793107447509375439348817
311684183343, 63840234368195918632440275
82206211869351050334717739
"935356552936
0000011111122
2223333344444
6667777888889
9,93535655293
4998888877776
6664444333332
2222111111000
00"
Exception occured when executing test NumberFormatException: For input string: "9353565529350458793107447509375439348817311684183343"Error
78.
7762238719815642869235938520272860638253
6433194647, 7302561462699321884364510247
3407938550685400884951
"776223871981
5642869235938
5300000011344
444455566889,
7762238719815
6428692359385
1988665554444
44331000000"
Exception occured when executing test NumberFormatException: For input string: "77622387198156428692359385202728606382536433194647"Error
79.
8484102483201855874969381335, 5095986029
504526076455558634
"848420000234
5555555566667
999,848409997
6666555555554
322000"
Exception occured when executing test NumberFormatException: For input string: "8484102483201855874969381335"Error
80.
6248227526440119111259809768203808999786
48293078148733450, 143612589535950678937
678361512409374567462843541499124023
"624822752644
0119111259809
7683013333334
4444555556667
778999,624822
7526440119111
2598097681999
8777666555554
444433333330"
Exception occured when executing test NumberFormatException: For input string: "624822752644011911125980976820380899978648293078148733450"Error
81.
9156940828353060257863073691548, 5027790
060709591484931133770628
"915694082835
3060270001134
777799,915694
0828353060249
977777311000"
Exception occured when executing test NumberFormatException: For input string: "9156940828353060257863073691548"Error
82.
96082085647701809, 94885660277034417
"960820856477
13447,9608208
5647477431"
Timeout
83.
9827873138889899629317702329482268822701
49922047100, 661726992338357184493752166
906614779850193831075861
"982787313888
9900011111122
3333444555566
6666667777999
,982787313888
9799997776666
6666555544433
3322111111000
"
Exception occured when executing test NumberFormatException: For input string: "982787313888989962931770232948226882270149922047100"Error
84.
6047670005945969962766995980809678624467
836935833911, 96131251389261557580506208
26376518896644763438830213
"604767000594
5971111112222
2333333345555
6666668888888
9,60476700059
4596988888887
6666655554333
3333222221111
11"
Exception occured when executing test NumberFormatException: For input string: "6047670005945969962766995980809678624467836935833911"Error
85.
1413725315736502652623163515839080417430
0712368729527734, 8053700668505012879671
8005758282780988027078029866011219
"150000000000
0011112222223
5555666667777
7778888888888
89999,1399998
8888888888777
7777666665555
5222222111100
0000000000"
Exception occured when executing test NumberFormatException: For input string: "14137253157365026526231635158390804174300712368729527734"Error
86.
4, 2
"0,2"
"0,2"
Correct
87.
2078259, 9609224
"2092469,2069
942"
"2092469,2069
942"
Correct
88.
4695821737091042080535409873274958865661
47868023825, 737008772027984835938077121
936477941059319318935230
"469582173709
1042080535409
8732770111233
3337777889999
,469582173709
1042080535409
8732739999887
7777333321110
"
Exception occured when executing test NumberFormatException: For input string: "469582173709104208053540987327495886566147868023825"Error
89.
7053576947, 1106353540
"0,6554331100
"
"0,6554331100
"
Correct
90.
7113347871, 7452235550
"7202345555,7
055554322"
"7202345555,7
055554322"
Correct
91.
42378175016456081, 73052222131313509
"500111222233
33579,3975533
3222211100"
Timeout
92.
85319742755504763143328, 123113821179024
08292316
"860011111122
22233347899,8
4998763332222
211111100"
Exception occured when executing test NumberFormatException: For input string: "85319742755504763143328"Error
93.
8129116045721420888829972035493264689689
3766, 7150156523323616503523070147891814
3915728388
"812911604572
1420888830011
1233333355555
667779,812911
6045721420888
8297776655555
333333311100"
Exception occured when executing test NumberFormatException: For input string: "81291160457214208888299720354932646896893766"Error
94.
6036495277676682747141862536934688818924
338099, 68324503408708944024628358902211
69535748301931
"603649527768
0000011112222
3333344444555
88888999,6036
4952776599988
8888554444433
3332222111100
000"
Exception occured when executing test NumberFormatException: For input string: "6036495277676682747141862536934688818924338099"Error
95.
796874620, 667332882
"822336678,78
8663322"
"822336678,78
8663322"
Correct
96.
41978272756991370223308, 246071007684909
12725924
"419782727569
91400002246,4
1978272756991
264420000"
Exception occured when executing test NumberFormatException: For input string: "41978272756991370223308"Error
97.
8571205, 7695449
"9445679,7996
544"
"9445679,7996
544"
Correct
98.
50, 96
"69,0"
"69,0"
Correct
99.
3192678777, 1812787816
"6111277888,2
888776111"
"6111277888,2
888776111"
Correct
100.
618175607261122076517022427035709665, 31
2908323808535634745937796405730347
"618200002333
3333344445555
67777788999,6
1809998877777
6555544443333
333322000"
Exception occured when executing test NumberFormatException: For input string: "618175607261122076517022427035709665"Error