Borderou de evaluare (job #1281577)

Utilizator pitbull007Hurmuzache Ciprian pitbull007 Data 3 decembrie 2014 13:45:20
Problema Copaci Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:28:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(fin,"%d",&N); ^ user.c:30:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(fin,"%d%d",&points[i].x,&points[i].y); ^ user.c:30:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long int *’ [-Wformat=] user.c:45:5: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout,"%lld",I); ^ user.c:26:31: warning: unused variable ‘y2’ [-Wunused-variable] long sum,N,B,A,I,x1,x2,y1,y2; ^ user.c:26:28: warning: unused variable ‘y1’ [-Wunused-variable] long sum,N,B,A,I,x1,x2,y1,y2; ^ user.c:26:25: warning: unused variable ‘x2’ [-Wunused-variable] long sum,N,B,A,I,x1,x2,y1,y2; ^ user.c:26:22: warning: unused variable ‘x1’ [-Wunused-variable] long sum,N,B,A,I,x1,x2,y1,y2; ^ user.c:28:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&N); ^ user.c:30:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d",&points[i].x,&points[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbWrong answer0
20ms264kbWrong answer0
30ms284kbWrong answer0
40ms324kbWrong answer0
54ms404kbWrong answer0
68ms548kbWrong answer0
712ms648kbWrong answer0
832ms1152kbWrong answer0
952ms1592kbWrong answer0
1064ms1824kbWrong answer0
Punctaj total0

Ceva nu functioneaza?