제출 #1242574

#제출 시각아이디문제언어결과실행 시간메모리
1242574uroskRobot Contest (IOI23_robot)C++20
6 / 100
68 ms5576 KiB
#include "robot.h" #include "bits/stdc++.h" #define pb push_back #define popb pop_back #define fi first #define sc second #define si(a_) (ll)(a_.size()) #define all(a_) a_.begin(),a_.end() #define here cerr<<"========================================\n" #define dbg(X_) cerr<<#X_<<": "<<X_<<endl; #define ceri(a_,l_,r_) {for(ll i_=l_;i_<=r_;i_++) cerr<<a_[i_]<<" ";cerr<<endl;} using namespace std; using ll = int; void program_pulibot() { for(ll w = -2;w<=1;w++){ for(ll s = -2;s<=1;s++){ for(ll e = -2;e<=1;e++){ for(ll n = -2;n<=1;n++){ vector<ll> st = {0,w,s,e,n}; if(e==0){ set_instruction(st,1,'E'); }else if(s==0){ set_instruction(st,1,'S'); }else { set_instruction(st,1,'T'); } continue; if(n==0){ set_instruction(st,0,'N'); }else{ set_instruction(st,0,'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...