# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1191603 | LolkasMeep | Crayfish scrivener (IOI12_scrivener) | C++20 | 0 ms | 0 KiB |
#include <ext/rope>
__gnu_cxx::crope h[1000005];
int i=0;
void Init();
void TypeLetter(char L){h[i]=h[i++]+L;}
void UndoCommands(int U){h[i+1]=h[i-U];i++;}
char GetLetter(int P){return h[i][P];}