QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#150150#5595. Hunt the WumpusHuangHanShengTL 1ms3456kbC++171.1kb2023-08-25 15:24:232023-08-25 15:24:24

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3456kb

input:

203811
00
01
02
03

output:

You hit a wumpus!
1
You hit a wumpus!
1
You hit a wumpus!
1
You hit a wumpus!
Your score is 4 moves.

result:

ok 8 lines

Test #2:

score: -100
Time Limit Exceeded

input:

101628
00
40
60
68
78
95

output:

6
2
You hit a wumpus!
8
1
You hit a wumpus!
5
You hit a wumpus!
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10...

result: