QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505497#5889. Equal Sumsxiaowuc143 ✓9478ms267528kbC++172.7kb2024-08-05 05:45:402024-08-05 05:45:41

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 6
Accepted

Test #1:

score: 6
Accepted
time: 2188ms
memory: 53376kb

input:

10
20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
20 120 266 858 1243 1657 1771 2328 2490 2665 2894 3117 4210 4454 4943 5690 6170 7048 7125 9512 9600
20 1688 52630 4512 628 1664 746 3690 4924 848 7959 2308 1896 4196 4582 3784 1062 4356 3176 4868 3702
20 42931 12638 7377 95960 39089 41765 3271...

output:

Case #1:
5 8
6 7
Case #2:
120 2894
1243 1771
Case #3:
1688 1664 3176
848 1896 3784
Case #4:
42931 27639 909 13980
12638 39089 14421 19311
Case #5:
272 18317 38903 55131
9316 32469 61585 9253
Case #6:
1865 7860 42673
5308 36756 10334
Case #7:
2527 3161 1589
1901 2685 2691
Case #8:
1592 118 946
148 12...

result:

ok correct! (10 test cases)

Subtask #2:

score: 37
Accepted

Test #2:

score: 37
Accepted
time: 9478ms
memory: 267528kb

input:

10
500 214245260937 88701828170 983197677244 452707036056 745499471408 751327242016 445352756672 413854624384 799903000320 773052051968 241553140736 539361110016 722104184832 344346533888 249658261504 466496618496 715223269376 509944922112 686988460032 779287527424 438758801408 273785290752 43947497...

output:

Case #1:
788245980356 711232711341 157436663943 615104305490 733160733988 75000271122
418664786953 876086240338 405252203975 476729668630 756237793685 147209972659
Case #2:
642217235850 539424275903 556465193806 122987163703 47070704264 856996324808
451932280021 954916375767 363725461574 54531252648...

result:

ok correct! (10 test cases)

Extra Test:

score: 0
Extra Test Passed