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"
#include <bits/stdc++.h>
using namespace std;
const int Zmax = 19;
#define all(x) for(int x = -2; x <= Zmax; x++)
#define do(x, y) set_instruction({a, b, c, d, e}, x, y)
void program_pulibot()
{
all(a) {
all(b) {
int c = -2, d = -2;
all(e) {
do(1, 'T');
}
}
}
all(a) {
all(b) {
all(c) {
int d = 0;
all(e) {
do(1, 'E');
}
}
}
}
all(a) {
all(b) {
int c = -2, d = -1, e = 0;
do(1, 'N');
}
}
all(a) {
all(b) {
int c = 0, d = -1, e = -2;
do(1, 'S');
}
}
set_instruction({0, 1, 0, -2, -2}, 1, 'S');
}
/*
all(a) {
all(b) {
all(c) {
all(d) {
all(e) {
//
}
}
}
}
}
*/
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |