Borderou de evaluare (job #2987070)

Utilizator cyg_SerbanBFlorin Gheorghe cyg_SerbanB Data 1 martie 2023 21:40:09
Problema Retele Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:18:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 18 | for(int i=0; i<adc[nod].size(); ++i) | ~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:52:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 52 | for(int i=0;i<conex_comp.size();++i) | ~^~~~~~~~~~~~~~~~~~ main.cpp:55:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wformat=] 55 | printf("%d\n", conex_comp.size()); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int std::vector<std::vector<int> >::size_type {aka long unsigned int} | %ld main.cpp:56:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | for(int i=0;i<conex_comp.size();++i){ | ~^~~~~~~~~~~~~~~~~~ main.cpp:57:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=] 57 | printf("%d ",conex_comp[i].size()); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int std::vector<int>::size_type {aka long unsigned int} | %ld main.cpp:58:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | for(int j=0;j<conex_comp[i].size();++j) | ~^~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms172kbOK5
20ms172kbOK5
31ms172kbOK5
40ms172kbOK5
51ms172kbOK5
63ms303kbOK5
73ms303kbOK5
83ms303kbOK5
99ms815kbOK5
1013ms880kbOK5
1113ms864kbOK5
1214ms921kbOK5
1358ms3612kbOK5
1458ms3768kbOK5
1557ms3608kbOK5
1658ms4198kbOK5
1758ms3821kbOK5
1868ms8568kbOK5
1967ms8597kbOK5
2068ms5627kbOK5
Punctaj total100

Ceva nu functioneaza?