QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#178533#7123. Robot Contesttriple321#Compile Error//C++20707b2023-09-14 03:02:192024-04-28 07:42:09

Judging History

你现在查看的是最新测评结果

  • [2024-04-28 07:42:09]
  • 管理员手动重测本题所有提交记录
  • [2024-04-21 00:24:52]
  • 管理员手动重测本题所有提交记录
  • [2023-09-14 03:02:19]
  • 评测
  • [2023-09-14 03:02:19]
  • 提交

answer

#include "robot.h"
#include <bits/stdc++.h>
#include "grader.cpp"

using namespace std;

void program_pulibot()
{
    set_instruction({0, -2, 0, 0, -2}, 1, 'E');
    set_instruction({0, 0, 0, 0, -2}, 1, 'E');
    set_instruction({0, 0, 0, -2, -2}, 1, 'S');
    set_instruction({0, 0, 0, -2, 0}, 1, 'S');
    set_instruction({0, 0, -2, -2, 0}, 1, 'T');
    set_instruction({0, 1, 0, 0, -2}, 1, 'E');
    set_instruction({0, 1, 0, -2, -2}, 1, 'S');
    set_instruction({0, 1, 0, -2, 0}, 1, 'S');
    set_instruction({0, 1, -2, -2, 0}, 1, 'T');
    set_instruction({0, 0, 0, -2, 1}, 1, 'S');
    set_instruction({0, 0, -2, -2, 1}, 1, 'T');
    set_instruction({0, 1, 0, -2, 1}, 1, 'S');
}

Details

answer.code:3:10: fatal error: grader.cpp: No such file or directory
    3 | #include "grader.cpp"
      |          ^~~~~~~~~~~~
compilation terminated.