Borderou de evaluare (job #859978)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | 5div2 | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 5 mai 2026 19:00:19 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:10: warning: iteration 1000000003 invokes undefined behavior [-Waggressive-loop-optimizations]
12 | if(v[i]==0)
| ~~~^
main.cpp:11:11: note: within this loop
11 | for(i=2; i<=1000000005; i++){
| ~^~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/15/libstdc++.a(ios.o): in function `std::ios_base::xalloc()':
(.text._ZNSt8ios_base6xallocEv+0x12): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZNSt8ios_base6xallocEvE6_S_top'
(.text._ZNSt8ios_base6xallocEv+0x1e): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZNSt8ios_base6xallocEvE6_S_top'
(.text._ZNSt8ios_base6xallocEv+0x31): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZNSt8ios_base6xallocEvE6_S_top'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/libstdc++.a(locale_init.o): in function `(anonymous namespace)::get_locale_mutex()':
(.text._ZN12_GLOBAL__N_1L16get_locale_mutexEv+0x3): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZGVZN12_GLOBAL__N_1L16get_locale_mutexEvE12locale_mutex'
(.text._ZN12_GLOBAL__N_1L16get_locale_mutexEv+0xe): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZN12_GLOBAL__N_1L16get_locale_mutexEvE12locale_mutex'
(.text._ZN12_GLOBAL__N_1L16get_locale_mutexEv+0x1f): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZGVZN12_GLOBAL__N_1L16get_locale_mutexEvE12locale_mutex'
(.text._ZN12_GLOBAL__N_1L16get_locale_mutexEv+0x2f): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZN12_GLOBAL__N_1L16get_locale_mutexEvE12locale_mutex'
(.text._ZN12_GLOBAL__N_1L16get_locale_mutexEv+0x47): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZGVZN12_GLOBAL__N_1L16get_locale_mutexEvE12locale_mutex'
(.text._ZN12_GLOBAL__N_1L16get_locale_mutexEv+0x4e): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZN12_GLOBAL__N_1L16get_locale_mutexEvE12locale_mutex'
(.text._ZN12_GLOBAL__N_1L16get_locale_mutexEv+0x59): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZN12_GLOBAL__N_1L16get_locale_mutexEvE12locale_mutex'
(.text._ZN12_GLOBAL__N_1L16get_locale_mutexEv+0x64): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status