제출 #440199

#제출 시각아이디문제언어결과실행 시간메모리
440199prvocislo크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++17
0 / 100
1 ms716 KiB
#include<bits/stdc++.h> #include <ext/rope> using namespace std; using namespace __gnu_cxx; //const int maxn = 1e6 + 5; const int maxn =25; 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...