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