| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1190682 | burgerguy | Crayfish scrivener (IOI12_scrivener) | C++20 | 431 ms | 223560 KiB |
#include <bits/stdc++.h>
#include <ext/rope>
using namespace std;
using namespace __gnu_cxx;
using ll = long long;
crope commands[1000010];
ll curCommand = 0;
void Init() {
}
void TypeLetter(char L) {
++curCommand;
commands[curCommand] = commands[curCommand - 1] + L;
}
void UndoCommands(int U) {
++curCommand;
commands[curCommand] = commands[max(0LL, curCommand - U - 1)];
}
char GetLetter(int P) {
return commands[curCommand][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... | ||||
