제출 #1038440

#제출 시각아이디문제언어결과실행 시간메모리
1038440ArthuroWich크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++17
0 / 100
93 ms32084 KiB
#include<bits/stdc++.h> using namespace std; void Init(); void TypeLetter(char L); void UndoCommands(int U); char GetLetter(int P); int co = 0; string a[1000005]; void Init() {}; void TypeLetter(char L) { co++; a[co].push_back(L); } void UndoCommands(int U) { co++; a[co] = a[co-1-U]; } char GetLetter(int P) { return a[co].back(); }
#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...