Borderou de evaluare (job #3223689)

Utilizator danhumeniucHumeniuc Dan danhumeniuc Data 13 aprilie 2024 14:27:58
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 'int main()': main.cpp:20:21: warning: unused variable 'bpang' [-Wunused-variable] 20 | int n, ang = 0, bpang; | ^~~~~ In file included from /usr/include/c++/12.2.1/iostream:39, from main.cpp:1: In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>]', inlined from 'int main()' at main.cpp:91:13: /usr/include/c++/12.2.1/ostream:221:25: warning: 'res' may be used uninitialized [-Wmaybe-uninitialized] 221 | { return _M_insert(__f); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:71:12: note: 'res' was declared here 71 | double res; | ^~~ main.cpp:72:5: warning: 'bpcmd' may be used uninitialized [-Wmaybe-uninitialized] 72 | switch(bpcmd){ | ^~~~~~ main.cpp:19:10: note: 'bpcmd' was declared here 19 | char bpcmd; | ^~~~~ main.cpp:81:44: warning: 'bpposy' may be used uninitialized [-Wmaybe-uninitialized] 81 | double dx = bpposx - posx, dy = bpposy - posy; | ^~ main.cpp:18:40: note: 'bpposy' was declared here 18 | double posx = 0, posy = 0, bpposx, bpposy, coefy = 0, coefx = 1; | ^~~~~~ main.cpp:81:24: warning: 'bpposx' may be used uninitialized [-Wmaybe-uninitialized] 81 | double dx = bpposx - posx, dy = bpposy - posy; | ^~ main.cpp:18:32: note: 'bpposx' was declared here 18 | double posx = 0, posy = 0, bpposx, bpposy, coefy = 0, coefx = 1; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?