Submission #974406

#TimeUsernameProblemLanguageResultExecution timeMemory
974406lucriCrayfish scrivener (IOI12_scrivener)C++17
34 / 100
156 ms262144 KiB
#include<bits/stdc++.h> std::string ans[1000010]; int nr; void Init() { return; } void TypeLetter(char L) { ++nr; ans[nr]=ans[nr-1]; ans[nr]+=L; } void UndoCommands(int U) { ++nr; ans[nr]=ans[nr-U-1]; } char GetLetter(int P) { return ans[nr][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...