QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#859203#9717. Defuse the BombsIceKylinAC ✓25ms3948kbC99216b2025-01-17 16:23:532025-01-17 16:24:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 1664kb

input:

2
2
1 1
3
1 2 3

output:

Case #1: 3
Case #2: 4

result:

ok 2 lines

Test #2:

score: 0
Accepted
time: 24ms
memory: 2432kb

input:

3
100000
968870229 246637522 23867348 170512761 317727561 135784257 788061221 6692201 96102115 164513402 826612817 675345177 690177641 969959105 957765211 678805726 936166573 281739681 760822473 521447491 619742216 102531432 633299481 698320991 55968513 399427883 808303141 53228160 432641457 7250014...

output:

Case #1: 2
Case #2: 2
Case #3: 2

result:

ok 3 lines

Test #3:

score: 0
Accepted
time: 25ms
memory: 2432kb

input:

12
99648
868508085 197551137 223963681 271716447 485636149 768477451 637746433 290912601 973354817 623217611 874717425 808610975 631236945 908326401 17087606 254068257 960429731 968635649 947450738 601921026 102237601 99225633 898941536 107413793 100995151 226235470 853952217 829469697 126588881 821...

output:

Case #1: 2
Case #2: 71597
Case #3: 2
Case #4: 2
Case #5: 2
Case #6: 1048007
Case #7: 15915
Case #8: 2
Case #9: 4302702
Case #10: 1036767035
Case #11: 11323251
Case #12: 6510461

result:

ok 12 lines

Test #4:

score: 0
Accepted
time: 25ms
memory: 2432kb

input:

18
4734
701626976 124105615 712428936 505891659 398675881 161572001 463112937 191281121 827769821 193541401 339394945 186320849 394782830 318320761 277033185 896581001 493747851 233557441 16075141 707192797 297966475 166498561 439501434 878357451 355463041 190139361 843612281 221780961 336127401 511...

output:

Case #1: 558839
Case #2: 2
Case #3: 2
Case #4: 2
Case #5: 69283
Case #6: 2
Case #7: 2
Case #8: 1435715
Case #9: 2
Case #10: 456830
Case #11: 2818783
Case #12: 32854307
Case #13: 3476689
Case #14: 21250879
Case #15: 1532919771
Case #16: 865172031
Case #17: 1572373367
Case #18: 1746636483

result:

ok 18 lines

Test #5:

score: 0
Accepted
time: 23ms
memory: 2176kb

input:

17
40614
84544337 260617970 450833101 909502946 655689601 855693521 788467891 733219871 828499701 703883121 289657246 959948161 914949721 601679745 635483649 431067461 631844057 740418673 538547057 107266801 302403467 558843445 866023217 477789249 234085751 970697441 403870001 590294161 972578176 82...

output:

Case #1: 2
Case #2: 72179
Case #3: 2
Case #4: 2
Case #5: 3
Case #6: 2
Case #7: 460857
Case #8: 3
Case #9: 39627
Case #10: 263019
Case #11: 1717810
Case #12: 12295743
Case #13: 45069133
Case #14: 160429170
Case #15: 552915331
Case #16: 22001209
Case #17: 334548587

result:

ok 17 lines

Test #6:

score: 0
Accepted
time: 25ms
memory: 2304kb

input:

9
6074
984980876 102650405 113403801 684143385 139651521 973613953 262346995 810899235 952258498 33751681 365363201 857377015 771401729 535561551 150380609 706430249 31305793 944382116 417659826 402666001 401253841 58604681 152587521 441398213 420433981 662505894 624167245 284721174 9349121 62605095...

output:

Case #1: 3
Case #2: 3
Case #3: 2
Case #4: 3
Case #5: 2
Case #6: 2
Case #7: 2
Case #8: 8655155
Case #9: 2

result:

ok 9 lines

Test #7:

score: 0
Accepted
time: 23ms
memory: 2432kb

input:

13
37706
402235424 254762569 618268889 640175849 5274817 910025281 288021691 933717103 604334161 32399968 117607943 407930017 304486941 853199073 471894161 473239915 223379651 479756001 591677062 619181151 345030050 932581441 13680601 793704381 282957111 71425537 138722576 39828341 234639623 7400248...

output:

Case #1: 2
Case #2: 2
Case #3: 2
Case #4: 2
Case #5: 145206
Case #6: 2
Case #7: 2
Case #8: 47447
Case #9: 312623
Case #10: 3355350
Case #11: 23952124
Case #12: 288030919
Case #13: 358263083

result:

ok 13 lines

Test #8:

score: 0
Accepted
time: 16ms
memory: 2304kb

input:

17
88002
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

output:

Case #1: 1
Case #2: 1
Case #3: 1
Case #4: 1
Case #5: 1
Case #6: 1
Case #7: 1
Case #8: 1
Case #9: 1
Case #10: 1
Case #11: 1
Case #12: 1
Case #13: 1
Case #14: 1
Case #15: 1
Case #16: 1
Case #17: 1

result:

ok 17 lines

Test #9:

score: 0
Accepted
time: 25ms
memory: 3948kb

input:

3
100000
1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 10000...

output:

Case #1: 1000010001
Case #2: 1000010001
Case #3: 1000010001

result:

ok 3 lines

Extra Test:

score: 0
Extra Test Passed