제출 #1080707

#제출 시각아이디문제언어결과실행 시간메모리
1080707MarwenElarbi로봇 대회 (IOI23_robot)C++17
6 / 100
112 ms5668 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==1 ? 'W' : 'N')); set_instruction({1,i,j,k,t},2,(i==1 ? 'W' : 'N')); }else if(j==0&&k==0){ set_instruction({0,i,j,k,t},1,'E'); set_instruction({1,i,j,k,t},1,'S'); }else if(k==0){ set_instruction({0,i,j,k,t},1,'E'); }else if(j==0){ set_instruction({0,i,j,k,t},1,'S'); } } } } } }
#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...