记录编号 46785 评测结果 WWWWAWWWWWWWWWAWWWWWWWAWWWWWWWAWWWWWWWWWWWWWWWWWWW
题目名称 加法问题 最终得分 8
用户昵称 Gravatar1azyReaper 是否通过 未通过
代码语言 C++ 运行时间 0.034 s
提交时间 2012-10-29 19:07:34 内存使用 13.66 MiB
显示代码纯文本
  1. #include <fstream>
  2. using namespace std;
  3. int main()
  4. {
  5. ifstream fin("aplusb.in");
  6. ofstream fout("aplusb.out");
  7. double a,b,c;
  8. fin>>a;
  9. fin>>b;
  10. c=a+b;
  11. fout<<c<<endl;
  12. fin.close();
  13. fout.close();
  14. return 0;
  15. }