QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#112025#3876. Attack on Alpha-Zetlmq26052003WA 138ms110436kbC++203.0kb2023-06-09 15:34:042023-06-09 15:34:07

详细

Test #1:

score: 100
Accepted
time: 6ms
memory: 73156kb

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: 2ms
memory: 73224kb

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

input:

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

output:

4131

result:

ok single line: '4131'

Test #4:

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

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: 11ms
memory: 73392kb

input:

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

output:

9276

result:

ok single line: '9276'

Test #6:

score: 0
Accepted
time: 12ms
memory: 73436kb

input:

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

output:

12385

result:

ok single line: '12385'

Test #7:

score: 0
Accepted
time: 8ms
memory: 75676kb

input:

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

output:

150599

result:

ok single line: '150599'

Test #8:

score: -100
Wrong Answer
time: 138ms
memory: 110436kb

input:

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

output:

3322

result:

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