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 a,b,c,d,e,i,j,ii,jj,zx,xc,pi;
string p[1000009];
void Init(){
}
void TypeLetter(char L) {
pi++;p[pi]=p[pi-1];p[pi].push_back(L);
}
void UndoCommands(int U) {
pi++;p[pi]=p[pi-U-1];
}
char GetLetter(int P) {
return p[pi][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... |