Submission #955968

#TimeUsernameProblemLanguageResultExecution timeMemory
955968Dan4LifeRobot Contest (IOI23_robot)C++17
6 / 100
103 ms5620 KiB
#include "robot.h"

void program_pulibot()
{
    //set_instruction({0, -2, -1, 0, -2}, 1, 'E');
    //set_instruction({0, 1, -1, 0, -2}, 1, 'E');
    //set_instruction({0, 1, 0, -2, -2}, 1, 'S');
    //set_instruction({0, -1, -2, -2, 1}, 1, 'T');

    set_instruction({0,-2,0,0,-2},1,'E'); // start moving east
    set_instruction({0,1,0,0,-2},1,'E'); // move east
    set_instruction({0,1,0,-2,-2},1,'S'); // start moving down
    set_instruction({0,0,0,-2,1},1,'S'); // move down
    set_instruction({0,0,-2,-2,1},1,'T'); // Last block
}
/*
------
-1111-
-0001-
-0001-
-0001-
------
*/
#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...