제출 #1241473

#제출 시각아이디문제언어결과실행 시간메모리
1241473matsakyannn로봇 대회 (IOI23_robot)C++20
6 / 100
68 ms5704 KiB
#include <bits/stdc++.h> #include "robot.h" using namespace std; #ifndef ONLINE_JUDGE #define dbg(x) cerr << #x << ' '; print(x); cerr << endl; #else #define dbg(x) #endif void print(int x) {cerr << x;} void print(long long x) {cerr << x;} void print(char x) {cerr << x;} void print(string x) {cerr << x;} void print(double x) {cerr << x;} template <class T> void print(vector <T> x); template <class T> void print(set <T> x); template <class T> void print(multiset <T> x); template <class T, class V> void print(pair <T, V> x); template <class T, class V> void print(map <T, V> x); template <class T> void print(vector <T> x) {cerr << "[ "; for(auto i : x) {print(i); cerr << ' ';} cerr << "]";} template <class T> void print(set <T> x) {cerr << "[ "; for(auto i : x) {print(i); cerr << ' ';} cerr << "]";} template <class T> void print(multiset <T> x) {cerr << "[ "; for(auto i : x) {print(i); cerr << ' ';} cerr << "]";} template <class T, class V> void print(pair <T, V> x) {cerr << "{"; print(x.first); cerr << ' '; print(x.second); cerr << "}";} template <class T, class V> void print(map <T, V> x) {cerr << "[ "; for(auto i : x) {print(i); cerr << ' ';} cerr << "]";} #define ll long long #define pb push_back #define ppb pop_back #define PII pair <int, int> #define PLL pair <ll, ll> #define all(v) (v).begin(), (v).end() #define OK cerr << "OK\n"; #define MP make_pair void program_pulibot(){ for(int i0 = -2; i0 <= 1; i0++){ for(int i1 = -2; i1 <= 1; i1++){ for(int i2 = -2; i2 <= 1; i2++){ for(int i3 = -2; i3 <= 1; i3++){ for(int i4 = -2; i4 <= 1; i4++){ if(i3 == 0){ set_instruction({i0, i1, i2, i3, i4}, 1, 'E'); continue; } if(i2 == 0){ set_instruction({i0, i1, i2, i3, i4}, 1, 'S'); continue; } set_instruction({i0, i1, i2, i3, i4}, 1, 'T'); } } } } } }
#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...