QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#607880#884. Joining Treasure Huntlmq26052003WA 2489ms112172kbC++202.8kb2024-10-03 16:50:412024-10-03 16:50:41

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 4024kb

input:

4 3
n 4
e 1
?
s 5
?
e 1
?

output:

2

result:

ok answer is '2'

Test #2:

score: 0
Accepted
time: 1ms
memory: 3936kb

input:

4 3
n 4
e 1
w 3
s 5
?
e 1
?

output:

1

result:

ok answer is '1'

Test #3:

score: -100
Wrong Answer
time: 2489ms
memory: 112172kb

input:

400000 200000
?
?
e 7
e 7
?
?
?
e 7
e 7
?
?
e 7
?
e 7
e 7
?
e 7
?
?
?
e 7
?
?
e 7
?
?
?
?
e 7
?
e 7
?
?
e 7
?
?
e 7
e 7
e 7
?
?
?
?
?
?
e 7
?
e 7
?
?
?
?
?
?
?
?
?
?
e 7
e 7
?
?
e 7
?
e 7
e 7
?
?
e 7
e 7
e 7
?
e 7
e 7
?
?
?
?
?
?
e 7
e 7
?
?
e 7
?
?
?
?
e 7
?
?
?
e 7
?
e 7
?
e 7
?
?
?
?
?
e 7
?
?
?
...

output:

59232

result:

wrong answer expected '133037', found '59232'