Submission #1038440

#TimeUsernameProblemLanguageResultExecution timeMemory
1038440ArthuroWichCrayfish scrivener (IOI12_scrivener)C++17
0 / 100
93 ms32084 KiB
#include<bits/stdc++.h> using namespace std; void Init(); void TypeLetter(char L); void UndoCommands(int U); char GetLetter(int P); int co = 0; string a[1000005]; void Init() {}; void TypeLetter(char L) { co++; a[co].push_back(L); } void UndoCommands(int U) { co++; a[co] = a[co-1-U]; } char GetLetter(int P) { return a[co].back(); }
#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...