Submission #401350

#TimeUsernameProblemLanguageResultExecution timeMemory
401350Dan4LifeCrayfish scrivener (IOI12_scrivener)C++17
Compilation error
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];
}

Compilation message (stderr)

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