Borderou de evaluare (job #3129759)

Utilizator Alexinfo22Rusu Luca Alexinfo22 Data 15 mai 2023 19:27:19
Problema Range minimum query Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:27: warning: built-in function 'log2' declared as non-function [-Wbuiltin-declaration-mismatch] 6 | int q,r[100001][100001],n,log2[100001]; | ^~~~ main.cpp: In function 'int main()': main.cpp:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 11 | for(int i=1;(1<<i)<=n;i++) | ^~~ main.cpp:15:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 15 | log2[1]=0; | ^~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(ios_init.o): in function `std::ios_base::Init::Init()': (.text._ZNSt8ios_base4InitC2Ev+0x1c): failed to convert GOTPCREL relocation against '_ZNSt8ios_base4Init11_S_refcountE'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x57): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0x5e): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0x69): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0x74): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0x98): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0xa3): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0xc0): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0xd9): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0xed): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0xf4): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cin_sync' defined in .bss._ZN14__gnu_internal12buf_cin_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0xfa): additional relocation overflows omitted from the output (.text._ZNSt8ios_base4InitC2Ev+0x1e8): failed to convert GOTPCREL relocation against '_ZSt4cout'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x250): failed to convert GOTPCREL relocation against '_ZSt3cin'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x2c3): failed to convert GOTPCREL relocation against '_ZSt4cerr'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x319): failed to convert GOTPCREL relocation against '_ZSt4clog'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x513): failed to convert GOTPCREL relocation against '_ZSt5wcout'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x584): failed to convert GOTPCREL relocation against '_ZSt4wcin'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x601): failed to convert GOTPCREL relocation against '_ZSt5wcerr'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x65f): failed to convert GOTPCREL relocation against '_ZSt5wclog'; relink with --no-relax collect2: error: ld returned 1 exit status Non zero exit status: 1

Ceva nu functioneaza?