Pagini recente » Borderou de evaluare (job #1548035) | Borderou de evaluare (job #2262718) | Borderou de evaluare (job #2274661) | Borderou de evaluare (job #3118496) | Borderou de evaluare (job #2989276)
Borderou de evaluare (job #2989276)
Raport evaluator
Compilare:
main.cpp: In function 'int do_union(int, int)':
main.cpp:46:1: warning: no return statement in function returning non-void [-Wreturn-type]
46 | }
| ^
main.cpp: In function 'int main()':
main.cpp:54:9: warning: 'cod' may be used uninitialized [-Wmaybe-uninitialized]
54 | if(cod == 1)
| ^~
main.cpp:53:13: note: 'cod' was declared here
53 | int cod, x, y;
| ^~~
main.cpp:56:29: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
56 | int rx = do_find(x);
| ~~~~~~~^~~
main.cpp:53:18: note: 'x' was declared here
53 | int cod, x, y;
| ^
main.cpp:57:29: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
57 | int ry = do_find(y);
| ~~~~~~~^~~
main.cpp:53:21: note: 'y' was declared here
53 | int cod, x, y;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 172kb | Incorect | 0 | 0 |
2 | 0ms | 172kb | Incorect | 0 | 0 |
3 | 0ms | 172kb | Incorect | 0 | 0 |
4 | 0ms | 212kb | Incorect | 0 | 0 |
5 | 1ms | 290kb | Incorect | 0 | 0 |
6 | 4ms | 684kb | Incorect | 0 |
7 | 4ms | 684kb | Incorect | 0 |
8 | 4ms | 651kb | Incorect | 0 | 0 |
9 | 3ms | 552kb | Incorect | 0 | 0 |
10 | 4ms | 815kb | Incorect | 0 | 0 |
Punctaj total | 0 |