# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
547121 | oToToT | Crayfish scrivener (IOI12_scrivener) | C++17 | 439 ms | 262144 KiB |
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 cnt;
__gnu_cxx::crope a[1000001];
void Init() { cnt = 0; }
void TypeLetter(char c) { a[++cnt] = a[cnt] + c; }
void UndoCommands(int k) { a[++cnt] = a[cnt-k-1]; }
char GetLetter(int k){ return a[cnt][k]; }
Compilation message (stderr)
# | 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... |