Submission #976605

#TimeUsernameProblemLanguageResultExecution timeMemory
976605IsamCrayfish scrivener (IOI12_scrivener)C++17
12 / 100
99 ms262144 KiB
#include<bits/stdc++.h> using namespace std; string s[1000001]; int tot; void Init(){}; void TypeLetter(char L){ ++tot; if(tot > 1) s[tot] = s[tot-1] + L; else s[tot] = L; } void UndoCommands(int U){ s[tot] = s[tot - U]; } char GetLetter(int P){ return s[tot][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...