QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#531243#7123. Robot Contestgreen_gold_dog#0 201ms4068kbC++202.1kb2024-08-24 19:27:222024-08-24 19:27:23

Judging History

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

  • [2024-08-24 19:27:23]
  • 评测
  • 测评结果:0
  • 用时:201ms
  • 内存:4068kb
  • [2024-08-24 19:27:22]
  • 提交

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]