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 > last;
string curr = "";
void Init(){
}
void TypeLetter(char c){
last.push_back(curr);
curr += c;
}
void UndoCommands(int n){
last.push_back(curr);
curr = last[last.size()-n-1];
}
char GetLetter(int n){
return curr[n];
}
# | 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... |