Submission #1241483

#TimeUsernameProblemLanguageResultExecution timeMemory
1241483dostsRobot Contest (IOI23_robot)C++20
0 / 100
66 ms5448 KiB
#include "robot.h" #include <bits/stdc++.h> #pragma GCC optimize("O3,unroll-loops") #pragma GCC target("avx2") //#define int long long #define pii pair<int,int> #define vi vector<int> #define ff first #define ss second #define sp << " " << #define all(x) x.begin(),x.end() #define big(x) ((int)(x.size())) using namespace std; const int MOD = 1e9+7, LIM = 1e6+1, inf = 2e9; map<vi,int> memo; void koy(vi v,int c,char A) { if (memo[v]) return; memo[v] = 1; set_instruction(v,c,A); } void program_pulibot() { for (int i = -2;i<=0;i++) { for (int j = -2;j<=0;j++) { for (int k = -2;k<=0;k++) { koy({i,j,-2,-2,k},0,'T'); for (int jj = -2;jj<=0;jj++) { if (j != -2) koy({i,-2,j,k,jj},0,'S'); if (k != -2) koy({i,j,-2,k,jj},0,'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...