Submission #114948

#TimeUsernameProblemLanguageResultExecution timeMemory
114948zoooma13Crayfish scrivener (IOI12_scrivener)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; #include "grader.cpp" string curr_text; void Init(){ curr_text = ""; } void TypeLetter(char L){ curr_text += L; } void UndoCommands(int U){ while(U--) curr_text.pop_back(); } char GetLetter(int P){ return curr_text[P]; }

Compilation message (stderr)

/tmp/cc0BXIoz.o: In function `main':
scrivener.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccuv5gdc.o:grader.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status