Submission #883247

#TimeUsernameProblemLanguageResultExecution timeMemory
883247JakobZorzCrayfish scrivener (IOI12_scrivener)C++14
34 / 100
102 ms262144 KiB
#include<iostream> using namespace std; int curr; string strs[1000000]; void Init() {} void TypeLetter(char L) { curr++; strs[curr]=strs[curr-1]+L; } void UndoCommands(int U) { curr++; strs[curr]=strs[curr-U-1]; } char GetLetter(int P) { return strs[curr][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...