Borderou de evaluare (job #2080407)

Utilizator iulius510iulius alexandru iulius510 Data 2 decembrie 2017 22:11:58
Problema Sume Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:10:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(f,"%d",&n); ^ user.c:18:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",p); ^ user.c:37:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] { fprintf(g,"%d",p); ^ user.c:40:7: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(f,"%d",&v[i]); ^ user.c:47:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d ",x); ^ user.c:49:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d ",v[i]-x); ^ user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.c:40:13: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK!5
20ms280kbWrong answer!0
30ms280kbWrong answer!0
40ms284kbWrong answer!0
50ms276kbWrong answer!0
60ms284kbWrong answer!0
70ms280kbWrong answer!0
80ms284kbWrong answer!0
90ms284kbWrong answer!0
100ms276kbWrong answer!0
110ms280kbWrong answer!0
120ms284kbWrong answer!0
130ms284kbWrong answer!0
140ms280kbWrong answer!0
150ms284kbWrong answer!0
160ms280kbWrong answer!0
170ms284kbWrong answer!0
180ms276kbWrong answer!0
190ms284kbWrong answer!0
200ms276kbWrong answer!0
Punctaj total5

Ceva nu functioneaza?