Question about output the angle.

>> Angle in degrees (with 2 digits after decimal point), that gives the desired direction of fireball. If there are several such angles your program should output the minimal one.

1. Could angle be negative?

2. If YES, then does angle should be minimal "BY MODULO" OR minimal "BY VALUE"?

Thanks.

Re: Question about output the angle.

0.00<=Angle<360.0

Re: Question about output the angle.

Rounded angle may probably become 360.00. Anyway, I had no protection against that and got AC.

Re: Question about output the angle.

When I add "if (fi==0) fi=360;" in my code I got WA#2, until this moment I got WA#14.

*Edited by author 08.10.2011 18:16*