Borderou de evaluare (job #1417843)

Utilizator figure0907Andrei Gonczi figure0907 Data 11 aprilie 2015 11:22:35
Problema Copaci Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void readdata()’: user.cpp:17:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:20:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d",&v[i].x,&v[i].y); ^ user.cpp:20:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp: In function ‘void writedata()’: user.cpp:67:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(f,"%I64d",d); ^ user.cpp: In function ‘void readdata()’: user.cpp:17: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:20:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&v[i].x,&v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOkay!10
20ms276kbOkay!10
30ms300kbOkay!10
40ms336kbOkay!10
54ms416kbWrong answer0
68ms552kbWrong answer0
712ms660kbWrong answer0
836ms1168kbWrong answer0
952ms1600kbWrong answer0
1068ms1840kbWrong answer0
Punctaj total40

Ceva nu functioneaza?