제출 #1049407

#제출 시각아이디문제언어결과실행 시간메모리
1049407AIF_is_carving로봇 대회 (IOI23_robot)C++17
0 / 100
75 ms5584 KiB
#include<bits/stdc++.h> #include "robot.h" using namespace std; typedef long long ll; void program_pulibot(){ for(int i = 0; i<=255; i++){ vector<int> s(5, 0); int x = i; s[1] = -(x%4) +1; x/=4; s[2] = -(x%4) +1; x/=4; s[3] = -(x%4) +1; x/=4; s[4] = -(x%4) +1; x/=4; // for(auto x: s) cout<<x<<" "; // cout<<"\n"; if(s[3] == 0) set_instruction(s, 1, 'E'); else if(s[3]== -2 && s[4]== -2) set_instruction(s, 1, 'T'); else if(s[2]!=0 && s[4] == 0) set_instruction(s, 1, 'N'); else if(s[2]==0 && s[4] != 0) set_instruction(s, 1, 'S'); else set_instruction(s, 1, 'T'); } 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...