제출 #791219

#제출 시각아이디문제언어결과실행 시간메모리
791219dsyz크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++17
100 / 100
432 ms225472 KiB
#include <bits/stdc++.h> #include <ext/rope> using namespace std; using namespace __gnu_cxx; using ll = long long; #define MAXN (1000005) rope<char> r[MAXN]; ll ind = 0; void Init(){ ind = 0; r[0] = ""; } void TypeLetter(char L) { ind++; r[ind] = r[ind - 1] + L; } void UndoCommands(int U) { ind++; r[ind] = r[ind - U - 1]; } char GetLetter(int P) { return r[ind][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...