Borderou de evaluare (job #2200656)

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

Raport evaluator

Compilare: user.c:4:30: warning: left shift count >= width of type [-Wshift-count-overflow] const long long int INF = (1 << 62); ^~ 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
10ms796kbIncorect0
20ms804kbIncorect0
30ms876kbIncorect0
40ms756kbIncorect0
50ms864kbIncorect0
64ms752kbIncorect0
748ms880kbIncorect0
8132ms800kbIncorect0
9328ms796kbIncorect0
10568ms816kbIncorect0
Punctaj total0

Ceva nu functioneaza?