Borderou de evaluare (job #2936793)
Utilizator | Data | 9 noiembrie 2022 15:22:18 | |
---|---|---|---|
Problema | Range minimum query | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:39:9: warning: unused variable 'k' [-Wunused-variable]
39 | int k=lg[n];
| ^
main.cpp:36:36: warning: iteration 100003 invokes undefined behavior [-Waggressive-loop-optimizations]
36 | for(int i=2; i<=MAX; i++) lg[i]=1+lg[i/2];
| ~~~~~^~~~~~~~~~
main.cpp:36:19: note: within this loop
36 | for(int i=2; i<=MAX; i++) lg[i]=1+lg[i/2];
| ^
./ccGrEcUi.o: in function `_GLOBAL__sub_I_sp':
main.cpp:(.text.startup+0x1b7): relocation truncated to fit: R_X86_64_PC32 against `.bss'
main.cpp:(.text.startup+0x1d5): relocation truncated to fit: R_X86_64_PC32 against `.bss'
/usr/lib/gcc/x86_64-linux-gnu/10/libstdc++.a(vterminate.o): in function `__gnu_cxx::__verbose_terminate_handler()':
(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0xa): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZN9__gnu_cxx27__verbose_terminate_handlerEvE11terminating'
(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x17): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZN9__gnu_cxx27__verbose_terminate_handlerEvE11terminating'
/usr/bin/ld: failed to convert GOTPCREL relocation; relink with --no-relax
collect2: error: ld returned 1 exit status
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !