Borderou de evaluare (job #1368298)

Utilizator andrei_diaconu11Andrei C. Diaconu andrei_diaconu11 Data 2 martie 2015 16:03:14
Problema Gramezi Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘compar’: user.c:7:5: warning: type of ‘x’ defaults to ‘int’ [enabled by default] int compar(x, y){ ^ user.c:7:5: warning: type of ‘y’ defaults to ‘int’ [enabled by default] user.c: In function ‘swap’: user.c:25:6: warning: type of ‘x’ defaults to ‘int’ [enabled by default] void swap(x, y){ ^ user.c:25:6: warning: type of ‘y’ defaults to ‘int’ [enabled by default] user.c: In function ‘main’: user.c:94:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘short int *’ [-Wformat=] fscanf(fi, "%d%d", &a[i], &b[i]); ^ user.c:94:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘short int *’ [-Wformat=] user.c:92:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%d", &n); ^ user.c:94:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%d%d", &a[i], &b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbIncorect0
20ms276kbIncorect0
30ms288kbIncorect0
44ms344kbIncorect0
512ms400kbIncorect0
624ms488kbIncorect0
732ms536kbIncorect0
844ms592kbIncorect0
9Depăşit636kbTime limit exceeded.0
10Depăşit636kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?