Pagini recente » Borderou de evaluare (job #99169) | Borderou de evaluare (job #198938) | Borderou de evaluare (job #1562181) | Borderou de evaluare (job #3256382) | Borderou de evaluare (job #3223740)
Borderou de evaluare (job #3223740)
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 |
1 | 1ms | 303kb | Incorect | 0 |
Punctaj total | 0 |