# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
114948 | zoooma13 | Crayfish scrivener (IOI12_scrivener) | C++14 | 0 ms | 0 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 <bits/stdc++.h>
using namespace std;
#include "grader.cpp"
string curr_text;
void Init(){
curr_text = "";
}
void TypeLetter(char L){
curr_text += L;
}
void UndoCommands(int U){
while(U--)
curr_text.pop_back();
}
char GetLetter(int P){
return curr_text[P];
}