Record Detail

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)
 ^~~~
# Status Time Cost Memory Cost
#1 Accepted 1ms 332.0 KiB
#2 Accepted 1ms 328.0 KiB
#3 Accepted 0ms 196.0 KiB
#4 Accepted 1ms 344.0 KiB
#5 Wrong Answer 0ms 332.0 KiB
#6 Accepted 1ms 256.0 KiB
#7 Accepted 0ms 324.0 KiB
#8 Accepted 0ms 200.0 KiB
#9 Accepted 0ms 204.0 KiB
#10 Accepted 1ms 196.0 KiB

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