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;
void program_pulibot()
{
for(int chap=-2;chap<=1;chap++){
for(int paee=-2;paee<=1;paee++){
for(int rast=-2;rast<=1;rast++){
for(int bal=-2;bal<=1;bal++){
vector<int>v={0,chap,paee,rast,bal};
if(paee==-2&&rast==-2){
set_instruction(v,1,'T');
continue;
}
if(rast>=0){
set_instruction(v,1,'E');
continue;
}
if(paee>=0){
set_instruction(v,1,'S');
}
}
}
}
}
// set_instruction({0, -2, -1, 0, -2}, 1, 'E');
// set_instruction({0, 1, -1, 0, -2}, 1, 'E');
// set_instruction({0, 1, 0, -2, -2}, 1, 'S');
// set_instruction({0, -1, -2, -2, 1}, 1, 'T');
}
# | 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... |