Submission #456166

#TimeUsernameProblemLanguageResultExecution timeMemory
456166BT21tata크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++17
34 / 100
130 ms262148 KiB
#include<bits/stdc++.h> using namespace std; string s[1000005]; int pos=0; void Init() {} void TypeLetter(char L) { s[pos+1]=s[pos]+L; pos++; } void UndoCommands(int U) { s[pos+1]=s[pos-U]; pos++; } char GetLetter(int P) { return s[pos][P]; } /* 14 T a T b P 1 T d U 2 U 1 P 2 T e U 1 U 5 T c P 2 U 2 P 2 */
#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...