Submission #547122

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