제출 #1068225

#제출 시각아이디문제언어결과실행 시간메모리
1068225parsadox2로봇 대회 (IOI23_robot)C++17
6 / 100
93 ms5712 KiB
#include "robot.h" #include <bits/stdc++.h> using namespace std; void program_pulibot() { for(int a = 0 ; a < 2 ; a++) for(int b = -2 ; b < 2 ; b++) for(int c = -2 ; c < 1 ; c++) for(int d = -2 ; d < 1 ; d++) for(int e = -2 ; e < 2 ; e++) { vector <int> vec = {a , b , c , d , e}; if(a == 0) { set_instruction(vec , 1 , 'H'); continue; } if(c == -2 && d == -2) { set_instruction(vec , 1 , 'T'); continue; } if(c < 0 && d < 0) { if(b >= 0) set_instruction(vec , 0 , 'W'); else set_instruction(vec , 0 , 'N'); continue; } if(c == 0) { set_instruction(vec , 1 , 'S'); continue; } set_instruction(vec , 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...