Submission #1088020

#TimeUsernameProblemLanguageResultExecution timeMemory
1088020Valaki2Robot Contest (IOI23_robot)C++17
10 / 100
124 ms10620 KiB
#include "robot.h"
#include <bits/stdc++.h>
using namespace std;

const int Zmax = 19;

#define all(x) for(int x = -2; x <= Zmax; x++)
#define do(x, y) set_instruction({a, b, c, d, e}, x, y)

void program_pulibot()
{
    all(a) {
        all(b) {
            int c = -2, d = -2;
                    all(e) {
                        do(1, 'T');
                    }
        }
    }
    all(a) {
        all(b) {
            all(c) {
                int d = 0;
                    all(e) {
                        do(1, 'E');
                    }
            }
        }
    }
    all(a) {
        all(b) {
            int c = -2, d = -1, e = 0;
                        do(1, 'N');
        }
    }
    all(a) {
        all(b) {
                int c = 0, d = -1, e = -2;
                do(1, 'S');
        }
    }
    set_instruction({0, 1, 0, -2, -2}, 1, 'S');
}

/*
all(a) {
        all(b) {
            all(c) {
                all(d) {
                    all(e) {
                        //
                    }
                }
            }
        }
    }
*/
#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...