华师大 OJ 3059

题目链接:点击打开链接


解决方案:

/******************************************************************************/
/*                                                                            */
/*  DON'T MODIFY main() function anyway!                                      */
/*                                                                            */
/******************************************************************************/
#include 
#include 
#include 

struct PolePoint {
    double r;
    double angle;
};

struct PolePoint record[1000];

void solve();  /*write function solve() to process one case of the problem    */
void init(){}

int main()
{  int i,t; init();
   scanf("%d\n",&t);
   for (i=0;i=0)?atan2(y,x):atan2(y,x) + 2*M_PI;
    }
    qsort(record,n,sizeof(record[0]),cmp);
    for(k=0; k


你可能感兴趣的:(华师大,OJ)