제출 #401350

#제출 시각아이디문제언어결과실행 시간메모리
401350Dan4Life크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++17
컴파일 에러
0 ms0 KiB
#include "grader.h"
#include <bits/stdc++.h>
using namespace std;

vector<string> v;
void Init(){}
void TypeLetter(char L)
{
    string x = "";
    if(!v.empty()) x = v[(int)v.size()-1];
    x+=L;
    v.push_back(x);
}

void UndoCommands(int U)
{
    string x = v[(int)v.size()-U-1];
    v.push_back(x);
}

char GetLetter(int P)
{
    return v[(int)v.size()-1][P];
}

컴파일 시 표준 에러 (stderr) 메시지

scrivener.cpp:1:10: fatal error: grader.h: No such file or directory
    1 | #include "grader.h"
      |          ^~~~~~~~~~
compilation terminated.