摘要:
http://acm.pku.edu.cn/JudgeOnline/problem?id=2365鄙视一下自己,净犯低级错误#include<stdio.h>#include<math.h>#define PI 3.141592653589double distance(double x1,double y1,double x2,double y2){ return sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));}int main(){ int nNail,i; double x[110],y[110],line 阅读全文