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>
int l;
__gnu_cxx::crope v[(int)1e6 + 7];
void Init() {;}
void TypeLetter(char c) { v[l + 1] = v[l] + c; ++l; }
void UndoCommands(int k) { v[l + 1] = v[l - k]; ++l; }
char GetLetter(int k) { return v[l][k]; }
# | 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... |