Borderou de evaluare (job #2781114)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int)':
main.cpp:24:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for (int w = 0; w < adj[u].size(); ++w)
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void DFS_2(int, int)':
main.cpp:40:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for (int w = 0; w < aux[u].size(); ++w)
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:99:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
99 | for (int j = 0; j < toate[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~
main.cpp:72:9: warning: unused variable 'nr' [-Wunused-variable]
72 | int nr = 0, contor = 0;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 10ms | 10076kb | Corect | 10 | 30 |
2 | 11ms | 10022kb | Corect | 10 |
3 | 9ms | 10092kb | Corect | 10 |
4 | 16ms | 10043kb | Corect | 10 | 30 |
5 | 19ms | 10301kb | Corect | 10 |
6 | 69ms | 10797kb | Corect | 10 |
7 | 122ms | 11436kb | Corect | 10 | 0 |
8 | 310ms | 13578kb | Corect | 10 |
9 | 352ms | 17534kb | Time limit exceeded | 0 |
10 | 358ms | 20697kb | Time limit exceeded | 0 | 0 |
Punctaj total | 60 |