| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1185623 | TroySer | 크레이피쉬 글쓰는 기계 (IOI12_scrivener) | C++20 | 0 ms | 320 KiB |
#include <bits/stdc++.h>
using namespace std;
typedef int ll;
vector<string> states;
void Init() {
return;
}
void TypeLetter(char L) {
string currentString = states[states.size() - 1];
currentString.push_back(L);
states.push_back(currentString);
}
void UndoCommands(int U) {
ll currSZ = states.size();
states.push_back(states[currSZ - U + 1]);
}
char GetLetter(int P) {
ll currSZ = states.size();
return states[currSZ][P];
}
// int main() {
// }| # | 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... | ||||
