Borderou de evaluare (job #1417809)

Utilizator figure0907Andrei Gonczi figure0907 Data 11 aprilie 2015 00:24:09
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 int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:20:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘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 int*’ [-Wformat=] user.cpp: In function ‘void writedata()’: user.cpp:67:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(f,"%d",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
10ms248kbOkay!10
20ms248kbOkay!10
30ms264kbOkay!10
40ms280kbOkay!10
54ms316kbWrong answer0
68ms388kbWrong answer0
712ms440kbWrong answer0
832ms696kbWrong answer0
948ms908kbWrong answer0
1056ms1024kbWrong answer0
Punctaj total40

Ceva nu functioneaza?