# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
130653 | dragonslayerit | Crayfish scrivener (IOI12_scrivener) | C++14 | 239 ms | 262148 KiB |
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=1;
int end=1;
void Init() {}
void TypeLetter(char L) {
str[end]=str[curr]+L;
curr=end++;
}
void UndoCommands(int U) {
curr-=U;
}
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... |