Submission #1192130

#TimeUsernameProblemLanguageResultExecution timeMemory
1192130TroySer크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++20
74 / 100
395 ms272760 KiB
#include <ext/rope> #include <bits/stdc++.h> using namespace std; using namespace __gnu_cxx; using ll = long long; const ll SZ = 1e7 + 1; crope states[SZ]; ll currentIndex = 0; void Init() {} void TypeLetter(char L) { states[currentIndex + 1] = states[currentIndex] + L; currentIndex++; } void UndoCommands(int U) { states[currentIndex + 1] = states[currentIndex - U]; currentIndex++; } char GetLetter(int P) { return states[currentIndex][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...