Pagini recente » Borderou de evaluare (job #3288837) | Borderou de evaluare (job #3173317) | Borderou de evaluare (job #911585) | Borderou de evaluare (job #3270576) | Borderou de evaluare (job #3178600)
Borderou de evaluare (job #3178600)
Raport evaluator
Compilare:
main.cpp: In function 'void costuriMaxime()':
main.cpp:87:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | for(int i = 0; i < drumuriDorite.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:97:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
97 | for(int j = 0; j < graf[tataNod1].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:104:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
104 | for(int j = 0; j < graf[tataNod2].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:111:36: warning: 'val2' may be used uninitialized [-Wmaybe-uninitialized]
111 | fout << max(val1 - 1, val2 - 1) << endl;
| ~~~~~^~~
main.cpp:89:19: note: 'val2' was declared here
89 | int val1, val2;
| ^~~~
main.cpp:111:26: warning: 'val1' may be used uninitialized [-Wmaybe-uninitialized]
111 | fout << max(val1 - 1, val2 - 1) << endl;
| ~~~~~^~~
main.cpp:89:13: note: 'val1' was declared here
89 | int val1, val2;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 303kb | OK | 10 | 0 |
2 | 1ms | 303kb | Incorect | 0 |
3 | 2ms | 561kb | Incorect | 0 |
4 | 9ms | 2129kb | Incorect | 0 |
5 | 9ms | 1867kb | Incorect | 0 |
6 | 8ms | 1605kb | Incorect | 0 |
7 | 9ms | 2129kb | Incorect | 0 |
8 | 14ms | 3096kb | Incorect | 0 |
9 | 19ms | 3936kb | Incorect | 0 |
10 | 19ms | 3911kb | Incorect | 0 |
Punctaj total | 0 |