This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
char seq[1000];
int lastpos=0;
void Init() {
}
void TypeLetter(char L) {
seq[lastpos]=L;
lastpos++;
}
void UndoCommands(int U) {
lastpos=lastpos-U;
}
char GetLetter(int P) {
return seq[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... |