0_0_23623517_26378.cpp:14:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_23623517_26378.cpp:15:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_23623517_26378.cpp:16:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_23623517_26378.cpp:17:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_23623517_26378.cpp:18:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_23623517_26378.cpp:22:1: error: 'vector' does not name a type
vector x;
^
0_0_23623517_26378.cpp: In function 'void cal(double, double, double)':
0_0_23623517_26378.cpp:29:4: error: 'x' was not declared in this scope
x.PB(t);
^
0_0_23623517_26378.cpp:37:4: error: 'x' was not declared in this scope
x.PB(t);
^
0_0_23623517_26378.cpp:40:27: error: 'sqrt' was not declared in this scope
double t1=(-b+sqrt(delta))/(2*a);
^
0_0_23623517_26378.cpp:43:4: error: 'x' was not declared in this scope
x.PB(t1);
^
0_0_23623517_26378.cpp:45:4: error: 'x' was not declared in this scope
x.PB(t2);
^
0_0_23623517_26378.cpp: In function 'double f(double)':
0_0_23623517_26378.cpp:53:61: error: 'sqrt' was not declared in this scope
return sqrt(1.0+(2.0*A[sel]*x+B[sel])*(2.0*A[sel]*x+B[sel]));
^
0_0_23623517_26378.cpp: In function 'double asr(double, double, double, double)':
0_0_23623517_26378.cpp:76:15: error: 'fabs' was not declared in this scope
if(fabs(A-L-R)<=15*eps) return L + R +(A-L-R)/15;
^
0_0_23623517_26378.cpp: In function 'int main()':
0_0_23623517_26378.cpp:86:15: error: expected ')' before ';' token
scanf("%d",&T;);
^
0_0_23623517_26378.cpp:86:16: error: expected primary-expression before ')' token
scanf("%d",&T;);
^
0_0_23623517_26378.cpp:89:16: error: expected ')' before ';' token
scanf("%d",&n;);
^
0_0_23623517_26378.cpp:89:17: error: expected primary-expression before ')' token
scanf("%d",&n;);
^
0_0_23623517_26378.cpp:94:24: error: expected ')' before ';' token
scanf("%lf%lf%lf",&k;,&a;,&b;);
^
0_0_23623517_26378.cpp:94:25: error: expected primary-expression before ',' token
scanf("%lf%lf%lf",&k;,&a;,&b;);
^
0_0_23623517_26378.cpp:94:29: error: expected primary-expression before ',' token
scanf("%lf%lf%lf",&k;,&a;,&b;);
^
0_0_23623517_26378.cpp:94:33: error: expected primary-expression before ')' token
scanf("%lf%lf%lf",&k;,&a;,&b;);
^
0_0_23623517_26378.cpp:99:3: error: 'x' was not declared in this scope
x.clear();
^
0_0_23623517_26378.cpp:105:25: error: 'sort' was not declared in this scope
sort(x.begin(),x.end());
^
0_0_23623517_26378.cpp:106:15: error: expected ';' at end of input
for(int i=0;i
^
0_0_23623517_26378.cpp:106:15: error: expected primary-expression at end of input
0_0_23623517_26378.cpp:106:15: error: expected ')' at end of input
0_0_23623517_26378.cpp:106:15: error: expected statement at end of input
0_0_23623517_26378.cpp:106:15: error: expected '}' at end of input
0_0_23623517_26378.cpp:106:15: error: expected '}' at end of input
|