Borderou de evaluare (job #1417813)

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

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:68: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
10ms252kbWrong answer0
20ms252kbWrong answer0
30ms268kbWrong answer0
40ms284kbWrong answer0
54ms320kbWrong answer0
68ms392kbWrong answer0
712ms448kbWrong answer0
836ms692kbWrong answer0
944ms912kbWrong answer0
1056ms1032kbWrong answer0
Punctaj total0

Ceva nu functioneaza?