QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#20647#2603. DisbalanceL_G_J#WA 71ms97468kbC++201.5kb2022-02-17 08:53:372022-05-03 10:55:59

詳細信息

Test #1:

score: 100
Accepted
time: 71ms
memory: 97412kb

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: 54ms
memory: 97468kb

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:

611691271
417909270
-509583531
621037730
5
5
537116365
615800088
139671652
0
9
570425345
332748120
20
334869712
-198295835
0
0
0
598946612

result:

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