Borderou de evaluare (job #3153236)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:61:9: warning: 'tip' may be used uninitialized [-Wmaybe-uninitialized]
61 | switch( tip ) {
| ^~~~~~
main.cpp:59:28: note: 'tip' was declared here
59 | for ( int i = 1, a, b, tip; i <= q; i ++ ) {
| ^~~
In function 'int root(int)',
inlined from 'int main()' at main.cpp:70:35:
main.cpp:14:29: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
14 | for ( x = node; father[x] > 0; ) {
| ~~~~~~~~^
main.cpp: In function 'int main()':
main.cpp:59:25: note: 'b' was declared here
59 | for ( int i = 1, a, b, tip; i <= q; i ++ ) {
| ^
In function 'int root(int)',
inlined from 'int main()' at main.cpp:70:22:
main.cpp:14:29: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
14 | for ( x = node; father[x] > 0; ) {
| ~~~~~~~~^
main.cpp: In function 'int main()':
main.cpp:59:22: note: 'a' was declared here
59 | for ( int i = 1, a, b, tip; i <= q; i ++ ) {
| ^
| 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 |