Submission #644955

#TimeUsernameProblemLanguageResultExecution timeMemory
644955deviceCrayfish scrivener (IOI12_scrivener)C++17
100 / 100
657 ms227896 KiB
#include <bits/stdc++.h> #include <ext/rope> using namespace std; using namespace __gnu_cxx; rope<char> str[1000005]; int cur; void Init() { } void TypeLetter(char L) { cur++; str[cur] = str[cur-1]; str[cur] += L; } void UndoCommands(int U) { cur++; str[cur] = str[cur-U-1]; } char GetLetter(int P) { return str[cur][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...