# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
574792 | AJ00 | Crayfish scrivener (IOI12_scrivener) | C++14 | 147 ms | 262144 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
int n;
const int MOD = 1000000007;
const int INF = 1e18;
vector<string> vec;
string str;
char GetLetter(int P){
return str[P];
}
void UndoCommands(int U){
str = vec[vec.size()-U-1];
vec.push_back(str);
}
void TypeLetter(char L){
str += L;
vec.push_back(str);
}
void Init(){
str = "";
vec.push_back(str);
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |