Submission #194149

#TimeUsernameProblemLanguageResultExecution timeMemory
194149juanmartinez111Crayfish scrivener (IOI12_scrivener)C++14
34 / 100
269 ms262148 KiB
#include<bits/stdc++.h> using namespace std; vector<string >posicion; string pal=""; void Init() { } void TypeLetter(char L) { if(posicion.empty()){ string x=""; x+=L; posicion.push_back(x); } else { string s=posicion.back(); s+=L; posicion.push_back(s); } } void UndoCommands(int U) { string s=posicion[posicion.size()-1-U]; posicion.push_back(s); } char GetLetter(int P) { return posicion.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...