Submission #425650

#TimeUsernameProblemLanguageResultExecution timeMemory
425650SOIVIEONECrayfish scrivener (IOI12_scrivener)C++17
34 / 100
125 ms262148 KiB
#include <iostream> #include <vector> #include <string> #include <set> using namespace std; char last; string cur; vector<string> v; void Init() {} void TypeLetter(char L) { cur += L; v.push_back(cur); last = L; } void UndoCommands(int U) { cur = (v.size() - U - 1 >= 0 ? v[v.size() - U - 1] : ""); v.push_back(cur); } char GetLetter(int P) { return cur[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...