QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#483271#5889. Equal Sumsucup-team100543 ✓9332ms302324kbC++201.9kb2024-07-18 14:45:572024-07-18 14:45:57

詳細信息

Subtask #1:

score: 6
Accepted

Test #1:

score: 6
Accepted
time: 4ms
memory: 4224kb

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:
3 
1 2 
Case #2:
120 2894 
1243 1771 
Case #3:
1896 3690 
746 1664 3176 
Case #4:
12638 27639 39102 41765 
3271 7377 13980 19311 38116 39089 
Case #5:
18511 55131 
6329 12200 18317 36796 
Case #6:
1865 7860 42673 
5308 10334 36756 
Case #7:
437 1901 3161 
287 2527 2685 
Case #8:
208 1306 
1...

result:

ok correct! (10 test cases)

Subtask #2:

score: 37
Accepted

Test #2:

score: 37
Accepted
time: 9332ms
memory: 302324kb

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:
26603667570 342423180315 745499471408 
19112285046 120722534578 974691499669 
Case #2:
66885017214 298965122491 931302330586 
62609729975 592510335658 642032404658 
Case #3:
31104792431 221933166341 351150585249 
22645072376 193099278838 388444192807 
Case #4:
508184242162 772402007776 9353...

result:

ok correct! (10 test cases)

Extra Test:

score: 0
Extra Test Passed