| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 625336 | lorenzoferrari | Crayfish scrivener (IOI12_scrivener) | C++17 | 472 ms | 227828 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>
#include <bits/extc++.h>
using namespace std;
using namespace __gnu_cxx;
const int MAXN = 1e6+5;
int head = 0;
rope<char> s[MAXN];
void Init() {}
void TypeLetter(char L) {
s[head+1] = s[head];
s[++head].push_back(L);
}
void UndoCommands(int U) {
s[head+1] = s[head - U];
++head;
}
char GetLetter(int P) {
return s[head][P];
}| # | 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... | ||||
