Submission #1025759

#TimeUsernameProblemLanguageResultExecution timeMemory
1025759GrayRobot Contest (IOI23_robot)C++17
10 / 100
122 ms5644 KiB
#include "robot.h"

void program_pulibot()
{
    // 0 0
    set_instruction({0, -2, 0, 0, -2}, 1, 'E');
    set_instruction({0, -2, -1, 0, -2}, 1, 'E');
    set_instruction({0, -2, 0, -1, -2}, 1, 'S');
    // 1 0
    set_instruction({0, -2, -2, 0, 1}, 1, 'E');
   
    // 0 x
    // from down
    set_instruction({0, -1, 1, 0, -2}, 1, 'E');
    set_instruction({0, 0, 1, 0, -2}, 1, 'E');
    // from up
    set_instruction({0, 1, 0, 0, -2}, 1, 'E');
    set_instruction({0, 1, -1, 0, -2}, 1, 'E');
    set_instruction({0, 1, 0, -1, -2}, 1, 'S');
    
    // 1 x
    // from_up
    set_instruction({0, 0, -2, 0, 1}, 1, 'E');
    set_instruction({0, -1, -2, 0, 1}, 1, 'E');
    //from down
    set_instruction({0, 1, -2, 0, 0}, 1, 'E');
    set_instruction({0, 1, -2, 0, -1}, 1, 'E');
    set_instruction({0, 1, -2, -1, 0}, 1, 'N');

    // 0 w
    set_instruction({0, 1, 0, -2, -2}, 1, 'S');
    // h w
    set_instruction({0, 1, -2, -2, 0}, 1, 'T');
    set_instruction({0, 1, -2, -2, -1}, 1, 'T');
    set_instruction({0, 0, -2, -2, 1}, 1, 'T');
    set_instruction({0, -1, -2, -2, 1}, 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...