제출 #440201

#제출 시각아이디문제언어결과실행 시간메모리
440201prvocislo크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++17
100 / 100
648 ms224452 KiB
#include<bits/stdc++.h> #include <ext/rope> using namespace std; using namespace __gnu_cxx; const int maxn = 1e6 + 5; crope r[maxn]; int n = 0; void Init() { } void TypeLetter(char L) { r[n+1] = r[n]; r[n+1].push_back(L); n++; } void UndoCommands(int U) { r[n+1] = r[n-U]; n++; } char GetLetter(int P) { return r[n][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...