Submission #841592

#TimeUsernameProblemLanguageResultExecution timeMemory
841592ogkostyaRobot Contest (IOI23_robot)C++17
16 / 100
105 ms5836 KiB
#include "robot.h"

void program_pulibot()
{
    for (auto a : {-2, -1, 1, 0})
    {
        for (auto b : { -2, -1, 1, 0 })
        {
            for (auto c : { -2, -1, 1, 0 })
            {
                set_instruction({ 0, a, b, 0, c }, 1, 'E');
            }

            set_instruction({ 0, a, 0, -1, b }, 1, 'S');
            set_instruction({ 0, a, 0, -2, b }, 1, 'S');

            set_instruction({ 0, a, -2, -2, b }, 1, 'T');
        }
        
        set_instruction({ 0, a, -2, -1, 0 }, 1, 'N');
       
    }
}
#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...