Submission #574329

#TimeUsernameProblemLanguageResultExecution timeMemory
574329FatihSolakCrayfish scrivener (IOI12_scrivener)C++17
34 / 100
132 ms262144 KiB
#include <bits/stdc++.h> #define N 1000005 using namespace std; string s[N]; int cnt = 0; void Init() {} void TypeLetter(char l) { s[cnt + 1] = s[cnt] + l; cnt++; } void UndoCommands(int u) { s[cnt + 1] = s[cnt - u]; cnt++; } char GetLetter(int p) { return s[cnt][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...