Submission #955964

#TimeUsernameProblemLanguageResultExecution timeMemory
955964Dan4LifeRobot Contest (IOI23_robot)C++17
0 / 100
102 ms5584 KiB
#include "robot.h"
using namespace std;

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