Submission #372429

#TimeUsernameProblemLanguageResultExecution timeMemory
372429huangqrCrayfish scrivener (IOI12_scrivener)C++14
34 / 100
151 ms262148 KiB
#include<bits/stdc++.h> using namespace std; vector<string>v; struct node{ string s; }; node *ref[1000050]; void Init() {} void TypeLetter(char L) { string s(1,L); if(v.empty())v.push_back(s); else v.push_back(v.back()+s); } void UndoCommands(int U) { v.push_back(v[v.size()-1-U]); } char GetLetter(int P) { return v.back()[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...