QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#218083 | #7123. Robot Contest | hocky# | 0 | 194ms | 4100kb | C++14 | 3.1kb | 2023-10-17 18:14:32 | 2024-04-21 00:26:37 |
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: 188ms
memory: 3808kb
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: 194ms
memory: 3832kb
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: 190ms
memory: 3816kb
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: 189ms
memory: 4100kb
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: 193ms
memory: 3876kb
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: 189ms
memory: 3872kb
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: 3816kb
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]