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