Search found 1 match

by cegonya19
Thu Jun 16, 2011 2:45 am
Forum: Volume 118 (11800-11899)
Topic: 11800 - Determine the Shape
Replies: 47
Views: 22275

Re: 11800 - Determine the Shape

Hi I'm getting WA.
How do you sort points? My sort is wrong!
Can someone help me?
This is my code:



#include <math.h>
#include <stdio.h>
#include <algorithm>

using namespace std;

double lado(int x1, int y1, int x2, int y2){
return sqrt(pow(x2-x1,2)+pow(y2-y1,2));
}

double angle(int x1,int y1 ...

Go to advanced search