QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#384968#7627. PhonyParsaGolestaniWA 1ms9912kbC++203.8kb2024-04-10 14:14:192024-04-10 14:14:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 9912kb

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: 1ms
memory: 9840kb

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:

6701
9161
4321
8200
1681
7647
7531
4901
4721
1485
4097
4097
6561
3841
7187
7218
7035
7018
253
6752
2042
6683
6114
6135
2561
5105
811
5957
5393
481
5303
5171
5205
3953
5084
3745
3841
4591
4816
4586
4705
1721
4535
4454
4603
4435
2561
4345
-3000000000000000000
1485
4284
1485
4274
811
4326
-17552

result:

wrong answer 1st lines differ - expected: '6881', found: '6701'