Pagini recente » Borderou de evaluare (job #495198) | Borderou de evaluare (job #2829999) | Borderou de evaluare (job #3257529) | Borderou de evaluare (job #306515) | Borderou de evaluare (job #2946770)
Borderou de evaluare (job #2946770)
Raport evaluator
Compilare:
main.cpp: In function 'int cautare_ciclu(double)':
main.cpp:19:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int j = 0; j <lista.size(); j++){
| ~~^~~~~~~~~~~~~
main.cpp:36:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(int j = 0; j < lista.size(); j++){
| ~~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:57:29: warning: narrowing conversion of 'x' from 'int' to 'double' [-Wnarrowing]
57 | vector<double> v = {x, y, cost};
| ^
main.cpp:57:29: warning: narrowing conversion of 'x' from 'int' to 'double' [-Wnarrowing]
main.cpp:57:32: warning: narrowing conversion of 'y' from 'int' to 'double' [-Wnarrowing]
57 | vector<double> v = {x, y, cost};
| ^
main.cpp:57:32: warning: narrowing conversion of 'y' from 'int' to 'double' [-Wnarrowing]
main.cpp:57:35: warning: narrowing conversion of 'cost' from 'int' to 'double' [-Wnarrowing]
57 | vector<double> v = {x, y, cost};
| ^~~~
main.cpp:57:35: warning: narrowing conversion of 'cost' from 'int' to 'double' [-Wnarrowing]
main.cpp:62:29: warning: narrowing conversion of 'i' from 'int' to 'double' [-Wnarrowing]
62 | lista.push_back({0, i, 0});
| ^
main.cpp:62:29: warning: narrowing conversion of 'i' from 'int' to 'double' [-Wnarrowing]
main.cpp: In function 'int cautare_ciclu(double)':
main.cpp:35:13: warning: 'verificare' may be used uninitialized in this function [-Wmaybe-uninitialized]
35 | if(verificare != 0)
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Belea ! | 10 |
2 | 0ms | 184kb | Belea ! | 10 |
3 | 0ms | 184kb | Belea ! | 10 |
4 | 4ms | 184kb | Belea ! | 10 |
5 | 72ms | 577kb | Belea ! | 10 |
6 | 105ms | 315kb | Belea ! | 10 |
7 | 89ms | 315kb | Belea ! | 10 |
8 | 376ms | 577kb | Belea ! | 10 |
9 | 0ms | 184kb | Dezastru ! | 0 |
10 | 857ms | 577kb | Belea ! | 10 |
Punctaj total | 90 |