Pagini recente » Borderou de evaluare (job #1750862) | Borderou de evaluare (job #2746892) | Cod sursa (job #1200608) | Cod sursa (job #2656553) | Borderou de evaluare (job #2793397)
Borderou de evaluare (job #2793397)
Raport evaluator
Compilare:
main.cpp: In member function 'void graf::sortvecini()':
main.cpp:94:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for (int i=1;i<this->lista_vecini.size();++i)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:97:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
97 | for (j=0;j<lista_vecini[i].size();++j)
| ~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In member function 'void graf::biconex(unsigned int)':
main.cpp:199:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
199 | for (int i=0;i<stiva.size();++i)
| ~^~~~~~~~~~~~~
main.cpp:216:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
216 | if (copil[nod_curent]!=0)
| ^~
main.cpp:218:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
218 | if (niv_int[copil[nod_curent]]>=niv[nod_curent])
| ^~
main.cpp:209:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
209 | for (unsigned int i=0; i<this->lista_vecini[nod_curent].size(); ++i)
| ^~~
main.cpp:230:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
230 | cout<<nod_curent<<"\n";
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | OK | 10 |
2 | 1ms | 184kb | OK | 10 |
3 | 1ms | 184kb | OK | 10 |
4 | 6ms | 311kb | OK | 10 |
5 | 12ms | 438kb | OK | 10 |
6 | 783ms | 1904kb | OK | 10 |
7 | 1051ms | 3747kb | Time limit exceeded | 0 |
8 | 1055ms | 5537kb | Time limit exceeded | 0 |
9 | 1050ms | 11198kb | Time limit exceeded | 0 |
10 | 1053ms | 11194kb | Time limit exceeded | 0 |
Punctaj total | 60 |