Borderou de evaluare (job #1778979)

Utilizator robx12lnLinca Robert robx12ln Data 14 octombrie 2016 16:23:33
Problema Cercuri4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf( fin, "%d%d%d%d", &v[i].x, &v[i].y, &v[i].r, &v[i].f ); ^ user.cpp:30:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:30:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:30:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:28:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &n ); ^ user.cpp:30:70: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d%d%d", &v[i].x, &v[i].y, &v[i].r, &v[i].f ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms380kbIncorect0
20ms384kbIncorect0
30ms384kbIncorect0
40ms380kbIncorect0
54ms392kbIncorect0
64ms400kbIncorect0
78ms404kbIncorect0
88ms404kbIncorect0
98ms404kbIncorect0
108ms400kbIncorect0
Punctaj total0

Ceva nu functioneaza?