Submission #1233906

#TimeUsernameProblemLanguageResultExecution timeMemory
1233906marizaRobot Contest (IOI23_robot)C++20
10 / 100
68 ms5588 KiB
#include "robot.h"
#include <bits/stdc++.h>

using namespace std;
typedef long long ll;

void program_pulibot(){
    for(int w=-1; w<=1; w++){
        for(int n=-1; n<=1; n++){
            set_instruction({0,w,-2,-2,n},1,'T');
        }
    }

    for(int w=-2; w<=1; w++){
        for(int s=-2; s<=1; s++){
            for(int n=-2; n<=1; n++){
                set_instruction({0,w,s,0,n},1,'E');
            }
        }
    }

    for(int w=-2; w<=1; w++){
        set_instruction({0,w,-2,-1,0},1,'N');
    }

    for(int w=-2; w<=1; w++){
        for(int e=-2; e<=-1; e++){
            set_instruction({0,w,0,e,-2},1,'S');
        }
    }
}
#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...