| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1232954 | clemmy14 | Crayfish scrivener (IOI12_scrivener) | C++20 | 153 ms | 327680 KiB |
#include<bits/stdc++.h>
using namespace std;
vector<string> texts;
void Init() {
}
void TypeLetter(char L) {
if(texts.size() == 0) {
string prev; prev.push_back(L);
texts.push_back(prev);
} else {
string prev=texts[texts.size()-1]; prev.push_back(L);
texts.push_back(prev);
}
}
void UndoCommands(int U) {
string prev=texts[texts.size()-U-1];
texts.push_back(prev);
}
char GetLetter(int P) {
return texts[texts.size()-1][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... | ||||
