Borderou de evaluare (job #1571007)

Utilizator FrequeAlex Iordachescu Freque Data 16 ianuarie 2016 23:29:03
Problema Expresie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin, "%d", &n); ^ user.cpp:20:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin, "%d", &v[i]); ^ user.cpp:42:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout, "%d", maxx); ^ user.cpp:16:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:20:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms428kbOK10
20ms420kbOK10
30ms420kbOK10
40ms420kbOK10
50ms424kbOK10
60ms428kbOK10
70ms424kbIncorect0
80ms424kbIncorect0
90ms428kbOK10
100ms424kbOK10
Punctaj total80

Ceva nu functioneaza?