Submission #70784

#TimeUsernameProblemLanguageResultExecution timeMemory
70784edisonhelloCrayfish scrivener (IOI12_scrivener)C++14
100 / 100
910 ms223816 KiB
#include<ext/rope> using namespace __gnu_cxx;crope r[1000006];int x=0;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...