Submission #1065674

#TimeUsernameProblemLanguageResultExecution timeMemory
1065674alex_2008Robot Contest (IOI23_robot)C++17
16 / 100
108 ms5648 KiB
#include "robot.h" #include <iostream> #include <vector> #include <algorithm> #include <map> using namespace std; //H, W, S, E, N, T //Cur, L, D, R, U, Finish //void set_instruction(vector<int> S, int Z, char A) { // //} void program_pulibot() { //(0, -2, 0, 0, -2) -> (1, 1) for (int i : { -2, -1, 0, 1 }) { for (int j : { -2, -1, 0, 1 }) { for (int k : { -2, -1, 0, 1 }) { for (int z : { -2, -1, 0, 1 }) { if (j == -2 && k == -2) set_instruction({ 0, i, j, k, z }, 1, 'T'); else if (k >= 0) set_instruction({ 0, i, j, k, z }, 1, 'E'); else { if (j == -2) set_instruction({ 0, i, j, k, z }, 1, 'N'); else set_instruction({ 0, i, j, k, z }, 1, 'S'); } } } } } } //int main() { // //}
#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...