Submission #1185055

#TimeUsernameProblemLanguageResultExecution timeMemory
1185055countlessCrayfish scrivener (IOI12_scrivener)C++20
Compilation error
0 ms0 KiB
#include<ext/rope> __gnu_cxx::crope r[1<<20];int x;void Init();void TypeLetter(char c){++x;r[x]=r[x-1];r[x].push_back(c);}void UndoCommands(int u){++x;r[x]=r[x-u-1];}char GetLetter(int p){return r[x][p];}

Compilation message (stderr)

/usr/bin/ld: /tmp/cc77N4h8.o: in function `main':
grader.cpp:(.text.startup+0x6e): undefined reference to `Init()'
collect2: error: ld returned 1 exit status