제출 #856150

#제출 시각아이디문제언어결과실행 시간메모리
856150Sorting로봇 대회 (IOI23_robot)C++17
16 / 100
106 ms5716 KiB
#include "robot.h" #include <vector> using namespace std; void set_from_states(int curr, int west, int south, int east, int north){ vector<int> states{curr, west, south, east, north}; if(east == -2 && south == -2){ set_instruction(states, 1, 'T'); return; } if(east == 0){ set_instruction(states, 1, 'E'); return; } if(south == 0){ set_instruction(states, 1, 'S'); return; } if(north == 0){ set_instruction(states, 1, 'N'); return; } } void program_pulibot() { for(int curr = 0; curr < 1; ++curr){ for(int east = -2; east < 2; ++east){ for(int south = -2; south < 2; ++south){ for(int north = -2; north < 2; ++north){ for(int west = -2; west < 2; ++west){ set_from_states(curr, west, south, east, north); } } } } } }
#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...