QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#531243 | #7123. Robot Contest | green_gold_dog# | 0 | 201ms | 4068kb | C++20 | 2.1kb | 2024-08-24 19:27:22 | 2024-08-24 19:27:23 |
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');
}
详细
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 0
Wrong Answer
time: 198ms
memory: 3992kb
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: 201ms
memory: 3824kb
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: 182ms
memory: 4068kb
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: 185ms
memory: 3824kb
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: 192ms
memory: 3768kb
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]