摘要: Problem A: 一日三餐开销水题,基本上都过了,直接贴代码: 1 #include 2 #include 3 using namespace std; 4 int main() 5 { 6 double a,b,c; 7 while(cin>>a>>b>>c) 8 { 9 printf("%.1f\n",a+b+c);10 }11 }View CodeProblem B: 一道简单的题简单排序,只要从小到大排序输出就可以了,注意数组最后没有空格。#include #include #includeusing namespace st 阅读全文
posted @ 2013-07-09 21:43 默默如潮 阅读(305) 评论(0) 推荐(0) 编辑