QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505811#2603. Disbalanceucup-team1005#WA 0ms3700kbC++20999b2024-08-05 11:47:012024-08-05 11:47:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 0ms
memory: 3660kb

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:

503187425
104577993
122015499
877028972
5
5
549716258
857798719
853912131
0
9
570425345
332748120
20
334869712
150750521
0
0
0
598946612

result:

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