Submission #1008950

#TimeUsernameProblemLanguageResultExecution timeMemory
1008950SulACrayfish scrivener (IOI12_scrivener)C++17
5 / 100
117 ms262144 KiB
#include <vector> #include <string> using namespace std; vector<string> previous{""}; string cur; void Init() { } void TypeLetter(char L) { cur += L; previous.push_back(cur); } void UndoCommands(int U) { cur = previous[cur.size() - U]; } char GetLetter(int P) { return cur[P]; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...