QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#505560 | #5972. Pegman | xiaowuc1 | 15 ✓ | 1ms | 3544kb | C++17 | 2.3kb | 2024-08-05 06:08:21 | 2024-08-05 06:08:25 |
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
Subtask #1:
score: 5
Accepted
Test #1:
score: 5
Accepted
time: 0ms
memory: 3532kb
input:
100 2 1 ^ ^ 2 2 >v ^< 3 3 ... .^. ... 1 1 . 4 4 .>>> >... >... .>>> 4 4 .>>. ^..v ^..v .<<. 4 4 >>>. ^..v ^..v ^<<. 4 4 >>>v ^<<< ^... ^<<< 4 4 >>v< ..v. ..v. ^<<. 4 4 .^^. ^..^ ^^^^ ^..^ 4 4 ^..^ <^^> <..> v..v 1 4 <..> 1 1 ^ 1 1 v 4 3 .<v ^<. <<. <v< 1 2 >^ 1 2 ^< 2 3 <.> <vv 4 4 >><> v<^^ >^^v v>...
output:
Case #1: 1 Case #2: 0 Case #3: IMPOSSIBLE Case #4: 0 Case #5: 4 Case #6: 4 Case #7: 2 Case #8: 0 Case #9: 0 Case #10: 4 Case #11: 10 Case #12: 2 Case #13: IMPOSSIBLE Case #14: IMPOSSIBLE Case #15: 5 Case #16: 1 Case #17: 1 Case #18: 5 Case #19: 4 Case #20: 1 Case #21: 0 Case #22: 6 Case #23: 1 Case ...
result:
ok 100 lines
Subtask #2:
score: 10
Accepted
Test #2:
score: 10
Accepted
time: 1ms
memory: 3544kb
input:
100 2 1 ^ ^ 2 2 >v ^< 3 3 ... .^. ... 1 1 . 4 4 .>>> >... >... .>>> 4 4 .>>. ^..v ^..v .<<. 4 4 >>>. ^..v ^..v ^<<. 4 4 >>>v ^<<< ^... ^<<< 4 4 >>v< ..v. ..v. ^<<. 4 4 .^^. ^..^ ^^^^ ^..^ 4 4 ^..^ <^^> <..> v..v 3 4 ..>v v..^ <>v> 18 7 <>><<^v ^v>.>^> >^.v>>> <<>^..> <<v>.>. ^>>^><^ ^v^<<>< v<^^v^^ ...
output:
Case #1: 1 Case #2: 0 Case #3: IMPOSSIBLE Case #4: 0 Case #5: 4 Case #6: 4 Case #7: 2 Case #8: 0 Case #9: 0 Case #10: 4 Case #11: 10 Case #12: 3 Case #13: 12 Case #14: 3 Case #15: 3 Case #16: 1 Case #17: 9 Case #18: IMPOSSIBLE Case #19: 4 Case #20: IMPOSSIBLE Case #21: 12 Case #22: 10 Case #23: 0 Ca...
result:
ok 100 lines
Extra Test:
score: 0
Extra Test Passed