Pagini recente » Borderou de evaluare (job #276977) | Borderou de evaluare (job #2786202)
Borderou de evaluare (job #2786202)
Raport evaluator
Compilare:
main.cpp: In member function 'void Graf::dfs(int)':
main.cpp:51:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for (int i = 0; i < v[nod].size(); i++) {
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'std::vector<int> Graf::bfs(int)':
main.cpp:68:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for (int i = 0; i < v[nod].size(); i++) {
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfsSortare(int, std::vector<int>&)':
main.cpp:96:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
96 | for (int i = 0; i < v[nod].size(); i++) {
| ~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void Graf::dfsTareConexe(int, std::vector<int>&, std::vector<int>&, std::stack<int>&, std::vector<bool>&, std::vector<std::vector<int> >&, int&)':
main.cpp:131:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
131 | for (int i = 0; i < v[nod].size(); i++) {
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:165:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
165 | for (int i = 0; i < componente.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~
main.cpp:166:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
166 | for (int j = 0; j < componente[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 6ms | 2826kb | Corect | 10 | 30 |
2 | 6ms | 1880kb | Corect | 10 |
3 | 1ms | 184kb | Corect | 10 |
4 | 5ms | 2797kb | Corect | 10 | 30 |
5 | 5ms | 1093kb | Corect | 10 |
6 | 19ms | 3928kb | Corect | 10 |
7 | 37ms | 4558kb | Corect | 10 | 30 |
8 | 128ms | 8912kb | Corect | 10 |
9 | 170ms | 13135kb | Corect | 10 |
10 | 305ms | 18505kb | Corect | 10 | 10 |
Punctaj total | 100 |