Wrong Answer
/in/ex4.c: In function 'main': /in/ex4.c:10:7: warning: implicit declaration of function 'sign' [-Wimplicit-function-declaration] if (sign(y+tan(theta)*x-(g/(2*pow(v0,2)*pow(cos(theta),2))*pow(x,2)))==sign(y+tan(theta)*x1-(g/(2*pow(v0,2)*pow(cos(theta),2)))*pow(x1,2))){ ^~~~ /in/ex4.c: At top level: /in/ex4.c:22:1: warning: return type defaults to 'int' [-Wimplicit-int] sign(double x) ^~~~
Information
- Submit By
- Type
- Submission
- Homework
- Assignment 5
- Language
- C
- Submit At
- 2018-06-25 22:09:49
- Judged At
- 2018-06-25 22:09:49
- Judged By
- Score
- 90
- Total Time
- 10ms
- Peak Memory
- 344.0 KiB