제출 #1068346

#제출 시각아이디문제언어결과실행 시간메모리
1068346amirhoseinfar1385로봇 대회 (IOI23_robot)C++17
10 / 100
96 ms5616 KiB
#include "robot.h" #include<bits/stdc++.h> using namespace std; void program_pulibot() { for(int chap=-2;chap<=1;chap++){ for(int paee=-2;paee<=1;paee++){ for(int rast=-2;rast<=1;rast++){ for(int bal=-2;bal<=1;bal++){ vector<int>v={0,chap,paee,rast,bal}; if(paee==-2&&rast==-2){ set_instruction(v,1,'T'); continue; } if(rast>=0){ set_instruction(v,1,'E'); continue; } if(bal>=0){ set_instruction(v,1,'N'); continue; } if(paee>=0){ set_instruction(v,1,'S'); } } } } } // set_instruction({0, -2, -1, 0, -2}, 1, 'E'); // set_instruction({0, 1, -1, 0, -2}, 1, 'E'); // set_instruction({0, 1, 0, -2, -2}, 1, 'S'); // set_instruction({0, -1, -2, -2, 1}, 1, 'T'); }
#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...