This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |