QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#440952#6637. Perfect Stringsucup-team968#WA 343ms238036kbC++1773.0kb2024-06-14 06:53:002024-06-14 06:53:00

詳細信息

Test #1:

score: 100
Accepted
time: 282ms
memory: 238036kb

input:

2
3 1
2 2

output:

1
6

result:

ok 2 number(s): "1 6"

Test #2:

score: -100
Wrong Answer
time: 343ms
memory: 238008kb

input:

100000
1 1
4 1
5 5
3 5
1 2
5 3
1 1
3 3
5 2
2 1
4 1
5 5
2 3
4 1
3 3
2 5
3 2
4 3
4 4
3 5
3 1
5 2
2 2
4 2
5 4
1 2
3 1
4 5
2 5
5 3
1 5
5 2
3 2
5 2
4 1
1 3
3 2
4 5
2 1
4 1
2 2
1 1
3 5
4 5
2 3
3 5
2 5
2 4
5 4
2 3
1 1
2 1
4 4
1 5
5 4
1 3
5 4
4 5
1 3
1 1
3 3
2 4
2 4
2 1
5 5
1 3
2 3
4 1
4 3
2 4
2 4
4 2
1 1
1...

output:

1
1
899738526
158472639
2
765224481
1
723770915
675423443
1
1
899738526
15
1
723770915
45
453961827
17957963
909498019
158472639
1
675423443
6
122124993
928093612
2
1
589160355
45
765224481
5
675423443
453961827
675423443
1
3
453961827
589160355
1
1
6
1
158472639
589160355
15
158472639
45
28
9280936...

result:

wrong answer 3rd numbers differ - expected: '71445', found: '899738526'