Borderou de evaluare (job #3341149)

Utilizator bogdan_.f2Fulga Bogdan bogdan_.f2 Data 18 februarie 2026 10:59:32
Problema Plimbare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'void afisare()': main.cpp:63:25: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 63 | if(cnc[i].size()>mx) | ~~~~~~~~~~~~~^~~ In file included from /usr/include/c++/12.2.1/vector:64, from main.cpp:2: In member function 'constexpr std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>]', inlined from 'void afisare()' at main.cpp:72:37: /usr/include/c++/12.2.1/bits/stl_vector.h:988:66: warning: 'ind' may be used uninitialized [-Wmaybe-uninitialized] 988 | { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); } | ~~~~~~~~~~~~~~^~~~~~~~ main.cpp: In function 'void afisare()': main.cpp:60:11: note: 'ind' was declared here 60 | int mx=0,ind; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms303kbOK!5
21ms303kbOK!5
31ms303kbOK!5
41ms303kbOK!5
51ms303kbMuchia nu exista in graf0
61ms303kbOK!5
71ms303kbMuchia nu exista in graf0
81ms303kbOK!5
91ms303kbMuchia nu exista in graf0
101ms303kbMuchia nu exista in graf0
111ms303kbMuchia nu exista in graf0
121ms303kbOK!5
131ms303kbMuchia nu exista in graf0
141ms303kbOK!5
151ms303kbMuchia nu exista in graf0
161ms303kbMuchia nu exista in graf0
172ms303kbMuchia nu exista in graf0
182ms303kbMuchia nu exista in graf0
192ms303kbMuchia nu exista in graf0
202ms303kbMuchia nu exista in graf0
Punctaj total40

Ceva nu functioneaza?