Borderou de evaluare (job #2557054)

Utilizator dobrandreiAndrei Dobra dobrandrei Data 25 februarie 2020 14:31:31
Problema Parc Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int swaap(int&, int&)': main.cpp:19:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'void solve()': main.cpp:114:11: warning: unused variable 'a' [-Wunused-variable] float a=yg-y2,b=x2-xg,c=xg*y2-x2*yg; ^ main.cpp:114:19: warning: unused variable 'b' [-Wunused-variable] float a=yg-y2,b=x2-xg,c=xg*y2-x2*yg; ^ main.cpp:114:27: warning: unused variable 'c' [-Wunused-variable] float a=yg-y2,b=x2-xg,c=xg*y2-x2*yg; ^ main.cpp: In function 'void read()': main.cpp:28:57: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %d %d %d %d %d",&x,&y,&xg,&yg,&xp,&yp); ^ main.cpp:29:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&m); ^ main.cpp:36:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %d",&a,&b); ^ main.cpp:50:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&n); ^ main.cpp:52:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbBine !10
25ms131kbBine !10
32ms131kbBine !10
42ms131kbBine !10
53ms131kbBine !10
68ms131kbBine !10
723ms131kbBine !10
88ms131kbBine !10
922ms131kbBine !10
1023ms131kbBine !10
Punctaj total100

Ceva nu functioneaza?