Submission #456158

#TimeUsernameProblemLanguageResultExecution timeMemory
456158fuad27Crayfish scrivener (IOI12_scrivener)C++14
34 / 100
126 ms262148 KiB
#include <bits/stdc++.h> using namespace std; string S[int(1e6) + 10]; 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[N - U - 1]; } 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...