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 top=-2;top<2;top++)
for(int left=-2;left<2;left++)
for(int right=-2;right<1;right++)
for(int bot=-2;bot<2;bot++) if(right>=0)
set_instruction({0,left,bot,right,top},1,'E');
else if(right==-2&&bot<0)
set_instruction({0,left,bot,right,top},1,'T');
else set_instruction({0,left,bot,right,top},1,(bot<0?'N':'S'));
}
# | 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... |