제출 #412720

#제출 시각아이디문제언어결과실행 시간메모리
412720A_D크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++14
34 / 100
51 ms53316 KiB
#include <bits/stdc++.h> using namespace std; const int N=5e3+100; int cnt=1; string s[N]; void Init() {} void TypeLetter(char L){ s[cnt]=s[cnt-1]+L; cnt++; } void UndoCommands(int U){ s[cnt]=s[cnt-U-1]; cnt++; } char GetLetter(int P){ return s[cnt-1][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...