| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1192133 | TroySer | Crayfish scrivener (IOI12_scrivener) | C++20 | 482 ms | 272748 KiB |
#include <ext/rope>
using namespace __gnu_cxx;
const int SZ = 1e7 + 1;
crope states[SZ];
int currentIndex = 0;
void Init() {}
void TypeLetter(char L) {
states[currentIndex + 1] = states[currentIndex] + L;
currentIndex++;
}
void UndoCommands(int U) {
states[currentIndex + 1] = states[currentIndex - U];
currentIndex++;
}
char GetLetter(int P) {
return states[currentIndex][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... | ||||
