| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1216288 | moondarkside | 크레이피쉬 글쓰는 기계 (IOI12_scrivener) | C++20 | 1096 ms | 4536 KiB |
#include<bits/stdc++.h>
using namespace std;
std::vector<int> Instructions;
void Init(){
return;
}
void TypeLetter(char L){
Instructions.push_back(L);
}
void UndoCommands(int U){
Instructions.push_back(-U);
}
char GetLetter(int P){
vector<char> TextInReverse;
for(int i=Instructions.size()-1;i>-1;i--){
if(Instructions[i]<0){
i+=Instructions[i];
}
else{
TextInReverse.push_back((char)Instructions[i]);
}
}
return TextInReverse[TextInReverse.size()-P-1];
}| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
