Borderou de evaluare (job #3153236)

Utilizator Tudor06MusatTudor Tudor06 Data 28 septembrie 2023 18:00:15
Problema Paduri de multimi disjuncte Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

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
10ms303kbIncorect00
20ms303kbIncorect00
30ms303kbIncorect00
40ms303kbIncorect00
50ms303kbIncorect00
60ms303kbIncorect0
70ms303kbIncorect0
80ms303kbIncorect00
90ms303kbIncorect00
100ms303kbIncorect00
Punctaj total0

Ceva nu functioneaza?