QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#732647#5669. Traveling in Jade CityZhaoZiLongWA 305ms27120kbC++233.2kb2024-11-10 15:25:342024-11-10 15:25:35

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 13780kb

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

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: 305ms
memory: 27120kb

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
122264600
70328200
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
29295200
impossible
22163200
impossible
impossible
impossible
112881800
impossible
137420600
impossible
35339200
impossible
137782000
impossible
impossible
impossible
impos...

result:

wrong answer 3rd lines differ - expected: '70328400', found: '70328200'