QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#343566#8236. Snake Moveucup-team2424#RE 34ms50084kbC++201.9kb2024-03-02 19:20:142024-03-02 19:20:14

详细

Test #1:

score: 100
Accepted
time: 29ms
memory: 49964kb

input:

4 5 5
3 5
3 4
3 3
3 2
4 2
.....
.....
.....
.....

output:

293

result:

ok single line: '293'

Test #2:

score: 0
Accepted
time: 22ms
memory: 49720kb

input:

2 2 4
1 1
1 2
2 2
2 1
..
..

output:

14

result:

ok single line: '14'

Test #3:

score: 0
Accepted
time: 34ms
memory: 50084kb

input:

5 5 3
1 2
1 1
2 1
.....
.###.
.#.#.
.###.
.....

output:

407

result:

ok single line: '407'

Test #4:

score: -100
Runtime Error

input:

3000 2900 1
1882 526
........................................................................................................#................................................................................................................................................................#................

output:


result: