Borderou de evaluare (job #3272096)

Utilizator sheesh07Andrei Giurgiu sheesh07 Data 28 ianuarie 2025 13:00:05
Problema Paduri de multimi disjuncte Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 17 | if(t[x]!=t[y]) | ^~ main.cpp:19:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 19 | ad=t[y]; | ^~ main.cpp:20:56: warning: 'as' may be used uninitialized [-Wmaybe-uninitialized] 20 | for(int j=1;j<=n;j++) if(t[j]==ad) t[j]=as; | ~~~~^~~ main.cpp:9:26: note: 'as' was declared here 9 | int n, m, t[100100], as, ad, z, x, y; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms303kbOK1010
30ms303kbOK1010
41ms303kbOK1010
52ms303kbOK100
678ms557kbTime limit exceeded0
778ms557kbTime limit exceeded0
878ms786kbTime limit exceeded00
963ms700kbOK1010
1078ms872kbTime limit exceeded00
Punctaj total50

Ceva nu functioneaza?