# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
114948 | 2019-06-04T06:13:00 Z | zoooma13 | 크레이피쉬 글쓰는 기계 (IOI12_scrivener) | C++14 | 0 ms | 0 KB |
#include <bits/stdc++.h> using namespace std; #include "grader.cpp" string curr_text; void Init(){ curr_text = ""; } void TypeLetter(char L){ curr_text += L; } void UndoCommands(int U){ while(U--) curr_text.pop_back(); } char GetLetter(int P){ return curr_text[P]; }