Pagini recente » Borderou de evaluare (job #2931135) | Borderou de evaluare (job #22839) | Borderou de evaluare (job #216145) | Borderou de evaluare (job #3284079)
Borderou de evaluare (job #3284079)
Raport evaluator
Compilare:
main.cpp: In function 'void find_heavy(int, int)':
main.cpp:68:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for( int i = 0; i < edges[vf].size(); i++ ) {
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:77:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | for( int i = 0; i < edges[vf].size(); i++ ) {
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:108:15: warning: unused variable 'max2' [-Wunused-variable]
108 | int max1, max2;
| ^~~~
main.cpp: In function 'void find_heavy(int, int)':
main.cpp:78:44: warning: 'max_fiu' may be used uninitialized [-Wmaybe-uninitialized]
78 | if( edges[vf][i] != nod[vf].parent && edges[vf][i] != max_fiu )
main.cpp:62:19: note: 'max_fiu' was declared here
62 | int maxx = 0, max_fiu;
| ^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 5 | 10 |
2 | 0ms | 303kb | OK | 5 |
3 | 3ms | 303kb | Incorect | 0 | 0 |
4 | 7ms | 557kb | Incorect | 0 |
5 | 39ms | 4755kb | Incorect | 0 | 0 |
6 | 34ms | 3448kb | Incorect | 0 |
7 | 44ms | 4538kb | Incorect | 0 |
8 | 34ms | 3518kb | Incorect | 0 |
9 | 64ms | 8916kb | Incorect | 0 | 0 |
10 | 43ms | 6205kb | Incorect | 0 |
11 | 69ms | 8327kb | Incorect | 0 |
12 | 44ms | 6217kb | Incorect | 0 |
13 | 84ms | 10891kb | Incorect | 0 | 0 |
14 | 79ms | 9138kb | Incorect | 0 |
15 | 79ms | 11628kb | Incorect | 0 |
16 | 78ms | 9162kb | Incorect | 0 |
17 | 89ms | 13438kb | Incorect | 0 | 0 |
18 | 79ms | 10788kb | Incorect | 0 |
19 | 94ms | 13103kb | Incorect | 0 |
20 | 83ms | 10801kb | Incorect | 0 |
Punctaj total | 10 |