标签:输入数据 select color php ssi while 数组 空格 之间
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 208295 Accepted Submission(s):
72641
1 #include<stdio.h> 2 #include<math.h> 3 int main(){ 4 double x1,y1,x2,y2; 5 while(scanf("%lf%lf%lf%lf",&x1,&y1,&x2,&y2)!=EOF){ 6 printf("%.2lf\n",sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))); 7 } 8 return 0; 9 }
标签:输入数据 select color php ssi while 数组 空格 之间
原文地址:http://www.cnblogs.com/dddddd/p/6693737.html