Submission #246313

#TimeUsernameProblemLanguageResultExecution timeMemory
246313lakshith_Crayfish scrivener (IOI12_scrivener)C++14
0 / 100
57 ms51448 KiB
#include <bits/stdc++.h> using namespace std; string arr[5005]; int pos = 1; void Init() { arr[0]=""; } void TypeLetter(char L) { arr[pos]=arr[pos-1]+L; pos++; } void UndoCommands(int U) { arr[pos]=arr[pos-U-1]; pos++; } char GetLetter(int P) { char last = arr[pos][P]; return last; }
#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...