QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#250860#7627. Phonyucup-team1812WA 1ms7784kbC++205.3kb2023-11-13 19:52:052023-11-13 19:52:05

详细

Test #1:

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

input:

3 5 5
7 3 9
A 3
C 1
A 2
C 2
A 3

output:

3
4
-1

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 1ms
memory: 7784kb

input:

5 8 8
294 928 293 392 719
A 4
C 200
A 5
C 10
A 2
C 120
A 1
A 3

output:

294
200
191
0
-2

result:

ok 5 lines

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 7696kb

input:

100 100 233
5101 8001 6561 6329 6305 7745 4321 811 49 1121 3953 8054 8415 9876 6701 4097 6817 6081 495 5521 2389 2042 4721 8119 7441 7840 8001 5756 5561 129 1 5981 4801 7201 8465 7251 6945 5201 5626 3361 5741 3650 7901 2513 8637 3841 5621 9377 101 3661 5105 4241 5137 7501 5561 3581 4901 561 8721 811...

output:

6881
9161
4721
8212
2945
7653
7533
5291
5001
2042
4721
4721
6881
4097
7302
7324
7141
7141
811
7035
2561
6954
6479
6683
3581
5291
1485
6683
6086
2042
6103
5915
6002
4721
5820
4029
4097
4901
5556
4721
5419
2042
5508
5382
5556
5419
3581
5521
115
2042
5439
2042
5439
1485
5556
-16761

result:

wrong answer 4th lines differ - expected: '8200', found: '8212'