Borderou de evaluare (job #2797097)

Utilizator bogdan2405Strat Bogdan-Valentin bogdan2405 Data 9 noiembrie 2021 11:30:53
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void DFS(int)': main.cpp:15:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 15 | for(i=0;i<adjList[x].size();++i){ | ~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'void Kosaraju(int, int)': main.cpp:27:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 27 | for(i=0;i<adjListTrans[x].size();++i){ | ~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:50:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 50 | for(i=0;i<visited.size();++i){ | ~^~~~~~~~~~~~~~~ main.cpp:76:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 76 | for(i=0;i<nodes.size();++i){ | ~^~~~~~~~~~~~~ main.cpp:77:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 77 | for(j=0;j<ctc[nodes[i]].size();++j){ | ~^~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
115ms7344kbNumar de componente gresit00
217ms7475kbCorect10
38ms7417kbNumar de componente gresit0
410ms7647kbNumar de componente gresit00
524ms7716kbNumar de componente gresit0
629ms8171kbNumar de componente gresit0
756ms8863kbNumar de componente gresit00
8114ms10997kbNumar de componente gresit0
9287ms15286kbNumar de componente gresit0
10273ms19660kbCorect1010
Punctaj total10

Ceva nu functioneaza?