Submission #119239

#TimeUsernameProblemLanguageResultExecution timeMemory
119239ioilolcomCrayfish scrivener (IOI12_scrivener)C++14
0 / 100
121 ms5496 KiB
#include <bits/stdc++.h> using namespace std; #define endl "\n" #define pii pair<int,int> #define x first #define y second typedef long long int ll; int N; void Init() { } string ans=""; void TypeLetter(char L){ ans+=L; } void UndoCommands(int m){ if(m>=(int)ans.size()) { ans=""; } else{ ans.erase((int)ans.size()-m-1,(int)ans.size()-1); } } char GetLetter(int P){ return ans[P-1]; }
#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...