QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#178535#7123. Robot Contesttriple321#Compile Error//C++20562b2023-09-14 03:09:102024-04-21 00:24:52

Judging History

你现在查看的是测评时间为 2024-04-21 00:24:52 的历史记录

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

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, 1, 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, 1}, 1, 'S');
    set_instruction({0, 0, 0, -2, 0}, 1, 'S');
    set_instruction({0, 0, -2, -2, 1}, 1, 'T');
    set_instruction({0, 1, -2, -2, 0}, 1, 'T');
    set_instruction({0, 0, -2, -2, 0}, 1, 'T');
}

Details

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