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<bits/stdc++.h>
using namespace std;
int co = 0;
string a[1000005];
void Init() {};
void TypeLetter(char L) {
co++;
a[co] = a[co-1];
a[co].push_back(L);
}
void UndoCommands(int U) {
co++;
a[co] = a[co-1-U];
}
char GetLetter(int P) {
return a[co].back();
}
# | 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... |