Borderou de evaluare (job #3221942)

Utilizator emcsiKaszta Emmanuel emcsi Data 8 aprilie 2024 17:14:17
Problema Cabana Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void precalc()': main.cpp:15:19: warning: iteration 1000000006 invokes undefined behavior [-Waggressive-loop-optimizations] 15 | factor[i] = factor[i - 1] * i % mod; | ^ main.cpp:14:19: note: within this loop 14 | for(int i=1; i<=mod; i++){ | ^ ./ccPdTF8S.o: in function `main': main.cpp:(.text.startup+0x61): relocation truncated to fit: R_X86_64_PC32 against symbol `TestNum' defined in .bss section in ./ccPdTF8S.o main.cpp:(.text.startup+0x77): relocation truncated to fit: R_X86_64_PC32 against symbol `k' defined in .bss section in ./ccPdTF8S.o main.cpp:(.text.startup+0x8c): relocation truncated to fit: R_X86_64_PC32 against symbol `TestNum' defined in .bss section in ./ccPdTF8S.o main.cpp:(.text.startup+0xa3): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in ./ccPdTF8S.o main.cpp:(.text.startup+0xbd): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in ./ccPdTF8S.o main.cpp:(.text.startup+0xc4): relocation truncated to fit: R_X86_64_PC32 against symbol `k' defined in .bss section in ./ccPdTF8S.o main.cpp:(.text.startup+0x178): relocation truncated to fit: R_X86_64_PC32 against symbol `TestNum' defined in .bss section in ./ccPdTF8S.o ./ccPdTF8S.o: in function `_GLOBAL__sub_I_TestNum': main.cpp:(.text.startup+0x204): relocation truncated to fit: R_X86_64_PC32 against `.bss' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/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-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): 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?