QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#440060#5669. Traveling in Jade CityHuangHanShengWA 1499ms67264kbC++172.5kb2024-06-13 02:27:192024-06-13 02:27:20

详细

Test #1:

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

input:

4 3 1 9
2 3 8 4
1 1
q 3 4
x 0
q 3 4
c 3
q 3 4
c 1
q 3 4
x 0
q 3 4

output:

6
8
9
impossible
6

result:

ok 5 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

4 3 1 9
2 3 8 4
1 1
q 3 4
x 0
q 3 4
c 3
q 3 4
c 1
q 3 4
x 0
q 3 4

output:

6
8
9
impossible
6

result:

ok 5 lines

Test #3:

score: -100
Wrong Answer
time: 1499ms
memory: 67264kb

input:

1000000 999999 1000000 1000000
200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 2...

output:

177406400
33565400
26009600
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
10227400
impossible
10485200
impossible
impossible
impossible
0
impossible
0
impossible
0
impossible
0
impossible
impossible
impossible
impossible
impossible
0
impossible
im...

result:

wrong answer 2nd lines differ - expected: '122264600', found: '33565400'