QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#448705#8049. Equal Sumsegypt_ioi2024_07WA 2666ms999836kbC++231.5kb2024-06-19 23:38:432024-06-19 23:38:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3796kb

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: 2666ms
memory: 999836kb

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 67566533 613456148 904009493 304767453 -827791801 793686882 503348569 602972803 992002089 -867408185 482457198 60901980 517353049 -52763434 822149112 849437121 751332134 231114634 -477061883 71917055 873945359 479692759 -674677720 418705735 124605310 631702032 ...

result:

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