QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#752353#9735. Japanese Bandsucup-team5121WA 1508ms93548kbC++203.6kb2024-11-16 01:02:142024-11-16 01:02:15

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3872kb

input:

3
2 3 3 3
2 3
1 1
2 3
2 2 2 1
1 1
1 1 10 2
1 2
1 3

output:

6
4
0

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 1508ms
memory: 93548kb

input:

500
481199252 336470888 8 58
4 7
7 6
4 7
2 6
2 6
2 7
8 3
8 7
8 1
2 6
2 6
1 2
1 5
3 1
6 4
2 4
4 7
2 6
2 3
7 1
4 4
5 1
2 7
6 7
8 1
8 7
5 6
4 2
4 2
8 5
5 4
6 8
5 6
3 8
1 7
1 6
7 1
5 6
6 3
1 1
2 7
3 3
1 5
5 5
8 7
3 4
6 3
8 8
7 4
1 6
2 1
8 7
4 5
2 7
3 5
2 6
4 5
4 3
2 6 2 2
2 1
1 1
500330171 987581927 10 ...

output:

913451171
7
513465631
996620459
272906747
1
572060296
951958159
1
633472101
730509724
1
15876
179329904
645112865
421488256
172995528
964371576
859248330
826945974
0
487514263
439053926
517419963
16
816982037
269888795
765218965
1
723103222
178620133
634309783
7056
114356831
1
84816409
862871116
1
1...

result:

wrong answer 1st lines differ - expected: '724920553', found: '913451171'