| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 981011 | vjudge1 | 로봇 대회 (IOI23_robot) | C++17 | 102 ms | 5732 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "robot.h"
#include <bits/stdc++.h>
using namespace std;
void program_pulibot()
{
// WHILE POSSIBLE MOVE EAST
for (int w = -2; w <= 1; w++)
for (int s = -2; s <= 1; s++)
for (int n = -2; n <= 1; n++)
set_instruction({0, w, s, 0, n}, 1, 'E');
// IF UP AND OBSTACLE => MOVE DOWN
for (int w = -2; w <= 1; w++)
for (int e = -2; e <= -1; e++)
set_instruction({0, w, 0, e, -2}, 1, 'S');
// IF DOWN AND OBSTACLE => MOVE UP
for (int w = -2; w <= 1; w++)
set_instruction({0, w, -2, -1, 0}, 1, 'N');
// TERMINATE
for (int w = -2; w <= 1; w++)
for (int n = -2; n <= 1; n++)
set_instruction({0, w, -2, -2, n}, 1, 'T');
}
| # | 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... | ||||
