| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1190659 | burgerguy | Crayfish scrivener (IOI12_scrivener) | C++20 | 140 ms | 327680 KiB |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
vector<string> commands(1e7);
ll curCommand = 0;
string curString;
void Init() {
}
void TypeLetter(char L) {
curCommand++;
curString.append(1, L);
commands[curCommand] = curString;
}
void UndoCommands(int U) {
curString = commands[max(0LL, curCommand - U)];
++curCommand;
commands[curCommand] = curString;
}
char GetLetter(int P) {
return curString[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... | ||||
