Borderou de evaluare (job #43535)

Utilizator chermanCorina Herman cherman Data 30 martie 2007 11:35:10
Problema Cerc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 65

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(in, "%ld", &n); ^ user.cpp:24:47: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(in, "%ld %ld %ld", &x,&y,&r); ^ user.cpp:24:47: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:24:47: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:87:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(out,"%ld\n", nr); ^ user.cpp:20:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%ld", &n); ^ user.cpp:24:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%ld %ld %ld", &x,&y,&r); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms756kbIncorect0
20ms796kbIncorect0
30ms804kbIncorect0
40ms756kbOK5
50ms756kbOK5
60ms804kbOK5
70ms808kbOK5
80ms856kbOK5
90ms880kbOK5
100ms872kbOK5
110ms876kbIncorect0
120ms876kbOK5
130ms876kbIncorect0
140ms752kbOK5
150ms880kbOK5
160ms780kbOK5
170ms860kbOK5
180ms804kbIncorect0
190ms756kbIncorect0
200ms860kbOK5
Punctaj total65

Ceva nu functioneaza?