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