Borderou de evaluare (job #3223740)

Utilizator huni112Gyurka Hunor huni112 Data 13 aprilie 2024 14:59:14
Problema Aspirator Status done
Runda Universitatea Tehnică din Cluj-Napoca - 2024 - Concurs Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void megold()': main.cpp:24:20: warning: unused variable 'keres' [-Wunused-variable] 24 | char op,seg[6],keres,ert; | ^~~~~ main.cpp:29:11: warning: variable 'szogment' set but not used [-Wunused-but-set-variable] 29 | float szogment; | ^~~~~~~~ main.cpp:65:16: warning: 'eset' may be used uninitialized [-Wmaybe-uninitialized] 65 | if(eset==3 || eset==4) | ~~~~~~~~^~~~~~~~~~ main.cpp:28:9: note: 'eset' was declared here 28 | int eset; | ^~~~ In file included from main.cpp:2: In function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = float; _Up = int]', inlined from 'void megold()' at main.cpp:76:48: /usr/include/c++/12.2.1/cmath:418:17: warning: 'xment' may be used uninitialized [-Wmaybe-uninitialized] 418 | return pow(__type(__x), __type(__y)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void megold()': main.cpp:27:11: note: 'xment' was declared here 27 | float xment,yment; | ^~~~~ In function 'constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up) [with _Tp = float; _Up = int]', inlined from 'void megold()' at main.cpp:76:61: /usr/include/c++/12.2.1/cmath:418:17: warning: 'yment' may be used uninitialized [-Wmaybe-uninitialized] 418 | return pow(__type(__x), __type(__y)); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void megold()': main.cpp:27:17: note: 'yment' was declared here 27 | float xment,yment; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?