QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#400628 | #2265. Short Coding | ucup-team2880# | WA | 2ms | 3960kb | C++20 | 2.1kb | 2024-04-27 14:29:17 | 2024-04-27 14:29:19 |
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: 3900kb
input:
4 2 S# .# .# G.
output:
1 FORWARD
result:
ok correct answer!
Test #2:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
3 6 ##S..# #..##. .G..#.
output:
2 FORWARD RIGHT
result:
ok correct answer!
Test #3:
score: 0
Accepted
time: 0ms
memory: 3892kb
input:
3 7 ....S## .#.#... ##.#.G#
output:
2 FORWARD LEFT
result:
ok correct answer!
Test #4:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
4 8 ...S.#.# ##..#.#. ###...#. #.#.#G.#
output:
3 FORWARD FORWARD LEFT
result:
ok correct answer!
Test #5:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
3 5 .S#.. ..... ..#G.
output:
3 FORWARD LEFT FORWARD
result:
ok correct answer!
Test #6:
score: 0
Accepted
time: 0ms
memory: 3924kb
input:
10 10 .....S#... ...#...... ....##.... .#.....#.. ....#..... ..#....... ...#...... .......... .#...#.... G.#..#...#
output:
3 LEFT FORWARD IF-OPEN 2
result:
ok correct answer!
Test #7:
score: 0
Accepted
time: 0ms
memory: 3956kb
input:
7 9 .##S.#..# ......... ......... ...#...## ###..#### ........# .....##G#
output:
3 RIGHT FORWARD IF-OPEN 2
result:
ok correct answer!
Test #8:
score: 0
Accepted
time: 1ms
memory: 3924kb
input:
3 9 ..#.#.#S# #...#...# .G....#.#
output:
3 FORWARD RIGHT FORWARD
result:
ok correct answer!
Test #9:
score: 0
Accepted
time: 0ms
memory: 3920kb
input:
4 5 #S... ..#.. .#..# .#.G#
output:
3 RIGHT FORWARD FORWARD
result:
ok correct answer!
Test #10:
score: 0
Accepted
time: 1ms
memory: 3900kb
input:
6 8 ..S..#.# ...#...# ....#..# #.#.##.. .......# .#..#G.#
output:
4 FORWARD LEFT FORWARD RIGHT
result:
ok correct answer!
Test #11:
score: 0
Accepted
time: 2ms
memory: 3840kb
input:
9 10 S......... .#..#....# ........#. .......... .....#.#.. .#...#.... #..#.##.#. ..#..#...# ..#.#....G
output:
4 LEFT FORWARD RIGHT FORWARD
result:
ok correct answer!
Test #12:
score: 0
Accepted
time: 1ms
memory: 3824kb
input:
10 4 #.S. .#.# ##.# ##.. .#.. #... #.## ..#. .#.. G.##
output:
4 FORWARD RIGHT FORWARD LEFT
result:
ok correct answer!
Test #13:
score: 0
Accepted
time: 1ms
memory: 3788kb
input:
9 9 #..#...S# .#...##.# .....##.. ..#..#... ..#..#..# .#..#.#.# .###..... ..#.#.##. G#....#.#
output:
4 RIGHT FORWARD LEFT FORWARD
result:
ok correct answer!
Test #14:
score: 0
Accepted
time: 1ms
memory: 3960kb
input:
7 3 .S# #.. ..# ... ..# .#. .G.
output:
4 FORWARD FORWARD FORWARD LEFT
result:
ok correct answer!
Test #15:
score: 0
Accepted
time: 1ms
memory: 3912kb
input:
6 6 ..#S.. #.#.#. .....# #.#... ..#... ..G##.
output:
4 FORWARD FORWARD LEFT FORWARD
result:
ok correct answer!
Test #16:
score: 0
Accepted
time: 1ms
memory: 3892kb
input:
6 8 ....#S.. ......#. ..##..#. ###.#.## ..#...#. ##.G#..#
output:
4 FORWARD FORWARD RIGHT FORWARD
result:
ok correct answer!
Test #17:
score: 0
Accepted
time: 1ms
memory: 3900kb
input:
10 8 #..S.### .#....## .#...... ....#.#. #...#..# ........ ....#.## ...#.### .#.#...# .#...G.#
output:
4 FORWARD LEFT FORWARD IF-OPEN 3
result:
ok correct answer!
Test #18:
score: 0
Accepted
time: 0ms
memory: 3916kb
input:
7 6 ...##S #..... ....#. ...#.# ....#. #..... .....G
output:
4 FORWARD RIGHT FORWARD IF-OPEN 3
result:
ok correct answer!
Test #19:
score: 0
Accepted
time: 1ms
memory: 3836kb
input:
4 8 .##..S.. #.###..# .#...#.. ...#G...
output:
4 RIGHT FORWARD FORWARD FORWARD
result:
ok correct answer!
Test #20:
score: 0
Accepted
time: 1ms
memory: 3896kb
input:
3 10 ##.......S ####.####. ...#..G##.
output:
4 RIGHT FORWARD LEFT IF-OPEN 2
result:
ok correct answer!
Test #21:
score: 0
Accepted
time: 0ms
memory: 3952kb
input:
2 7 .#S.### .#.G..#
output:
2 FORWARD RIGHT
result:
ok correct answer!
Test #22:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
2 7 .S#.#.# G#.##.#
output:
2 FORWARD LEFT
result:
ok correct answer!
Test #23:
score: 0
Accepted
time: 0ms
memory: 3956kb
input:
2 4 ...S ##G#
output:
2 FORWARD LEFT
result:
ok correct answer!
Test #24:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
2 7 S...... .G.....
output:
2 FORWARD RIGHT
result:
ok correct answer!
Test #25:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
2 3 #S# ..G
output:
2 FORWARD LEFT
result:
ok correct answer!
Test #26:
score: 0
Accepted
time: 0ms
memory: 3908kb
input:
2 4 #.S# #G##
output:
2 FORWARD LEFT
result:
ok correct answer!
Test #27:
score: 0
Accepted
time: 1ms
memory: 3760kb
input:
3 6 .#S### #....# #G.#..
output:
2 FORWARD RIGHT
result:
ok correct answer!
Test #28:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
2 4 S.#. #G##
output:
2 FORWARD RIGHT
result:
ok correct answer!
Test #29:
score: 0
Accepted
time: 1ms
memory: 3816kb
input:
2 5 ##..S ...G.
output:
2 FORWARD RIGHT
result:
ok correct answer!
Test #30:
score: 0
Accepted
time: 0ms
memory: 3956kb
input:
2 9 #S###.... G..##..##
output:
2 FORWARD RIGHT
result:
ok correct answer!
Test #31:
score: 0
Accepted
time: 1ms
memory: 3764kb
input:
6 10 ....S...## .#...#.... .......... .#.#...#.. ...#.##... .G#...#...
output:
3 LEFT FORWARD IF-OPEN 2
result:
ok correct answer!
Test #32:
score: 0
Accepted
time: 0ms
memory: 3956kb
input:
3 3 S.. ##. ##G
output:
3 FORWARD FORWARD RIGHT
result:
ok correct answer!
Test #33:
score: 0
Accepted
time: 0ms
memory: 3956kb
input:
5 5 ..S.. .##.. .#### ..#.. G.#.#
output:
3 FORWARD IF-OPEN 1 LEFT
result:
ok correct answer!
Test #34:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
4 6 S#.... ....#. #..... #...G.
output:
3 FORWARD FORWARD LEFT
result:
ok correct answer!
Test #35:
score: 0
Accepted
time: 0ms
memory: 3908kb
input:
3 6 .#..S# ..#..# .##G.#
output:
3 FORWARD FORWARD RIGHT
result:
ok correct answer!
Test #36:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
4 3 ..S .#. ..# G..
output:
3 FORWARD FORWARD LEFT
result:
ok correct answer!
Test #37:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
5 3 S.. ##. ... ... .G.
output:
3 FORWARD FORWARD RIGHT
result:
ok correct answer!
Test #38:
score: 0
Accepted
time: 0ms
memory: 3900kb
input:
8 2 .S .. .. .. .. .. .# G.
output:
3 FORWARD IF-OPEN 1 LEFT
result:
ok correct answer!
Test #39:
score: 0
Accepted
time: 0ms
memory: 3776kb
input:
3 7 ...#..S #.#.... ....G..
output:
3 FORWARD FORWARD RIGHT
result:
ok correct answer!
Test #40:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
3 9 #......S. ...#.#... .G.#.#...
output:
3 FORWARD IF-OPEN 1 LEFT
result:
ok correct answer!
Test #41:
score: 0
Accepted
time: 1ms
memory: 3780kb
input:
2 9 .##..S... ##..##G.#
output:
4 FORWARD FORWARD FORWARD RIGHT
result:
ok correct answer!
Test #42:
score: 0
Accepted
time: 1ms
memory: 3900kb
input:
4 6 S..#.# ..#... ...... ..#G#.
output:
4 FORWARD FORWARD LEFT FORWARD
result:
ok correct answer!
Test #43:
score: 0
Accepted
time: 1ms
memory: 3900kb
input:
4 9 #..##S..# ##..#...# #.......# ####.#G##
output:
4 FORWARD IF-OPEN 4 LEFT LEFT
result:
ok correct answer!
Test #44:
score: 0
Accepted
time: 1ms
memory: 3912kb
input:
3 8 ....S... .....#.. ..#G#...
output:
4 FORWARD RIGHT FORWARD LEFT
result:
ok correct answer!
Test #45:
score: 0
Accepted
time: 1ms
memory: 3856kb
input:
4 9 .#.S##### ..#.###.. .#....#.# .####.G.#
output:
4 FORWARD LEFT FORWARD RIGHT
result:
ok correct answer!
Test #46:
score: 0
Accepted
time: 1ms
memory: 3820kb
input:
4 3 ..S ... ... #G#
output:
4 FORWARD IF-OPEN 4 RIGHT RIGHT
result:
ok correct answer!
Test #47:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
2 7 #...S.. ..#G##.
output:
4 FORWARD FORWARD FORWARD LEFT
result:
ok correct answer!
Test #48:
score: 0
Accepted
time: 1ms
memory: 3912kb
input:
5 6 ...S.. ...#.. ...#.. ...#.# #G..#.
output:
4 RIGHT FORWARD IF-OPEN 1 RIGHT
result:
ok correct answer!
Test #49:
score: 0
Accepted
time: 1ms
memory: 3924kb
input:
4 8 .#...#.S ..###... ........ ....G..#
output:
4 FORWARD RIGHT FORWARD LEFT
result:
ok correct answer!
Test #50:
score: 0
Accepted
time: 1ms
memory: 3816kb
input:
3 4 #S.. ##.. .#G#
output:
4 LEFT FORWARD RIGHT IF-OPEN 2
result:
ok correct answer!
Test #51:
score: 0
Accepted
time: 0ms
memory: 3960kb
input:
4 6 #.S.#. #..#.. ..#... ..G##.
output:
3 FORWARD IF-OPEN 1 LEFT
result:
ok correct answer!
Test #52:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
4 5 #..S. #.#.. ..#.. G#..#
output:
4 RIGHT FORWARD LEFT FORWARD
result:
ok correct answer!
Test #53:
score: -100
Wrong Answer
time: 0ms
memory: 3832kb
input:
5 5 #.#S# #...# ##.## ##..# .##.G
output:
5 LEFT IF-OPEN 4 RIGHT GOTO 2 FORWARD
result:
wrong answer your program is not correct.