제출 #1189691

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

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

/usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.a(vterminate.o): in function `__gnu_cxx::__verbose_terminate_handler()':
(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x1e): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZN9__gnu_cxx27__verbose_terminate_handlerEvE11terminating'
(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x2b): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZN9__gnu_cxx27__verbose_terminate_handlerEvE11terminating'
/usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.a(eh_alloc.o): in function `(anonymous namespace)::pool::free(void*) [clone .constprop.0]':
(.text._ZN12_GLOBAL__N_14pool4freeEPv.constprop.0+0x4): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZN12_GLOBAL__N_114emergency_poolE'
(.text._ZN12_GLOBAL__N_14pool4freeEPv.constprop.0+0x23): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZN12_GLOBAL__N_114emergency_poolE'
(.text._ZN12_GLOBAL__N_14pool4freeEPv.constprop.0+0x4a): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZN12_GLOBAL__N_114emergency_poolE'
(.text._ZN12_GLOBAL__N_14pool4freeEPv.constprop.0+0xaf): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZN12_GLOBAL__N_114emergency_poolE'
(.text._ZN12_GLOBAL__N_14pool4freeEPv.constprop.0+0x106): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZN12_GLOBAL__N_114emergency_poolE'
/usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.a(eh_alloc.o): in function `(anonymous namespace)::pool::allocate(unsigned long) [clone .constprop.0]':
(.text._ZN12_GLOBAL__N_14pool8allocateEm.constprop.0+0x9): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZN12_GLOBAL__N_114emergency_poolE'
(.text._ZN12_GLOBAL__N_14pool8allocateEm.constprop.0+0x2e): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZN12_GLOBAL__N_114emergency_poolE'
(.text._ZN12_GLOBAL__N_14pool8allocateEm.constprop.0+0x35): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZN12_GLOBAL__N_114emergency_poolE'
/usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.a(eh_alloc.o): in function `__gnu_cxx::__freeres()':
(.text._ZN9__gnu_cxx9__freeresEv+0x7): additional relocation overflows omitted from the output
/usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.a(stdexcept.o): in function `std::logic_error::~logic_error()':
(.text._ZNSt11logic_errorD2Ev+0x33): failed to convert GOTPCREL relocation against '_ZNSs4_Rep20_S_empty_rep_storageE'; relink with --no-relax
collect2: error: ld returned 1 exit status