| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1192135 | TroySer | Crayfish scrivener (IOI12_scrivener) | C++20 | 602 ms | 224000 KiB |
#include <ext/rope>
using namespace __gnu_cxx;
crope states[(1 << 20)];
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... | ||||
