Submission #547168

#TimeUsernameProblemLanguageResultExecution timeMemory
547168Carmel_Ab1Crayfish scrivener (IOI12_scrivener)C++17
100 / 100
498 ms223412 KiB
#include <ext/rope> int l; __gnu_cxx::crope a[1000001]; void Init() { l = 0; } void TypeLetter(char c) { l++, a[l] = a[l - 1] + c; } void UndoCommands(int k) { l++, a[l] = a[l - k - 1]; } char GetLetter(int k) { return a[l][k]; }
#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...