제출 #1023914

#제출 시각아이디문제언어결과실행 시간메모리
1023914thinknoexit로봇 대회 (IOI23_robot)C++17
0 / 100
89 ms5464 KiB
#include "robot.h" #include <bits/stdc++.h> using namespace std; using ll = long long; void program_pulibot() { // {C, W, S, E, N} // Initial set_instruction({ 0, -2, 0, 0, -2 }, 1, 'E'); set_instruction({ 0, -2, -1, 0, -2 }, 1, 'E'); set_instruction({ 0, -2, 0, -1, -2 }, 1, 'S'); // Middle // Row 1 set_instruction({ 0, 1, 0, -1, -2 }, 1, 'S'); // Can't go East set_instruction({ 0, 0, 1, 0, -2 }, 1, 'E'); set_instruction({ 0, -1, 1, 0, -2 }, 1, 'E'); set_instruction({ 0, 1, 0, 0, -2 }, 1, 'E'); set_instruction({ 0, 1, -1, 0, -2 }, 1, 'E'); // Row 2 set_instruction({ 0, 1, -2, -1, 0 }, 1, 'N'); // Can't go East set_instruction({ 0, 0, -2, 0, 1 }, 1, 'E'); set_instruction({ 0, 1, -2, 0, 0 }, 1, 'E'); set_instruction({ 0, 1, -2, 0, -1 }, 1, 'E'); set_instruction({ 0, -2, -2, 0, 1 }, 1, 'E'); // End set_instruction({ 0, 1, 0, -2, -2 }, 1, 'S'); for (int i = -1;i <= 1;i++) { for (int j = -1;j <= 1;j++) { set_instruction({ 0, i, -2, -2, j }, 1, 'T'); } } }
#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...