Submission #70787

#TimeUsernameProblemLanguageResultExecution timeMemory
70787edisonhelloCrayfish scrivener (IOI12_scrivener)C++14
100 / 100
941 ms224268 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];}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...