#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<=0;w++){
for(ll s = -2;s<=0;s++){
for(ll e = -2;e<=0;e++){
for(ll n = -2;n<=0;n++){
vector<ll> st = {0,w,s,e,n};
if(e==0){
set_instruction(st,0,'E');
}else if(s==0){
set_instruction(st,0,'S');
}else if(n==0){
set_instruction(st,0,'N');
}else{
set_instruction(st,0,'W');
}
}
}
}
}
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |