Submission #1050496

#TimeUsernameProblemLanguageResultExecution timeMemory
1050496KasymKCrayfish scrivener (IOI12_scrivener)C++17
Compilation error
0 ms0 KiB
#include "bits/stdc++.h"
#include "scrivener.h"
using namespace std;
#define ff first
#define ss second
#define all(v) v.begin(), v.end()
#define ll long long
#define pb push_back
#define pii pair<int, int>
#define wr puts("----------------")
template<class T>bool umin(T& a,T b){if(a>b){a=b;return 1;}return 0;}
template<class T>bool umax(T& a,T b){if(a<b){a=b;return 1;}return 0;}
vector<string> v;

void init(){
	v.pb("");
}

void TypeLetter(char c){
	string s = v.back();
	s += c;
	v.pb(s);
}

void UndoCommands(int u){
	int sz = (int)v.size();
	sz--;
	string s = v[sz-u];
	v.pb(s);
}

char GetLetter(int p){
	string s = v.back();
	return s[p];
}

Compilation message (stderr)

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