QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#226505#6803. A Math ProblemwaifuSenpai#WA 869ms8096kbPython3867b2023-10-26 00:59:502023-10-26 00:59:51

詳細信息

Test #1:

score: 100
Accepted
time: 11ms
memory: 8096kb

input:

9
2 2
2 3
3 3
3 4
4 4
4 5
5 5
5 6
6 6

output:

2
12
36
216
1032
7200
46800
453600
3369600

result:

ok 9 lines

Test #2:

score: -100
Wrong Answer
time: 869ms
memory: 8072kb

input:

100000
2 2
2 3
3 3
3 4
4 4
4 5
5 5
5 6
6 6
68 3
1 6
25 6
59 5
65 4
46 2
28 3
92 3
43 2
37 4
5 3
54 4
83 4
17 3
96 5
27 4
39 3
13 6
100 4
95 2
12 5
34 4
65 5
12 3
69 5
45 4
58 4
60 4
42 5
79 6
36 3
43 2
7 5
43 2
49 6
6 3
30 2
51 2
2 3
49 5
24 6
55 6
41 3
77 3
9 3
40 6
24 3
39 4
83 5
42 6
16 5
59 6
31...

output:

2
12
36
216
1032
7200
46800
453600
3369600
905024371
0
322554998
502631271
394073985
2
610612717
452571193
2
399090507
180
439852597
873753978
786420
264505384
285295014
534860230
507878995
682724278
2
823421593
198087375
380858652
24564
261280150
166988729
814718007
562199150
685262393
202425164
31...

result:

wrong answer 1612th lines differ - expected: '2', found: '0'