1 #include2 #include 3 int main() 4 { 5 int i,n,a[110][2]; 6 double s; 7 while(scanf("%d",&n),n) 8 { 9 for(s=i=0;i
本文共 247 字,大约阅读时间需要 1 分钟。
1 #include2 #include 3 int main() 4 { 5 int i,n,a[110][2]; 6 double s; 7 while(scanf("%d",&n),n) 8 { 9 for(s=i=0;i
转载于:https://www.cnblogs.com/shihuajie/archive/2012/08/03/2622139.html