Borderou de evaluare (job #2928591)

Utilizator Victor2006Nicola Victor-Teodor Victor2006 Data 23 octombrie 2022 14:08:53
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void dfs(std::vector<std::vector<int> >, int)': main.cpp:19:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 19 | for ( int i = 0; i < g[node].size(); i ++ ) | ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:64:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wformat=] 64 | fprintf( fout, "%d\n", ans.size() ); | ~^ ~~~~~~~~~~ | | | | int std::vector<std::vector<int> >::size_type {aka long unsigned int} | %ld main.cpp:65:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | for ( int i = 0; i < ans.size(); i ++ ) { | ~~^~~~~~~~~~~~ main.cpp:66:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 66 | for ( int j = 0; j < ans[i].size(); j ++ ) | ~~^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbCorect1030
20ms184kbCorect10
30ms184kbCorect10
4250ms13463kbCorect100
5352ms42094kbTime limit exceeded0
6350ms193540kbTime limit exceeded0
7350ms231337kbTime limit exceeded00
8353ms220598kbTime limit exceeded0
9352ms217186kbTime limit exceeded0
10352ms217681kbTime limit exceeded00
Punctaj total30

Ceva nu functioneaza?