제출 #1058316

#제출 시각아이디문제언어결과실행 시간메모리
1058316Ignut로봇 대회 (IOI23_robot)C++17
25 / 100
123 ms5784 KiB
/* Ignut
started: 14.08.2024
now: 14.08.2024
████████████████████████████████████████████████████████████████████
████████████████████████████████    ████████████████████████████████
██████████████████████████████        ██████████████████████████████
██████      ██████████████████        ██████████████████      ██████
██████          ██████████████        ██████████████          ██████
██████      ██    ████████████        ████████████    ██      ██████
██████      ████    ██████████        ██████████    ████      ██████
██████      ████      ██████████    ██████████      ████      ██████
██████      ████      ██████████    ██████████    ██████      ██████
██████      ██████    ██████████    ██████████    ██████      ██████
██████      ██████    ████████        ████████    ██████      ██████
██████      ██████      ██████        ██████      ██████      ██████
██████      ████        ████            ████        ████      ██████
██████            ██████████    ████    ██████████            ██████
██████      ██      ██████    ████████    ██████      ██      ██████
██████      ██████            ████████            ██████      ██████
██████                    ██            ██                    ██████
██████████████████████      ████    ████      ██████████████████████
████████████████████████      ██    ██      ████████████████████████
██████████████████████████                ██████████████████████████
██████████████████████████████        ██████████████████████████████
████████████████████████████████████████████████████████████████████
*/
 
#include <bits/stdc++.h>
 
using namespace std;
using ll = long long;

void set_instruction(vector<int> S, int Z, char A);

void program_pulibot() {
    for (int i1 = -2; i1 <= 2; i1 ++) {
        for (int i2 = -2; i2 <= 2; i2 ++) {
            for (int i3 = -2; i3 <= 2; i3 ++) {
                for (int i4 = -2; i4 <= 2; i4 ++) {
                    for (int i5 = -2; i5 <= 2; i5 ++) {
                        if (i4 == -2 && i3 == -2) {
                            set_instruction({i1, i2, i3, i4, i5}, 1, 'T');
                            continue;
                        }

                        if (i4 == 0) {
                            set_instruction({i1, i2, i3, i4, i5}, 1, 'E');
                        }
                        else if (i3 == 0) {
                            set_instruction({i1, i2, i3, i4, i5}, 1, 'S');
                        }
                        else if (i2 == 0) {
                            set_instruction({i1, i2, i3, i4, i5}, 1, 'W');
                        }
                        else if (i5 == 0) {
                            set_instruction({i1, i2, i3, i4, i5}, 1, 'N');
                        } ////////////////////////////
                        else if (i4 == 1) {
                            set_instruction({i1, i2, i3, i4, i5}, 2, 'E');
                        }
                        else if (i3 == 1) {
                            set_instruction({i1, i2, i3, i4, i5}, 2, 'S');
                        }
                        else if (i2 == 1) {
                            set_instruction({i1, i2, i3, i4, i5}, 2, 'W');
                        }
                        else if (i5 == 1) {
                            set_instruction({i1, i2, i3, i4, i5}, 2, 'N');
                        }
                    }
                }
            }
        }
    }
}

// int main() {
//     ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);

//     #ifndef ONLINE_JUDGE
//         freopen("input123.txt", "r", stdin);
//         freopen("output123.txt", "w", stdout);
//     #endif

//     return 0;
// }

/*
*/
#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...