Submission #1247017

#TimeUsernameProblemLanguageResultExecution timeMemory
1247017linusvdv로봇 대회 (IOI23_robot)C++20
6 / 100
66 ms5448 KiB
#include "robot.h" void program_pulibot() { // always if possible to the east for (int a = -2; a < 2; a++) { for (int b = -2; b < 2; b++) { for (int c = -2; c < 2; c++) { set_instruction({0, a, b, 0, c}, 1, 'E'); } } } // if east is closed than south for (int a = -2; a < 2; a++) { for (int b = -2; b < 2; b++) { for (int c = -2; c < 2; c++) { if (b == 0) continue; set_instruction({0, a, 0, b, c}, 1, 'S'); } } } // north set_instruction({0, -1, -1, -1, 0}, 1, 'S'); set_instruction({0, -1, -1, -2, 0}, 1, 'S'); set_instruction({0, -1, -2, -1, 0}, 1, 'S'); set_instruction({0, -2, -1, -1, 0}, 1, 'S'); set_instruction({0, -2, -1, -2, 0}, 1, 'S'); set_instruction({0, -2, -2, -1, 0}, 1, 'S'); // terminate at the end position for (int a = -2; a < 2; a++) { for (int b = -2; b < 2; b++) { set_instruction({0, a, -2, -2, b}, 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...