记录编号 462483 评测结果 AAAAAA
题目名称 加法问题 最终得分 100
用户昵称 GravatarHallmeow 是否通过 通过
代码语言 C++ 运行时间 0.002 s
提交时间 2017-10-22 09:11:30 内存使用 0.31 MiB
显示代码纯文本
  1. #include <iostream>
  2. #include <cstdio>
  3. using namespace std;
  4. int main()
  5. {
  6. freopen("aplusb.in","r",stdin);
  7. freopen("aplusb.out","w",stdout);
  8. double a,b;
  9. scanf("%lf%lf",&a,&b);
  10. int c=(int)(a+b+0.000001);
  11. printf("%d",c);
  12. return 0;
  13. }
  14.  
  15. //5.8 9.2