Borderou de evaluare (job #1825720)

Utilizator Marius7122FMI Ciltea Marian Marius7122 Data 9 decembrie 2016 16:34:59
Problema Sume Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void afis(int)’: user.cpp:21:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] printf("%d\n%d ",m,a); ^ user.cpp:23:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ",v[i]-a); ^ user.cpp: In function ‘int main()’: user.cpp:70:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(f2,"%d\n%d ",m,a); ^ user.cpp:72:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(f2,"%d ",v[i]-a); ^ user.cpp:31:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d",&n); ^ user.cpp:34:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK!5
20ms304kbOK!5
30ms288kbWrong answer!0
40ms256kbWrong answer!0
50ms304kbWrong answer!0
60ms288kbWrong answer!0
70ms288kbWrong answer!0
80ms296kbWrong answer!0
90ms308kbWrong answer!0
104ms356kbWrong answer!0
110ms260kbWrong answer!0
124ms300kbWrong answer!0
134ms320kbWrong answer!0
144ms320kbWrong answer!0
154ms336kbWrong answer!0
164ms352kbWrong answer!0
174ms340kbWrong answer!0
184ms356kbWrong answer!0
194ms360kbWrong answer!0
204ms348kbWrong answer!0
Punctaj total10

Ceva nu functioneaza?