Submission #953075

#TimeUsernameProblemLanguageResultExecution timeMemory
953075MilosMilutinovicRobot Contest (IOI23_robot)C++17
25 / 100
107 ms5840 KiB
#include "robot.h" void program_pulibot(){ for(int x=0;x<2;x++){ for(int a=-2;a<=2;a++){ for(int b=-2;b<=2;b++){ for(int c=-2;c<=2;c++){ for(int d=-2;d<=2;d++){ if(b==-2&&c==-2) set_instruction({x,a,b,c,d},1,'T'); else if(c==0) set_instruction({x,a,b,c,d},1,'E'); else if(b==0) set_instruction({x,a,b,c,d},1,'S'); else if(d==0) set_instruction({x,a,b,c,d},1,'N'); else if(a==0) set_instruction({x,a,b,c,d},1,'W'); else{ if(c==1) set_instruction({x,a,b,c,d},2,'E'); else if(b==1) set_instruction({x,a,b,c,d},2,'S'); else if(d==1) set_instruction({x,a,b,c,d},2,'N'); else set_instruction({x,a,b,c,d},2,'W'); } } } } } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...