제출 #1008954

#제출 시각아이디문제언어결과실행 시간메모리
1008954SulA크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++17
5 / 100
109 ms262144 KiB
#include <iostream> #include <vector> #include <string> using namespace std; vector<string> previous{""}; string cur; void Init() {} void TypeLetter(char L) { cur += L; previous.push_back(cur); } void UndoCommands(int U) { cur = previous[cur.size() - U - 1]; previous.push_back(cur); } char GetLetter(int P) { return cur[P]; } void OutputLogs() { for (auto str : previous) cout << str << "\n"; }
#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...