Pagini recente » Borderou de evaluare (job #3306013) | Borderou de evaluare (job #1006397) | Borderou de evaluare (job #3323754) | Borderou de evaluare (job #3309367) | Borderou de evaluare (job #3349653)
Borderou de evaluare (job #3349653)
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 | 9359kb | Incorect | 0 |
| 5 | 49ms | 15970kb | Incorect | 0 |
| 6 | 54ms | 17166kb | Incorect | 0 |
| 7 | 79ms | 24662kb | Incorect | 0 |
| 8 | 128ms | 29544kb | Incorect | 0 |
| 9 | 100ms | 37654kb | Memory limit exceeded | 0 |
| 10 | 111ms | 37744kb | Memory limit exceeded | 0 |
| Punctaj total | 0 |