Submission #843097

#TimeUsernameProblemLanguageResultExecution timeMemory
843097I_love_Hoang_YenRobot Contest (IOI23_robot)C++17
6 / 100
102 ms5892 KiB
#include "robot.h" #include <bits/stdc++.h> using namespace std; #define FOR(i,a,b) for(int i=(a),_##i##_b=(b); i<=_##i##_b; i++) void program_pulibot() { // subtask 1 FOR(cur,0,1) FOR(west,-2,1) FOR(south,-2,1) FOR(east,-2,1) FOR(north,-2,1) { vector<int> state {cur, west, south, east, north}; if (south == -2 && east == -2) { set_instruction(state, 1, 'T'); } else if (east == -2) { set_instruction(state, 1, 'S'); } else { set_instruction(state, 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...