摘要:
难点不在贪心,在于对字符串的处理,字符串处理为数字sscanf就可以了View Code #include<iostream>#include<algorithm>#include<stdio.h>#include<string.h>#include<math.h>using namespace std;struct data{ double x,y; int time;}s[100009];double dis[100009];double fdis(double x0,double y0,double x1,double y1){ 阅读全文
posted @ 2012-03-15 21:42 huhuuu 阅读(184) 评论(0) 推荐(0)
浙公网安备 33010602011771号