제출 #456163

#제출 시각아이디문제언어결과실행 시간메모리
456163fuad27크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++14
34 / 100
139 ms262148 KiB
#include <bits/stdc++.h> using namespace std; string S[int(1000000) + 10]; int N; void Init() {} void TypeLetter(char L) { N++; S[N] = S[N - 1]; S[N].push_back(L); } void UndoCommands(int U) { N++; S[N] = S[max(N - U - 1, 0)]; } char GetLetter(int P) { return S[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...