제출 #425647

#제출 시각아이디문제언어결과실행 시간메모리
425647SOIVIEONE크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++17
12 / 100
1071 ms262148 KiB
#include <iostream> #include <vector> #include <string> #include <set> using namespace std; char last; string cur; vector<string> v; void Init() {} void TypeLetter(char L) { cur += L; v.push_back(cur); last = L; } void UndoCommands(int U) { vector<string > f = v; while(U --) v.pop_back(); cur = (v.size() ? v.back() : ""); v = f; v.push_back(cur); } char GetLetter(int P) { return cur[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...