0_0_13796445_19633.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13796445_19633.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13796445_19633.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13796445_19633.cpp: In function 'int main()':
0_0_13796445_19633.cpp:27:7: error: expected primary-expression before '%' token
scanf(%d,&t);
^
0_0_13796445_19633.cpp:27:8: error: 'd' was not declared in this scope
scanf(%d,&t);
^
0_0_13796445_19633.cpp:27:12: error: 'scanf' was not declared in this scope
scanf(%d,&t);
^
0_0_13796445_19633.cpp:31:7: error: expected primary-expression before '%' token
scanf(%d,&n);
^
0_0_13796445_19633.cpp:39:7: error: expected primary-expression before '%' token
scanf(%lf%lf%lf%lf,&p1.x,&p1.y,&p2.x,&p2.y);
^
0_0_13796445_19633.cpp:39:8: error: 'lf' was not declared in this scope
scanf(%lf%lf%lf%lf,&p1.x,&p1.y,&p2.x,&p2.y);
^
0_0_13796445_19633.cpp:41:15: error: expected ';' before 'scanf'
for(int i=2;i scanf(%lf%lf,&p3.x,&p3.y);
^
0_0_13796445_19633.cpp:41:21: error: expected primary-expression before '%' token
for(int i=2;i scanf(%lf%lf,&p3.x,&p3.y);
^
0_0_13796445_19633.cpp:41:40: error: expected ')' before ';' token
for(int i=2;i scanf(%lf%lf,&p3.x,&p3.y);
^
0_0_13796445_19633.cpp:55:1: error: 'gx' was not declared in this scope
gx=gx/sumarea/3;//��Ķ��������
^
0_0_13796445_19633.cpp:55:7: error: 'sumarea' was not declared in this scope
gx=gx/sumarea/3;//��Ķ��������
^
0_0_13796445_19633.cpp:57:1: error: 'gy' was not declared in this scope
gy=gy/sumarea/3;
^
0_0_13796445_19633.cpp:59:8: error: expected primary-expression before '%' token
printf(%.2lf %.2lf ,gx,gy);
^
0_0_13796445_19633.cpp:59:9: error: unable to find numeric literal operator 'operator""lf'
printf(%.2lf %.2lf ,gx,gy);
^
0_0_13796445_19633.cpp:59:9: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_13796445_19633.cpp:59:15: error: unable to find numeric literal operator 'operator""lf'
printf(%.2lf %.2lf ,gx,gy);
^
0_0_13796445_19633.cpp:59:15: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_13796445_19633.cpp:59:26: error: 'printf' was not declared in this scope
printf(%.2lf %.2lf ,gx,gy);
^
0_0_13796445_19633.cpp: At global scope:
0_0_13796445_19633.cpp:63:1: error: expected unqualified-id before 'return'
return 0;
^
0_0_13796445_19633.cpp:65:1: error: expected declaration before '}' token
}
^
|