Submission #71768

#TimeUsernameProblemLanguageResultExecution timeMemory
71768RezwanArefin01Crayfish scrivener (IOI12_scrivener)C++17
100 / 100
879 ms224032 KiB
#include <ext/rope> int idx = 0; __gnu_cxx::crope s[1000100]; void Init() {} void TypeLetter(char L) { idx++; s[idx] = s[idx - 1]; s[idx].push_back(L); } void UndoCommands(int U) { ++idx; s[idx] = s[idx - U - 1]; } char GetLetter(int P) { return s[idx][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...