Submission #958551

#TimeUsernameProblemLanguageResultExecution timeMemory
958551nguyentunglamRobot Contest (IOI23_robot)C++17
16 / 100
107 ms5968 KiB
#include "robot.h" #ifdef ngu #include "grader.cpp" #endif // ngu #include<bits/stdc++.h> using namespace std; void program_pulibot() { for(int cur = -2; cur <= 1; cur++) for(int west = -2; west <= 1; west++) { for(int south = -2; south <= 1; south++) for(int east = -2; east <= 1; east++) for(int north = -2; north <= 1; north++) { vector<int> state = {cur, west, south, east, north}; if (east == -2 && south == -2) { set_instruction(state, 1, 'T'); continue; } if (east == 0) { set_instruction(state, 1, 'E'); continue; } if (south == 0) { set_instruction(state, 1, 'S'); continue; } if (north == 0) { set_instruction(state, 1, 'N'); continue; } // if (cur == 0) { // set_instruction(state, 1, 'H'); // continue; // } // set_instruction(state, 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...