QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#531248#7123. Robot Contestgreen_gold_dog#0 199ms4076kbC++202.3kb2024-08-24 19:28:462024-08-24 19:28:48

Judging History

你现在查看的是最新测评结果

  • [2024-08-24 19:28:48]
  • 评测
  • 测评结果:0
  • 用时:199ms
  • 内存:4076kb
  • [2024-08-24 19:28:46]
  • 提交

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');
}

詳細信息

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]