QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#708517#8049. Equal Sumsucup-team4714WA 1445ms7600kbC++201.5kb2024-11-03 23:07:562024-11-03 23:08:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 7524kb

input:

2 3
1 2
2 3
1 4
2 2
1 3

output:

2 0 0 
3 4 4 

result:

ok 6 numbers

Test #2:

score: -100
Wrong Answer
time: 1445ms
memory: 7600kb

input:

500 500
19 458
1 480
7 485
50 461
12 476
15 461
48 466
40 453
46 467
9 458
27 478
26 472
46 459
29 490
6 500
17 487
48 484
28 472
28 459
25 480
4 491
29 481
36 460
2 491
44 499
22 473
20 458
4 483
27 471
2 496
11 461
43 450
2 478
37 466
15 459
42 482
7 451
19 455
2 453
47 475
48 450
1 474
46 471
9 4...

output:

411 79401 9145270 -954384807 885286421 218561731 -745353690 399930709 -127493745 22940977 924624722 828161454 426340704 -240280471 30678020 497196214 949933599 365008350 898036799 608536254 867748761 900150746 778382452 666039961 -584444264 -368262967 247671806 806943528 -693063725 -894439075 432222...

result:

wrong answer 4th numbers differ - expected: '673005095', found: '-954384807'