0_0_19231175_28313.cpp:29:6: error: stray '#' in program
ll; #ifdef ecust
^
0_0_19231175_28313.cpp:20:12: error: 'i' does not name a type
int i = 0; i < (int)(n); i++)
^
0_0_19231175_28313.cpp:20:26: error: 'i' does not name a type
int i = 0; i < (int)(n); i++)
^
0_0_19231175_28313.cpp:29:7: error: 'ifdef' does not name a type
ll; #ifdef ecust
^
0_0_19231175_28313.cpp: In function 'void solve()':
0_0_19231175_28313.cpp:37:44: error: 'x0' was not declared in this scope
void solve(){ scanf("%lf%lf%lf%lf%lf", &x0, &y0, &x1, &y1, &t); if(fabs(t) <= 1e-8) {puts("Impossible."); return;} vx = ((x1 - x0))/t; vy = ((y1 - y0) + 0.5*9.8*t*t)/t; printf("%.3lf\n", fun(vy)-fun(vy-9.8*t));}
^
0_0_19231175_28313.cpp:37:49: error: 'y0' was not declared in this scope
void solve(){ scanf("%lf%lf%lf%lf%lf", &x0, &y0, &x1, &y1, &t); if(fabs(t) <= 1e-8) {puts("Impossible."); return;} vx = ((x1 - x0))/t; vy = ((y1 - y0) + 0.5*9.8*t*t)/t; printf("%.3lf\n", fun(vy)-fun(vy-9.8*t));}
^
0_0_19231175_28313.cpp:37:54: error: 'x1' was not declared in this scope
void solve(){ scanf("%lf%lf%lf%lf%lf", &x0, &y0, &x1, &y1, &t); if(fabs(t) <= 1e-8) {puts("Impossible."); return;} vx = ((x1 - x0))/t; vy = ((y1 - y0) + 0.5*9.8*t*t)/t; printf("%.3lf\n", fun(vy)-fun(vy-9.8*t));}
^
0_0_19231175_28313.cpp:37:59: error: 'y1' was not declared in this scope
void solve(){ scanf("%lf%lf%lf%lf%lf", &x0, &y0, &x1, &y1, &t); if(fabs(t) <= 1e-8) {puts("Impossible."); return;} vx = ((x1 - x0))/t; vy = ((y1 - y0) + 0.5*9.8*t*t)/t; printf("%.3lf\n", fun(vy)-fun(vy-9.8*t));}
^
0_0_19231175_28313.cpp: At global scope:
0_0_19231175_28313.cpp:40:67: error: expected declaration before '}' token
int cas; scanf("%d", &cas); while(cas--){ solve(); }}}
^
|