| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1232954 | clemmy14 | 크레이피쉬 글쓰는 기계 (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... | ||||
