Pagini recente » Borderou de evaluare (job #2741761) | Borderou de evaluare (job #1174038) | Borderou de evaluare (job #356445) | Borderou de evaluare (job #1615913) | Borderou de evaluare (job #2989247)
Borderou de evaluare (job #2989247)
Raport evaluator
Compilare:
main.cpp: In function 'int do_union(int, int)':
main.cpp:41:1: warning: no return statement in function returning non-void [-Wreturn-type]
41 | }
| ^
main.cpp: In function 'int main()':
main.cpp:49:9: warning: 'cod' may be used uninitialized [-Wmaybe-uninitialized]
49 | if(cod==1){
| ^~
main.cpp:48:13: note: 'cod' was declared here
48 | int cod,x,y;
| ^~~
main.cpp:50:31: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
50 | int rx=do_find(x);
| ~~~~~~~^~~
main.cpp:48:17: note: 'x' was declared here
48 | int cod,x,y;
| ^
main.cpp:51:23: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
51 | int ry=do_find(y);
| ~~~~~~~^~~
main.cpp:48:19: note: 'y' was declared here
48 | 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 | 172kb | Incorect | 0 | 0 |
5 | 1ms | 290kb | Incorect | 0 | 0 |
6 | 4ms | 684kb | Incorect | 0 |
7 | 4ms | 684kb | Incorect | 0 |
8 | 4ms | 684kb | Incorect | 0 | 0 |
9 | 3ms | 552kb | Incorect | 0 | 0 |
10 | 4ms | 872kb | Incorect | 0 | 0 |
Punctaj total | 0 |