Submission #412720

#TimeUsernameProblemLanguageResultExecution timeMemory
412720A_DCrayfish scrivener (IOI12_scrivener)C++14
34 / 100
51 ms53316 KiB
#include <bits/stdc++.h> using namespace std; const int N=5e3+100; int cnt=1; string s[N]; void Init() {} void TypeLetter(char L){ s[cnt]=s[cnt-1]+L; cnt++; } void UndoCommands(int U){ s[cnt]=s[cnt-U-1]; cnt++; } char GetLetter(int P){ return s[cnt-1][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...