Borderou de evaluare (job #1177856)

Utilizator UPB_Foianu_Preda_VelciuUPB-xyzzy UPB_Foianu_Preda_Velciu Data 26 aprilie 2014 13:42:06
Problema Cercuri5 Status done
Runda ONIS 2014, Runda 4 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void f(float, float, float, float, float, float&, float&, float&, float&)’: user.cpp:71:8: warning: unused variable ‘rsq’ [-Wunused-variable] float rsq = r * r; ^ user.cpp: In function ‘int main()’: user.cpp:124:45: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double’ [-Wformat=] fscanf(fin, "%f %f %f %f", x1, y1, x2, y2); ^ user.cpp:124:45: warning: format ‘%f’ expects argument of type ‘float*’, but argument 4 has type ‘double’ [-Wformat=] user.cpp:124:45: warning: format ‘%f’ expects argument of type ‘float*’, but argument 5 has type ‘double’ [-Wformat=] user.cpp:124:45: warning: format ‘%f’ expects argument of type ‘float*’, but argument 6 has type ‘double’ [-Wformat=] user.cpp:108:8: warning: unused variable ‘v’ [-Wunused-variable] Point v[MAXM * 2]; ^ user.cpp:112:27: warning: unused variable ‘xc1’ [-Wunused-variable] float r, x1, y1, x2, y2, xc1, yc1, xc2, yc2; ^ user.cpp:112:32: warning: unused variable ‘yc1’ [-Wunused-variable] float r, x1, y1, x2, y2, xc1, yc1, xc2, yc2; ^ user.cpp:112:37: warning: unused variable ‘xc2’ [-Wunused-variable] float r, x1, y1, x2, y2, xc1, yc1, xc2, yc2; ^ user.cpp:112:42: warning: unused variable ‘yc2’ [-Wunused-variable] float r, x1, y1, x2, y2, xc1, yc1, xc2, yc2; ^ user.cpp:124:45: warning: ‘y2’ may be used uninitialized in this function [-Wmaybe-uninitialized] fscanf(fin, "%f %f %f %f", x1, y1, x2, y2); ^ user.cpp:124:45: warning: ‘x2’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:124:45: warning: ‘y1’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:124:45: warning: ‘x1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms396kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?