QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#764855#8049. Equal SumsHuluoboWA 1314ms28256kbC++141.9kb2024-11-20 10:56:452024-11-20 10:56:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 1314ms
memory: 28256kb

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 998238263 866607750 957037284 654614352 302964837 424364841 889490093 423037116 4509272 752408905 47324307 389457595 287495579 462979313 642732646 504524692 312611100 777766825 566580209 242801353 356675876 123658100 616741098 707938305 411759067 194770987 824138728 787448670 535715400 917907332...

result:

wrong answer 2nd numbers differ - expected: '79401', found: '998238263'