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;
string last;
vector<string> s;
void Init() {}
void TypeLetter(char L) {
last += L;
s.push_back(last);
}
void UndoCommands(int U) {
last = s[s.size() - U - 1];
s.push_back(last);
}
char GetLetter(int P) {
return last[P-1];
}
# | 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... |