Borderou de evaluare (job #1571011)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:24: 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 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 long int’ [-Wformat=] fprintf(fout, "%d", maxx); ^ user.cpp:16:25: 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
10ms448kbOK10
20ms440kbOK10
30ms440kbOK10
40ms440kbOK10
50ms440kbOK10
64ms444kbOK10
74ms440kbIncorect0
84ms440kbIncorect0
98ms444kbIncorect0
100ms440kbOK10
Punctaj total70

Ceva nu functioneaza?