Submission #456216

#TimeUsernameProblemLanguageResultExecution timeMemory
456216fuad27Crayfish scrivener (IOI12_scrivener)C++14
34 / 100
155 ms262148 KiB
#include <bits/stdc++.h> using namespace std; map<int, string> S; int N; void Init() {} void TypeLetter(char L) { N++; S[N] = S[N - 1]; S[N].push_back(L); } void UndoCommands(int U) { N++; S[N] = S[max(N - U - 1, 0)]; } char GetLetter(int P) { return S[N][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...