Borderou de evaluare (job #3171986)

Utilizator xDemonstyMatei Haba Ionut xDemonsty Data 19 noiembrie 2023 20:51:34
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'long long int dfs(long long int, long long int)': main.cpp:34:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<lant>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | for ( int i = 0 ; i < adj [ nod ] .size() ; i ++ ) | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/istream:39, from /usr/include/c++/12.2.1/fstream:38, from main.cpp:1: In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]', inlined from 'int main()' at main.cpp:90:28: /usr/include/c++/12.2.1/ostream:202:25: warning: 'rez' may be used uninitialized [-Wmaybe-uninitialized] 202 | { return _M_insert(__n); } | ~~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:78:30: note: 'rez' was declared here 78 | long long st = 0 , dr = k , rez ; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms901kbKilled by Signal 110
212ms1056kbKilled by Signal 110
34ms827kbKilled by Signal 110
412ms897kbKilled by Signal 110
513ms925kbKilled by Signal 110
610ms950kbKilled by Signal 110
712ms872kbKilled by Signal 110
84ms499kbKilled by Signal 110
90ms303kbOK10
1010ms479kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?