0_0_29281191_31718.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_29281191_31718.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_29281191_31718.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_29281191_31718.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_29281191_31718.cpp:9:26: error: 'acos' was not declared in this scope
const double PI=acos(-1.0);
^
0_0_29281191_31718.cpp: In function 'int fun(double)':
0_0_29281191_31718.cpp:17:11: error: expected ';' before '{' token
for(i=0;i {
^
0_0_29281191_31718.cpp:17:11: error: expected primary-expression before '{' token
0_0_29281191_31718.cpp:17:11: error: expected ')' before '{' token
0_0_29281191_31718.cpp:18:16: error: 'cos' was not declared in this scope
vx=v[i]*cos(anl);
^
0_0_29281191_31718.cpp:19:17: error: 'sin' was not declared in this scope
vy1=v[i]*sin(anl);
^
0_0_29281191_31718.cpp:20:23: error: 'sqrt' was not declared in this scope
vy2=sqrt(vy1*vy1+2*g*h);
^
0_0_29281191_31718.cpp: In function 'int main()':
0_0_29281191_31718.cpp:33:20: error: 'scanf' was not declared in this scope
while(scanf("%d",&n),n)
^
0_0_29281191_31718.cpp:45:16: error: 'max' was not declared in this scope
ans=max(ans,tmp);
^
0_0_29281191_31718.cpp:47:18: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
|