Borderou de evaluare (job #3340102)

Utilizator Serban_Liviu67Serban Liviu Serban_Liviu67 Data 12 februarie 2026 09:52:44
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:35:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | for (i=0; i<G[x].size(); i++) | ~^~~~~~~~~~~~ main.cpp: In function 'void dfst(int)': main.cpp:48:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | for (i=0; i<GT[x].size(); i++) | ~^~~~~~~~~~~~~ main.cpp: In function 'void afisare()': main.cpp:58:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | {for (j=0; j<CTC[i].size(); j++) | ~^~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/vector:64, from main.cpp:3: In member function 'constexpr void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>]', inlined from 'void citire()' at main.cpp:24:23: /usr/include/c++/12.2.1/bits/stl_vector.h:1278:27: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 1278 | if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage) | ~~~~~~~~~~~~~~^~~~~~~~~ main.cpp: In function 'void citire()': main.cpp:18:13: note: 'x' was declared here 18 | { int n,m,x,y,i; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms303kbNumar de componente gresit00
21ms303kbNumar de componente gresit0
31ms434kbNumar de componente gresit0
41ms303kbNumar de componente gresit00
52ms557kbNumar de componente gresit0
63ms819kbNumar de componente gresit0
73ms1081kbNumar de componente gresit00
84ms2256kbNumar de componente gresit0
99ms4304kbNumar de componente gresit0
109ms5656kbNumar de componente gresit00
Punctaj total0

Ceva nu functioneaza?