Submission #1080691

#TimeUsernameProblemLanguageResultExecution timeMemory
1080691MarwenElarbiRobot Contest (IOI23_robot)C++17
0 / 100
88 ms5616 KiB
#include "robot.h" void program_pulibot() { for (int i = -2; i <= 2; ++i) { for (int j = -2; j <= 2; ++j) { for (int k = -2; k <= 2; ++k) { for (int t = -2; t <= 2; ++t) { if(k==-2&&j==-2) { set_instruction({0,i,j,k,t},1,'T'); } else if(j!=0&&k!=0){ set_instruction({0,i,j,k,t},2,(i==0 ? 'W' : 'N')); set_instruction({1,i,j,k,t},2,(i==0 ? 'W' : 'N')); }else if(j==0&&k==0){ set_instruction({1,i,j,k,t},1,'E'); }else if(j==0){ set_instruction({0,i,j,k,t},1,'S'); }else if(k==0){ set_instruction({0,i,j,k,t},1,'E'); } } } } } }
#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...