Submission #759631

#TimeUsernameProblemLanguageResultExecution timeMemory
759631aykhnCrayfish scrivener (IOI12_scrivener)C++14
0 / 100
1 ms468 KiB
#include <bits/stdc++.h> // author: aykhn using namespace std; #define mpr make_pair #define pb push_back #define fi first #define se second int i; vector<string> v; void Init() { i = 0; } void TypeLetter(char L) { v.pb(v[i - 1] + L); i++; } void UndoCommands(int U) { if (i - U - 1 < 0) v.pb(""); else v.pb(v[i - U - 1]); i++; } char GetLetter(int P) { return v[i - 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...