Submission #1018631

#TimeUsernameProblemLanguageResultExecution timeMemory
1018631NeroZeinCrayfish scrivener (IOI12_scrivener)C++17
34 / 100
116 ms262144 KiB
#include <bits/stdc++.h> using namespace std; char last; vector<string> v; void Init() { v.push_back({""}); } void TypeLetter(char L) { string s = v.back(); s += L; v.push_back(s); } void UndoCommands(int U) { string s = v[v.size() - 1 - U]; v.push_back(s); } char GetLetter(int P) { string s = v.back(); 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...