Borderou de evaluare (job #2200657)

Utilizator LolkekzorChiorean Tudor Lolkekzor Data 2 mai 2018 09:14:32
Problema Parantezare optima de matrici Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.c: In function ‘citire’: user.c:11:19: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(fin, "%d", &n); ^ user.c:13:23: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(fin, "%d", &v[i]); ^ user.c: In function ‘main’: user.c:53:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout, "%d", C[ 1 ][ n ]); ^ user.c: In function ‘citire’: user.c:11:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^~~~~~~~~~~~~~~~~~~~~ user.c:13:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &v[i]); ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms872kbOK10
20ms752kbOK10
30ms792kbOK10
40ms860kbOK10
50ms876kbOK10
64ms1128kbOK10
732ms3480kbOK10
8100ms3596kbOK10
9224ms3712kbIncorect0
10432ms5856kbIncorect0
Punctaj total80

Ceva nu functioneaza?