QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#112028#3876. Attack on Alpha-Zetlmq26052003WA 164ms113596kbC++203.0kb2023-06-09 16:01:002023-06-09 16:01:03

詳細信息

Test #1:

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

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: 1ms
memory: 73236kb

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

input:

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

output:

4131

result:

ok single line: '4131'

Test #4:

score: 0
Accepted
time: 2ms
memory: 73188kb

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: 3ms
memory: 73496kb

input:

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

output:

9276

result:

ok single line: '9276'

Test #6:

score: 0
Accepted
time: 2ms
memory: 73388kb

input:

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

output:

12385

result:

ok single line: '12385'

Test #7:

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

input:

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

output:

150599

result:

ok single line: '150599'

Test #8:

score: -100
Wrong Answer
time: 164ms
memory: 113596kb

input:

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

output:

3322

result:

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