QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#160638 | #5595. Hunt the Wumpus | MaMengQi | AC ✓ | 3ms | 3820kb | C++23 | 2.0kb | 2023-09-02 21:02:33 | 2023-09-02 21:02:34 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3632kb
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: 3616kb
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: 0
Accepted
time: 2ms
memory: 3632kb
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 5 2 You hit a wumpus! 4 1 3 6 7 You hit a wumpus! 2 6 3 4 7 3 4 3 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 8 7 8 6 5 8 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:
ok 96 lines
Test #4:
score: 0
Accepted
time: 3ms
memory: 3628kb
input:
374690 10 72 50 23 60 09 11 97 21 93 26 36 86 19 26 70 88 40 75 35 89 82 94 10 61 21 13 12 61 52 22 19 57 37 09 62 30 15 47 80 96 41 75 27 98 71 16 80 30 42 45 24 47 00 99 24 39 36 44 04 64 64 69 55 96 99 07 45 97 66 13 31 42 25 38 27 35 12 73 04 99 80 84 23 07 25 70 37 60 91 06 90 23 75 90 21 14 53...
output:
6 1 4 2 4 4 5 6 4 2 You hit a wumpus! 1 2 4 3 1 3 6 3 4 3 7 You hit a wumpus! 5 6 6 4 4 3 4 4 2 3 3 3 1 4 3 4 3 2 7 8 2 5 You hit a wumpus! 6 10 5 6 7 4 1 2 3 4 7 11 3 7 4 1 5 3 3 8 3 8 11 8 2 9 5 3 3 1 4 6 6 3 4 3 5 11 7 5 2 8 4 6 5 5 7 7 8 2 5 8 4 4 1 4 3 4 4 7 6 2 8 8 3 7 3 1 8 4 4 3 3 8 4 2 7 5 ...
result:
ok 233 lines
Test #5:
score: 0
Accepted
time: 2ms
memory: 3788kb
input:
928277 94 66 90 21 00 09 55 81 95 12 40 95 93 00 75 03 52 25 97 28 83 89 35 99 89 30 55 11 20 86 46 20 31 22 32 80 52 05 59 33 06 05 33 43 44 15 14 17 49 70 09 84 55 84 38 60 79 98 98 95 38 51 92 47 33 34 18 42
output:
3 4 7 1 2 9 2 5 2 1 2 2 4 2 4 3 1 3 You hit a wumpus! 8 6 5 9 2 10 9 3 2 You hit a wumpus! 4 4 6 2 4 2 2 1 6 1 5 6 2 6 5 2 1 You hit a wumpus! 2 6 5 8 7 5 11 6 4 6 7 4 10 11 11 8 7 2 5 5 2 3 9 You hit a wumpus! Your score is 68 moves.
result:
ok 72 lines
Test #6:
score: 0
Accepted
time: 2ms
memory: 3792kb
input:
856214 36 15 85 01 03 52 64 00 45 99 36 27 27 52 75 69 36 58 69 48 35 82 47 90 17 48 76 08 78 94 55 95 05 83 78 49 01 08 75 01 19 78 72 67 79 69 53 27 40 17 35 21 97 57 85 76 20 16 96 43 15 18 33 00 26 34 33 63 50 21 55 98 78 98 83 94 50 96 32 74 91 10 42 97 62 90 60 41 80 83 43 32 25 31 74 66 60 52...
output:
You hit a wumpus! 2 2 5 7 5 5 6 8 4 7 2 1 1 5 6 4 2 2 4 1 3 2 2 1 You hit a wumpus! 3 1 6 3 4 3 5 4 6 3 4 2 9 3 6 9 3 4 3 4 5 4 6 2 6 3 3 7 6 3 5 6 8 4 5 6 5 2 5 10 3 4 5 5 5 7 5 6 4 6 3 3 5 5 6 5 You hit a wumpus! 13 10 7 7 9 14 11 8 13 10 6 6 4 7 8 5 11 8 10 6 5 3 7 5 2 6 5 2 10 7 5 3 8 12 10 3 2 ...
result:
ok 135 lines
Test #7:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
869165 72 24 12 12 29 35 70 00 99 93 35 12 35 94 12 63 77 73 12 24 57 55 20 80 55 55 07 38
output:
5 2 You hit a wumpus! 5 5 2 You hit a wumpus! 2 7 10 7 6 2 7 2 5 7 3 4 4 7 4 2 You hit a wumpus! 5 9 13 5 5 4 You hit a wumpus! Your score is 28 moves.
result:
ok 32 lines
Test #8:
score: 0
Accepted
time: 1ms
memory: 3628kb
input:
565336 54 71 43 71 59 71 71 66 04 83 31 25 91 38 38 38 25 86
output:
4 You hit a wumpus! 3 4 3 3 3 3 2 7 You hit a wumpus! 3 7 4 6 You hit a wumpus! 7 7 7 7 You hit a wumpus! Your score is 18 moves.
result:
ok 22 lines
Test #9:
score: 0
Accepted
time: 1ms
memory: 3820kb
input:
398382 41 88 17 62 97 10 88 17 59
output:
You hit a wumpus! 4 4 You hit a wumpus! 6 7 6 You hit a wumpus! 13 4 6 You hit a wumpus! Your score is 9 moves.
result:
ok 13 lines
Test #10:
score: 0
Accepted
time: 0ms
memory: 3664kb
input:
389048 79 33 54 33 90 89 03 82 33 33 69 40 33 88 50 54 33 58
output:
1 You hit a wumpus! 3 You hit a wumpus! 4 7 10 You hit a wumpus! 4 10 9 7 7 2 9 7 3 8 4 7 You hit a wumpus! Your score is 18 moves.
result:
ok 22 lines
Test #11:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
12341 00 99 09 90 50 05 61 65 38 98 43
output:
5 7 4 4 2 You hit a wumpus! 6 You hit a wumpus! 4 You hit a wumpus! 4 6 10 You hit a wumpus! Your score is 11 moves.
result:
ok 15 lines