Pagini recente » Borderou de evaluare (job #3017433) | Borderou de evaluare (job #3017544) | Borderou de evaluare (job #3017448) | Borderou de evaluare (job #3012983) | Borderou de evaluare (job #3346069)
Borderou de evaluare (job #3346069)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:26: warning: statement has no effect [-Wunused-value]
25 | parent[y]==parent[x];
| ~~~~~~~~~^~~~~~~~~~~
main.cpp:17:18: warning: 'n' is used uninitialized [-Wuninitialized]
17 | for(int i=1;i<=n;++i)
| ~^~~
main.cpp:16:9: note: 'n' was declared here
16 | int n,m;
| ^
main.cpp:19:18: warning: 'm' is used uninitialized [-Wuninitialized]
19 | for(int i=1;i<=m;++i)
| ~^~~
main.cpp:16:11: note: 'm' was declared here
16 | int n,m;
| ^
main.cpp:22:9: warning: 'choice' may be used uninitialized [-Wmaybe-uninitialized]
22 | if(choice==1)
| ^~
main.cpp:21:17: note: 'choice' was declared here
21 | int x,y,choice;
| ^~~~~~
main.cpp:29:24: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
29 | if(parent[x]!=parent[y])
| ~~~~~~~~^
main.cpp:21:13: note: 'x' was declared here
21 | int x,y,choice;
| ^
main.cpp:29:35: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
29 | if(parent[x]!=parent[y])
| ~~~~~~~~^
main.cpp:21:15: note: 'y' was declared here
21 | int x,y,choice;
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 303kb | Incorect | 0 | 0 |
| 2 | 0ms | 303kb | Incorect | 0 | 0 |
| 3 | 0ms | 303kb | Incorect | 0 | 0 |
| 4 | 0ms | 303kb | Incorect | 0 | 0 |
| 5 | 0ms | 303kb | Incorect | 0 | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 7 | 0ms | 303kb | Incorect | 0 |
| 8 | 0ms | 303kb | Incorect | 0 | 0 |
| 9 | 0ms | 303kb | Incorect | 0 | 0 |
| 10 | 0ms | 303kb | Incorect | 0 | 0 |
| Punctaj total | 0 |