제출 #1066762

#제출 시각아이디문제언어결과실행 시간메모리
1066762pcc로봇 대회 (IOI23_robot)C++17
16 / 100
131 ms5776 KiB
#include "robot.h" #include <bits/stdc++.h> using namespace std; #define vi vector<int> set<vi> st; void add(int a,int b,int c,int d,int e,int f,char t){ vi v = {a,b,c,d,e,f}; if(st.find(v) != st.end())return; st.insert(v); cerr<<"ADD: "<<a<<' '<<b<<' '<<c<<' '<<d<<' '<<e<<' '<<f<<' '<<t<<endl; set_instruction(vi({a,b,c,d,e}),f,t); } void program_pulibot(){ for(int l = -2;l<=1;l++){ for(int now = -2;now<=1;now++){ for(int u = -2;u<=1;u++)add(now,l,-2,-2,u,1,'T'); for(int d = -2;d<=1;d++){ for(int u = -2;u<=2;u++)add(now,l,d,0,u,1,'E'); } for(int r = -2;r<=-1;r++){ for(int u = -2;u<=1;u++)add(now,l,0,r,u,1,'S'); for(int d = -2;d<=1;d++)add(now,l,d,r,0,1,'N'); } } } return; }
#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...