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