제출 #1047301

#제출 시각아이디문제언어결과실행 시간메모리
1047301Abito로봇 대회 (IOI23_robot)C++17
16 / 100
126 ms5772 KiB
#include "robot.h" #include <bits/stdc++.h> #define elif else if using namespace std; //WSEN 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 l=-2;l<=2;l++){ for (int n=-2;n<=2;n++){ if (k==-2 && l==-2){ set_instruction({i,j,k,l,n},1,'T'); continue; } if (i==0){ set_instruction({i,j,k,l,n},1,'H'); continue; } if (i==1){ if (k && l){ set_instruction({i,j,k,l,n},2,'H'); } elif (k) set_instruction({i,j,k,l,n},1,'E'); else set_instruction({i,j,k,l,n},1,'S'); continue; } if (i==2){ if (j==1) set_instruction({i,j,k,l,n},2,'W'); elif (n==1) set_instruction({i,j,k,l,n},2,'N'); } } } } } }return; }
#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...