Submission #976518

#TimeUsernameProblemLanguageResultExecution timeMemory
976518marinalucaCrayfish scrivener (IOI12_scrivener)C++17
100 / 100
387 ms227960 KiB
#include <bits/stdc++.h> #include <ext/rope> __gnu_cxx::crope c[1000100]; int k; void Init(){} void TypeLetter(char L){ k ++; c[k] = c[k - 1]; c[k].push_back(L); } void UndoCommands(int U){ k ++; c[k] = c[k - U - 1]; } char GetLetter(int P){ return c[k][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...