Submission #195635

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