QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#531248 | #7123. Robot Contest | green_gold_dog# | 0 | 199ms | 4076kb | C++20 | 2.3kb | 2024-08-24 19:28:46 | 2024-08-24 19:28:48 |
Judging History
answer
#include "robot.h"
#include<bits/stdc++.h>
using namespace std;
typedef int ll;
void program_pulibot() {//W = (0, -1), S = (+1, 0), E = (0, +1), N = (-1, 0)
set_instruction(vector<ll>{0, -2, 0, 0, -2}, 1, 'E');
set_instruction(vector<ll>{0, 1, 0, 0, -2}, 1, 'E');
set_instruction(vector<ll>{0, 0, 0, 0, -2}, 1, 'E');
set_instruction(vector<ll>{0, -1, 0, 0, -2}, 1, 'E');
set_instruction(vector<ll>{0, -2, -2, 0, 0}, 1, 'E');
set_instruction(vector<ll>{0, 1, -2, 0, 0}, 1, 'E');
set_instruction(vector<ll>{0, 0, -2, 0, 0}, 1, 'E');
set_instruction(vector<ll>{0, -1, -2, 0, 0}, 1, 'E');
set_instruction(vector<ll>{0, -2, 1, 0, -2}, 1, 'E');
set_instruction(vector<ll>{0, 1, 1, 0, -2}, 1, 'E');
set_instruction(vector<ll>{0, 0, 1, 0, -2}, 1, 'E');
set_instruction(vector<ll>{0, -1, 1, 0, -2}, 1, 'E');
set_instruction(vector<ll>{0, -2, -2, 0, 1}, 1, 'E');
set_instruction(vector<ll>{0, 1, -2, 0, 1}, 1, 'E');
set_instruction(vector<ll>{0, 0, -2, 0, 1}, 1, 'E');
set_instruction(vector<ll>{0, -1, -2, 0, 1}, 1, 'E');
set_instruction(vector<ll>{0, -2, 0, -1, -2}, 1, 'S');
set_instruction(vector<ll>{0, 1, 0, -1, -2}, 1, 'S');
set_instruction(vector<ll>{0, 0, 0, -1, -2}, 1, 'S');
set_instruction(vector<ll>{0, -1, 0, -1, -2}, 1, 'S');
set_instruction(vector<ll>{0, -2, -2, -1, 0}, 1, 'N');
set_instruction(vector<ll>{0, 1, -2, -1, 0}, 1, 'N');
set_instruction(vector<ll>{0, 0, -2, -1, 0}, 1, 'N');
set_instruction(vector<ll>{0, -1, -2, -1, 0}, 1, 'N');
set_instruction(vector<ll>{0, -2, 0, -2, -2}, 1, 'S');
set_instruction(vector<ll>{0, 1, 0, -2, -2}, 1, 'S');
set_instruction(vector<ll>{0, 0, 0, -2, -2}, 1, 'S');
set_instruction(vector<ll>{0, -1, 0, -2, -2}, 1, 'S');
set_instruction(vector<ll>{0, -2, -2, -2, 0}, 1, 'T');
set_instruction(vector<ll>{0, 1, -2, -2, 0}, 1, 'T');
set_instruction(vector<ll>{0, 0, -2, -2, 0}, 1, 'T');
set_instruction(vector<ll>{0, -1, -2, -2, 0}, 1, 'T');
set_instruction(vector<ll>{0, -2, -2, -2, 1}, 1, 'T');
set_instruction(vector<ll>{0, 1, -2, -2, 1}, 1, 'T');
set_instruction(vector<ll>{0, 0, -2, -2, 1}, 1, 'T');
set_instruction(vector<ll>{0, -1, -2, -2, 1}, 1, 'T');
set_instruction(vector<ll>{0, -2, -2, -2, -1}, 1, 'T');
set_instruction(vector<ll>{0, 1, -2, -2, -1}, 1, 'T');
set_instruction(vector<ll>{0, 0, -2, -2, -1}, 1, 'T');
set_instruction(vector<ll>{0, -1, -2, -2, -1}, 1, 'T');
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 0
Wrong Answer
time: 189ms
memory: 3844kb
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, -2, 1]
Subtask #2:
score: 0
Wrong Answer
Test #9:
score: 0
Wrong Answer
time: 188ms
memory: 4068kb
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:
wrong answer Unexpected state: [0, 1, -2, 0, -1]
Subtask #3:
score: 0
Wrong Answer
Test #28:
score: 0
Wrong Answer
time: 194ms
memory: 4072kb
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, -1, 0, -2]
Subtask #4:
score: 0
Wrong Answer
Test #40:
score: 0
Wrong Answer
time: 195ms
memory: 3724kb
input:
15 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 ...
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, -1, 0, -2]
Subtask #5:
score: 0
Wrong Answer
Test #64:
score: 0
Wrong Answer
time: 199ms
memory: 4076kb
input:
15 15 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 0 1 1 0 0 0 1 1 1 1 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 1 1 1 1 1 1 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 1 0 0 1 0 0 0 1 0 0 1 0 0 1 0 0 1 1 0 1 1 1 0 0 0 1 0 0 0 0 0 0 1 0 0 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, -2, -1, 0, -2]