Borderou de evaluare (job #2822373)

Utilizator AndreeaGeamanuAndreea AndreeaGeamanu Data 23 decembrie 2021 21:47:53
Problema Parcurgere DFS - componente conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In constructor 'Graf::Graf(int, int, const std::vector<int>*)': main.cpp:62:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 62 | for(int j=0; j<la[i].size(); j++){ | ~^~~~~~~~~~~~~ main.cpp: In constructor 'Graf::Graf(int, int, const std::vector<std::pair<int, int> >*)': main.cpp:75:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 75 | for(int j=0; j<lac[i].size(); j++){ | ~^~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<int> Graf::BFS(int)': main.cpp:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | for(int j=0; j<la[coada[i]].size(); j++){ | ~^~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::dfs(int, int*, std::vector<int>*)': main.cpp:124:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 124 | for(int j=0; j<la[nod].size(); j++){ | ~^~~~~~~~~~~~~~~ main.cpp: In member function 'int Graf::Tarjan(int, int, int, int*, int*, int*, std::vector<std::vector<int> >&, std::stack<int>&)': main.cpp:181:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 181 | for(int j=0; j<la[nod].size(); j++){ | ~^~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::CTC()': main.cpp:229:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 229 | for(int l=0; l<conex[k].size(); l++){ | ~^~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<int> Graf::Sortare_topologica()': main.cpp:244:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 244 | for(int j=0; j<la[i].size(); j++){ | ~^~~~~~~~~~~~~ main.cpp:265:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 265 | for(int j=0; j<la[nod].size(); j++){ | ~^~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::APM()': main.cpp:311:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 311 | for(int j=0; j<lac[v].size(); j++){ | ~^~~~~~~~~~~~~~ main.cpp:329:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 329 | for(int k=0; k<lac[top.y].size(); k++){ | ~^~~~~~~~~~~~~~~~~~ main.cpp:338:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 338 | for(int l=0; l<apm.size(); l++){ | ~^~~~~~~~~~~ main.cpp:288:25: warning: unused variable 'idx' [-Wunused-variable] 288 | int s=0,nrmuchii=0, idx=0; | ^~~ main.cpp: In member function 'std::vector<int> Graf::Dijkstra()': main.cpp:358:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 358 | for(int k=0; k<lac[nod].size(); k++){ | ~^~~~~~~~~~~~~~~~ main.cpp:346:9: warning: unused variable 'idx' [-Wunused-variable] 346 | int idx=0;
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK5
22ms184kbOK5
32ms184kbOK5
411ms761kbOK5
52ms184kbOK5
62ms184kbOK5
72ms184kbKilled by Signal 110
82ms184kbKilled by Signal 110
92ms184kbKilled by Signal 110
102ms184kbKilled by Signal 110
1125ms1089kbKilled by Signal 110
122ms184kbKilled by Signal 70
132ms184kbKilled by Signal 70
142ms184kbKilled by Signal 70
152ms184kbKilled by Signal 70
162ms184kbKilled by Signal 70
176ms593kbKilled by Signal 110
182ms184kbKilled by Signal 70
192ms184kbKilled by Signal 70
202ms184kbKilled by Signal 70
Punctaj total30

Ceva nu functioneaza?