Submission #417009

#TimeUsernameProblemLanguageResultExecution timeMemory
417009Emin2004Crayfish scrivener (IOI12_scrivener)C++14
34 / 100
147 ms262148 KiB
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #define pii pair<int, int> #define F first #define S second const int N = 1000005; const int mod = 1e9+7; string s = ""; vector<string> q; void Init() {} void TypeLetter(char L) { s += L; q.pb(s); } void UndoCommands(int U) { int m = q.size(); m -= U; m--; s = q[m]; q.pb(s); } char GetLetter(int P) { return s[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...