QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#112031#3876. Attack on Alpha-Zetlmq26052003WA 4ms73440kbC++203.0kb2023-06-09 16:07:282023-06-09 16:07:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 73288kb

input:

2 6
 _ _ _ _ _ _
|  _ _ _ _ _|
|_ _ _ _ _ _|
5
1 5
1 1
1 6
1 1
1 5

output:

18

result:

ok single line: '18'

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 73440kb

input:

5 5
 _ _ _ _ _
|_ _  |_  |
|  _| |  _|
| |_   _| |
|    _ _  |
|_|_ _ _|_|
7
4 4
1 4
3 1
4 5
1 2
2 2
5 4

output:

8

result:

wrong answer 1st lines differ - expected: '43', found: '8'