제출 #307445

#제출 시각아이디문제언어결과실행 시간메모리
307445shrek12357크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++14
34 / 100
174 ms262148 KiB
#include <iostream> #include <vector> #include <algorithm> #include <string> #include <map> #include <set> #include <climits> #include <cmath> #include <fstream> #include <queue> #include <stack> using namespace std; #define ll long long const int MAXN = 1e6 + 5; string s = ""; string pres[MAXN]; int counter = 0; void Init() { } void TypeLetter(char L) { s += L; pres[counter] = s; counter++; } void UndoCommands(int U) { s = pres[counter - 1 - U]; pres[counter] = s; counter++; } char GetLetter(int P) { return s[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...