QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#150378#5595. Hunt the WumpusZhaoZiLongWA 2ms3468kbC++171.5kb2023-08-25 16:43:352023-08-25 16:43:37

詳細信息

Test #1:

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

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: 0
Accepted
time: 1ms
memory: 3396kb

input:

101628
00
40
60
68
78
95

output:

4
You hit a wumpus!
2
You hit a wumpus!
8
1
You hit a wumpus!
5
You hit a wumpus!
Your score is 6 moves.

result:

ok 10 lines

Test #3:

score: -100
Wrong Answer
time: 2ms
memory: 3468kb

input:

366476
26
31
76
94
77
79
23
19
56
16
88
96
11
84
63
84
75
48
68
93
59
88
70
37
50
88
41
70
72
13
23
96
23
09
74
87
45
15
61
59
05
86
35
87
10
33
23
34
35
01
39
85
67
88
14
34
01
52
39
33
04
03
94
63
76
98
53
20
27
56
88
22
71
26
06
14
98
01
91
90
71
03
57
97
42
24
40
40
44
48
99
81

output:

3
7
2
You hit a wumpus!
4
1
3
6
7
You hit a wumpus!
2
6
3
4
11
5
4
5
3
3
1
3
3
3
2
3
4
3
4
2
2
9
8
4
8
8
4
2
4
7
2
3
8
3
5
2
12
7
8
6
5
12
5
4
You hit a wumpus!
8
7
10
8
8
4
13
7
11
10
4
4
6
8
5
7
12
8
7
7
1
11
13
10
8
8
1
2
1
10
9
7
5
9
5
5
7
11
9
You hit a wumpus!
Your score is 92 moves.

result:

wrong answer 2nd lines differ - expected: '5', found: '7'