QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#218083 | #7123. Robot Contest | hocky# | 0 | 193ms | 4108kb | C++14 | 3.1kb | 2023-10-17 18:14:32 | 2024-04-28 07:54:08 |
Judging History
answer
#include "robot.h"
using namespace std;
void program_pulibot(){
set_instruction({-1, -2, 0, 0, -2}, 1, 'E');
set_instruction({0, -2, -2, 0, 1}, 1, 'E');
set_instruction({0, -2, -1, 0, -2}, 1, 'E');
set_instruction({0, -2, -1, 0, 1}, 1, 'E');
set_instruction({0, -2, -1, 1, -1}, 2, 'E');
set_instruction({0, -2, 0, -1, -2}, 1, 'S');
set_instruction({0, -2, 0, -1, 1}, 1, 'S');
set_instruction({0, -2, 0, 0, -2}, 1, 'E');
set_instruction({0, -2, 0, 0, 1}, 1, 'E');
set_instruction({0, -2, 0, 1, -1}, 1, 'S');
set_instruction({0, -1, -2, -2, 1}, 1, 'T');
set_instruction({0, -1, -2, 0, 1}, 1, 'E');
set_instruction({0, -1, -1, 0, 1}, 1, 'E');
set_instruction({0, -1, -1, 1, -1}, 2, 'E');
set_instruction({0, -1, 0, -2, 1}, 1, 'S');
set_instruction({0, -1, 0, -1, 1}, 1, 'S');
set_instruction({0, -1, 0, 0, 1}, 1, 'E');
set_instruction({0, -1, 0, 1, -1}, 1, 'S');
set_instruction({0, -1, 0, 1, 0}, 1, 'N');
set_instruction({0, -1, 1, -1, -1}, 2, 'S');
set_instruction({0, -1, 1, -1, 0}, 1, 'N');
set_instruction({0, -1, 1, 0, -2}, 1, 'E');
set_instruction({0, -1, 1, 0, -1}, 1, 'E');
set_instruction({0, -1, 1, 0, 0}, 1, 'E');
set_instruction({0, 0, -2, -2, 1}, 1, 'T');
set_instruction({0, 0, -1, -2, 1}, 1, 'W');
set_instruction({0, 0, -1, -1, 1}, 1, 'W');
set_instruction({0, 0, -1, 0, 1}, 1, 'E');
set_instruction({0, 0, -1, 1, -1}, 1, 'W');
set_instruction({0, 0, -1, 1, 0}, 1, 'N');
set_instruction({0, 0, 0, -2, 1}, 1, 'W');
set_instruction({0, 0, 0, -1, 1}, 1, 'W');
set_instruction({0, 0, 0, 1, -1}, 1, 'W');
set_instruction({0, 0, 0, 1, 0}, 1, 'N');
set_instruction({0, 0, 1, -1, -1}, 1, 'W');
set_instruction({0, 0, 1, 0, -1}, 1, 'E');
set_instruction({0, 1, -2, -2, -1}, 1, 'T');
set_instruction({0, 1, -2, -2, 0}, 1, 'T');
set_instruction({0, 1, -2, -1, 0}, 1, 'N');
set_instruction({0, 1, -2, 0, -1}, 1, 'E');
set_instruction({0, 1, -2, 0, 0}, 1, 'E');
set_instruction({0, 1, -1, -2, -1}, 2, 'W');
set_instruction({0, 1, -1, -1, -1}, 2, 'W');
set_instruction({0, 1, -1, -1, 0}, 1, 'N');
set_instruction({0, 1, -1, 0, -2}, 1, 'E');
set_instruction({0, 1, -1, 0, -1}, 1, 'E');
set_instruction({0, 1, -1, 0, 0}, 1, 'E');
set_instruction({0, 1, 0, -2, -2}, 1, 'S');
set_instruction({0, 1, 0, -2, -1}, 1, 'S');
set_instruction({0, 1, 0, -1, -2}, 1, 'S');
set_instruction({0, 1, 0, -1, -1}, 1, 'S');
set_instruction({0, 1, 0, -1, 0}, 1, 'N');
set_instruction({0, 1, 0, 0, -2}, 1, 'E');
set_instruction({1, -2, 0, 2, 1}, 1, 'S');
set_instruction({1, -1, 0, 2, 1}, 1, 'S');
set_instruction({1, -1, 1, -1, 2}, 2, 'S');
set_instruction({1, -1, 2, -2, 1}, 2, 'N');
set_instruction({1, 0, -1, 2, 1}, 1, 'W');
set_instruction({1, 0, 0, 1, 2}, 1, 'W');
set_instruction({1, 0, 1, 2, -1}, 1, 'W');
set_instruction({1, 1, -1, 2, -1}, 2, 'W');
set_instruction({1, 1, -1, 2, 0}, 1, 'N');
set_instruction({1, 1, -1, 2, 2}, 2, 'W');
set_instruction({1, 1, 2, -2, -1}, 2, 'W');
set_instruction({1, 2, -1, -2, 1}, 2, 'N');
set_instruction({1, 2, -1, 1, -1}, 2, 'E');
set_instruction({1, 2, 0, -1, 1}, 1, 'S');
set_instruction({1, 2, 0, 1, -1}, 1, 'S');
set_instruction({1, 2, 0, 1, 2}, 1, 'S');
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 0
Wrong Answer
time: 177ms
memory: 3832kb
input:
4 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 t
output:
p71c1rw3EvfjFcMVWG0EOedGbWDX5uUp OK 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
wrong answer Unexpected state: [0, 0, 0, 1, 1]
Subtask #2:
score: 0
Wrong Answer
Test #9:
score: 10
Accepted
time: 193ms
memory: 3852kb
input:
2 15 0 1 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 t
output:
p71c1rw3EvfjFcMVWG0EOedGbWDX5uUp OK 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok
Test #10:
score: 10
Accepted
time: 177ms
memory: 3860kb
input:
2 10 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 t
output:
p71c1rw3EvfjFcMVWG0EOedGbWDX5uUp OK 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok
Test #11:
score: 10
Accepted
time: 179ms
memory: 4108kb
input:
2 15 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 1 1 0 1 0 0 1 1 0 t
output:
p71c1rw3EvfjFcMVWG0EOedGbWDX5uUp OK 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
ok
Test #12:
score: 0
Wrong Answer
time: 184ms
memory: 4092kb
input:
2 15 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 1 0 0 0 0 1 1 1 1 1 0 t
output:
p71c1rw3EvfjFcMVWG0EOedGbWDX5uUp OK 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
wrong answer Unexpected state: [0, 0, 1, 0, -2]
Subtask #3:
score: 0
Wrong Answer
Test #28:
score: 0
Wrong Answer
time: 180ms
memory: 3860kb
input:
15 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 1 1 1 1 1 0 1 1 0 1 0 1 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 1 1 0 1 1 0 1 1 0 1 0 1 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0 1 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 1 1 1 1 0 0 1 0 0 0 1 1 0 1 0 1 0 ...
output:
p71c1rw3EvfjFcMVWG0EOedGbWDX5uUp OK 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
wrong answer Unexpected state: [0, 1, -2, -1, -1]
Subtask #4:
score: 0
Wrong Answer
Test #40:
score: 0
Wrong Answer
time: 193ms
memory: 4088kb
input:
15 15 0 0 0 0 0 0 0 0 0 0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0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
result:
wrong answer Unexpected state: [0, 1, 0, -1, 1]