QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#131141#2603. DisbalanceGuanYunchangWA 22ms36504kbC++202.4kb2023-07-26 16:06:572023-07-26 16:07:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 22ms
memory: 34880kb

input:

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

output:

2
5
1
332748120
0
499122177
299473307
598946612

result:

ok 8 numbers

Test #2:

score: -100
Wrong Answer
time: 13ms
memory: 36504kb

input:

20
9 12
2 6
9 14
3 7
1 2
1 2
10 11
6 7
10 13
7 4
1 3
4 4
2 2
1 5
10 9
6 10
7 5
7 4
10 7
4 3

output:

524762920
778006458
184751814
300139907
5
5
517622274
101553717
487894411
0
9
570425345
332748120
20
334869712
143286037
0
0
0
598946612

result:

wrong answer 1st numbers differ - expected: '601023541', found: '524762920'