제출 #843925

#제출 시각아이디문제언어결과실행 시간메모리
843925enerelt14로봇 대회 (IOI23_robot)C++17
16 / 100
110 ms5712 KiB
#include "robot.h" #include <cstdio> using namespace std; 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++) { if(j == -2 && k == -2) { set_instruction({0, i, j, k, l}, 1, 'T'); continue; } if(!j) { set_instruction({0, i, j, k, l}, 1, 'S'); set_instruction({1, i, j, k, l}, 1, 'S'); continue; } if(!k) { set_instruction({0, i, j, k, l}, 1, 'E'); set_instruction({1, i, j, k, l}, 1, 'E'); continue; } if(i == 1) { set_instruction({0, i, j, k, l}, 2, 'W'); set_instruction({1, i, j, k, l}, 2, 'W'); continue; } if(l == 1) { set_instruction({0, i, j, k, l}, 2, 'N'); set_instruction({1, i, j, k, l}, 2, 'N'); continue; } } } } } }
#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...