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;
#define pb push_back
const int N = 5010;
string s[N];
int indx;
void TypeLetter(char c) {
indx++;
s[indx]=s[indx-1]+c;
}
void UndoCommands(int num) {
indx++;
s[indx]=s[indx-num-1];
}
char GetLetter(int ind) {
return s[indx][ind];
}
void Init() {
s[0]="";
indx=0;
}
# | 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... |