11037 - Point of View in Flatland

All about problems in Volume 110. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

adnan2nd
New poster
Posts: 14
Joined: Sat Jul 03, 2004 1:18 pm
Location: bangladesh,ctg
Contact:

-0.00 lines circles

Post by adnan2nd »

thanks to little joey for -0.00 case.

it can be handled like this

Code: Select all

void print(double a, double b)
	{
	  if(a<0.005 && a>-0.005) a=0;
    if(b<0.005 && b>-0.005) b=0;
    printf("%.2lf %.2lf\n",a,b);	
	
	}
in C.
Circles and Lines were enough (in my AC code-position 2(may be for new judge)) .
Post Reply

Return to “Volume 110 (11000-11099)”