# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
842550 | CodePlatina | Robot Contest (IOI23_robot) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "robot.h"
void program_pulibot()
{
for(int i = -2; i <= 1; ++i)
for(int j = -2; j <= 1; ++j)
for(int k = -2; k <= 1; ++k)
set_instruction({0, i, j, 0, k}, 1, 'E');
for(int i = -2; i <= 1; ++i)
for(int j = -2; j <= 1; ++j)
{
set_instruction({0, i, -2, -1, j}, 1, 'N');
set_instruction({i, j, -1, -2, 1}, 'S');
}
for(int i = -2; i <= 1; ++i)
for(int j = -2; j <= 1; ++j)
{
set_instruction({i, j, -2, -2, 1}, 'S');
set_instruction({i, -2, j, -2, 1}, 'T');
}
}