Pagini recente » Borderou de evaluare (job #3335198) | Borderou de evaluare (job #3334228) | Borderou de evaluare (job #3324353) | Borderou de evaluare (job #86468) | Borderou de evaluare (job #3349654)
Borderou de evaluare (job #3349654)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs2(int, int, int, int, int)':
main.cpp:81:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for(int i = 0; i<diam_vec.size(); i++)
| ~^~~~~~~~~~~~~~~~
main.cpp:95:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
95 | if(i == diam_vec.size() - 1)
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:167:63: warning: 'new_best' may be used uninitialized [-Wmaybe-uninitialized]
167 | int diam_propag = max({diam_tata, new_diam, best_tata + new_best});
| ~~~~~~~~~~^~~~~~~~~~
main.cpp:147:13: note: 'new_best' was declared here
147 | int new_best;
| ^~~~~~~~
main.cpp:115:13: warning: 'new_diam' may be used uninitialized [-Wmaybe-uninitialized]
115 | int new_diam;
| ^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 303kb | Incorect | 0 |
| 2 | 3ms | 1081kb | Incorect | 0 |
| 3 | 4ms | 1867kb | Incorect | 0 |
| 4 | 24ms | 9404kb | Incorect | 0 |
| 5 | 57ms | 16125kb | Incorect | 0 |
| 6 | 54ms | 17334kb | Incorect | 0 |
| 7 | 93ms | 25001kb | Incorect | 0 |
| 8 | 147ms | 29790kb | Incorect | 0 |
| 9 | 125ms | 37597kb | Memory limit exceeded | 0 |
| 10 | 142ms | 37662kb | Memory limit exceeded | 0 |
| Punctaj total | 0 |