Borderou de evaluare (job #2123539)

Utilizator aditzu7Adrian Capraru aditzu7 Data 6 februarie 2018 12:47:40
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void df(int)’: user.cpp:45:13: warning: unused variable ‘ki’ [-Wunused-variable] int x,y,ki,j; ^ user.cpp:45:16: warning: unused variable ‘j’ [-Wunused-variable] int x,y,ki,j; ^ user.cpp: In function ‘int main()’: user.cpp:111:6: warning: unused variable ‘sum’ [-Wunused-variable] {int sum=0,k=0; ^ user.cpp:111:12: warning: unused variable ‘k’ [-Wunused-variable] {int sum=0,k=0; ^ user.cpp:112:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&m); ^ user.cpp:114:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&x,&y); ^ user.cpp: In function ‘void df(int)’: user.cpp:63:33: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] }while((x!=i||y!=c->inf)&&(x!=c->inf||y!=i)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms3304kbComponente biconexe: componenta gresita4
20ms3308kbComponente biconexe: componenta gresita4
30ms3312kbComponente biconexe: componenta gresita4
40ms3336kbComponente biconexe: componenta gresita4
50ms3356kbComponente biconexe: componenta gresita4
68ms3584kbComponente biconexe: componenta gresita4
712ms3836kbComponente biconexe: componenta gresita4
8268ms12156kbComponente biconexe: componenta gresita4
9112ms7932kbComponente biconexe: componenta gresita4
10148ms9120kbComponente biconexe: componenta gresita4
Punctaj total40

Ceva nu functioneaza?