제출 #1058084

#제출 시각아이디문제언어결과실행 시간메모리
1058084TheQuantiX로봇 대회 (IOI23_robot)C++17
0 / 100
86 ms8136 KiB
#include <bits/stdc++.h> #include "robot.h" using namespace std; using ll = long long; ll n, m, q, k, x, y, a, b, c, l; set< vector<int> > st; void set_any(vector<int> v, int z, int a) { // for (auto i : v) { // cout << i << ' '; // } // cout << endl; for (int i = 0; i < 5; i++) { if (v[i] == -3) { for (int j = -2; j <= 5; j++) { v[i] = j; set_any(v, z, a); } v[i] = -3; return; } if (v[i] == -5) { for (int j = -2; j <= -1; j++) { v[i] = j; set_any(v, z, a); } v[i] = 1; set_any(v, z, a); v[i] = -4; return; } } if (!st.count(v)) { set_instruction(v, z, a); st.insert(v); } } void program_pulibot() { set_any({-3, -2, -5, -5, -2}, 1, 'T'); set_any({-3, -3, -3, 0, -3}, 2, 'E'); set_any({-3, -3, 0, -3, -3}, 3, 'S'); set_any({-3, -3, -3, -3, 0}, 4, 'N'); set_any({-3, 0, -3, -3, -3}, 5, 'W'); set_any({-3, -3, -3, 5, -3}, 1, 'E'); set_any({-3, -3, 4, -3, -3}, 1, 'S'); set_any({-3, -3, -3, -3, 3}, 1, 'N'); set_any({-3, 2, -3, -3, -3}, 1, 'W'); }
#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...