Submission #194142

#TimeUsernameProblemLanguageResultExecution timeMemory
194142c4ts0upCrayfish scrivener (IOI12_scrivener)C++17
34 / 100
234 ms262148 KiB
/* vector <char> A[1e6+5]; vector <int> idx[1e6+5]; idx = -1; stack <pair <char, int> > Ins; */ #include <bits/stdc++.h> using namespace std; vector <string> After; string curr; void Init() { curr = ""; After.push_back(curr); } void TypeLetter(char L) { curr.push_back(L); After.push_back(curr); } void UndoCommands(int U) { curr = After[After.size()-1-U]; After.push_back(curr); } char GetLetter(int p) { return curr[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...