Borderou de evaluare (job #2026966)

Utilizator xRoALexBirtoiu Alexandru xRoALex Data 25 septembrie 2017 14:08:22
Problema Reguli Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&v[0]); ^ user.cpp:18:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&v[i]); ^ user.cpp:33:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d\n",s[i]); ^ user.cpp:14:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.cpp:15:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&v[0]); ^ user.cpp:18:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms864kbOK10
240ms2224kbIncorect0
3120ms5788kbIncorect0
4248ms10020kbIncorect0
540ms1836kbIncorect0
624ms1252kbIncorect0
728ms2028kbOK10
80ms364kbIncorect0
90ms348kbOK10
100ms268kbOK10
Punctaj total40

Ceva nu functioneaza?