제출 #1185057

#제출 시각아이디문제언어결과실행 시간메모리
1185057countless크레이피쉬 글쓰는 기계 (IOI12_scrivener)C++20
컴파일 에러
0 ms0 KiB
#include<ext/rope> __gnu_cxx::crope r[1<<20];int x;void Init();void TypeLetter(char c){++x;r[x]=r[x-1];r[x].push_back(c);}void UndoCommands(int u){++x;r[x]=r[x-u-1];}char GetLetter(int p){return r[x][p];}

컴파일 시 표준 에러 (stderr) 메시지

/usr/bin/ld: /tmp/ccqi9YlS.o: in function `main':
grader.cpp:(.text.startup+0x6e): undefined reference to `Init()'
collect2: error: ld returned 1 exit status