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 str[1000001];
int p=0;
void Init() {}
void TypeLetter(char L)
{
str[p+1]=str[p]+L;
p++;
}
void UndoCommands(int U)
{
str[p+1]=str[p-U];
p++;
}
char GetLetter(int P)
{
return str[p][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... |