Submission #1008954

#TimeUsernameProblemLanguageResultExecution timeMemory
1008954SulACrayfish scrivener (IOI12_scrivener)C++17
5 / 100
109 ms262144 KiB
#include <iostream> #include <vector> #include <string> using namespace std; vector<string> previous{""}; string cur; void Init() {} void TypeLetter(char L) { cur += L; previous.push_back(cur); } void UndoCommands(int U) { cur = previous[cur.size() - U - 1]; previous.push_back(cur); } char GetLetter(int P) { return cur[P]; } void OutputLogs() { for (auto str : previous) cout << str << "\n"; }
#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...