QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#112006#3876. Attack on Alpha-Zetlmq26052003WA 141ms63528kbC++202.9kb2023-06-09 14:16:232023-06-09 14:16:26

详细

Test #1:

score: 100
Accepted
time: 7ms
memory: 27132kb

input:

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

output:

18

result:

ok single line: '18'

Test #2:

score: 0
Accepted
time: 3ms
memory: 27132kb

input:

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

output:

43

result:

ok single line: '43'

Test #3:

score: 0
Accepted
time: 4ms
memory: 27352kb

input:

20 23
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|_ _ _ _ _ _ _ _ _ _  |  _ _ _ _ _ _ _ _ _ _  |
|  _ _ _ _ _ _ _ _  | | |  _ _ _ _ _ _ _ _  | |
| |  _ _ _ _ _ _  | | | | |  _ _ _ _ _ _  | | |
| | |  _ _ _ _ _ _| | | | |_ _ _ _ _ _  | | | |
| | | |  _ _ _ _ _ _| | |_ _ _ _ _ _  | | | | |
| | | |...

output:

4131

result:

ok single line: '4131'

Test #4:

score: 0
Accepted
time: 3ms
memory: 27124kb

input:

2 2
 _ _
|_  |
|_ _|
20
2 1
2 2
2 1
2 2
2 1
2 2
2 1
2 2
2 1
2 2
2 1
2 2
2 1
2 2
2 1
2 2
2 1
2 2
2 1
2 2

output:

19

result:

ok single line: '19'

Test #5:

score: 0
Accepted
time: 6ms
memory: 27524kb

input:

50 50
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
| | | | | | |_ _    | | |_ _   _| |  _|_    | |  _|    _|  _  |_  |   | |_  | | | |_  | | | | |  _ _|
|   |_  | | |_   _| |   | |_  |_     _    |_ _  |   | | | | | | |   |_| | |_  |   | | | |  ...

output:

9276

result:

ok single line: '9276'

Test #6:

score: 0
Accepted
time: 4ms
memory: 27472kb

input:

50 50
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
| | | | | | | |   | | | | | | | | |   | | | | | | |_    | | | |   | | | | | | | | |   | | | | | |  _|
| |   |   | | | |   |  _| | | | | |_|   | | | | | | | | | | | | | | | | | | | |     | | | |...

output:

12385

result:

ok single line: '12385'

Test #7:

score: 0
Accepted
time: 4ms
memory: 27904kb

input:

96 64
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|_   _| |_   _| |_   _| |_   _| |_   _| |_   _| |_   _| |_   _| |_   _| |_   _| |_   _| |_   _| |_   _| |_   _| |_   _| |_   _| |
|_   _   _   _| |_   _   _   _| |_ ...

output:

150599

result:

ok single line: '150599'

Test #8:

score: -100
Wrong Answer
time: 141ms
memory: 63528kb

input:

1000 1000
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _...

output:

3322

result:

wrong answer 1st lines differ - expected: '13364229', found: '3322'