Borderou de evaluare (job #3180717)

Utilizator LazarDanielGabrielLazar Daniel-Gabriel LazarDanielGabriel Data 5 decembrie 2023 20:00:25
Problema Cablaj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: In file included from /usr/include/c++/12.2.1/vector:65, from main.cpp:3: In member function 'constexpr std::vector<bool, _Alloc>::reference std::vector<bool, _Alloc>::operator[](size_type) [with _Alloc = std::allocator<bool>]', inlined from 'void CableSolution::computeCableLength()' at main.cpp:113:34: /usr/include/c++/12.2.1/bits/stl_bvector.h:1036:23: warning: 'tempNode' may be used uninitialized [-Wmaybe-uninitialized] 1036 | { return begin()[__n]; } | ~~~~~~~^ main.cpp: In function 'void CableSolution::computeCableLength()': main.cpp:102:17: note: 'tempNode' was declared here 102 | int tempNode; | ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
42ms303kbOK10
54ms303kbOK10
69ms303kbOK10
714ms303kbOK10
824ms303kbOK10
939ms303kbOK10
1034ms303kbOK10
Punctaj total100

Ceva nu functioneaza?