Submission #1068230

#TimeUsernameProblemLanguageResultExecution timeMemory
1068230parsadox2Robot Contest (IOI23_robot)C++17
6 / 100
101 ms5664 KiB
#include "robot.h" #include <bits/stdc++.h> using namespace std; void program_pulibot() { for(int a = 0 ; a < 2 ; a++) for(int b = -2 ; b < 2 ; b++) for(int c = -2 ; c < 1 ; c++) for(int d = -2 ; d < 1 ; d++) for(int e = -2 ; e < 2 ; e++) { vector <int> vec = {a , b , c , d , e}; if(a == 0) { set_instruction(vec , 1 , 'H'); continue; } if(c == -2 && d == -2) { set_instruction(vec , 1 , 'T'); continue; } if(c < 0 && d < 0) { if(b == 1) set_instruction(vec , 0 , 'W'); else if(e == 1) set_instruction(vec , 0 , 'N'); continue; } if(c == 0) { set_instruction(vec , 1 , 'S'); continue; } set_instruction(vec , 1 , '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...