| 记录编号 | 36713 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 652.数字填充 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.003 s | ||
| 提交时间 | 2012-03-17 10:13:48 | 内存使用 | 0.26 MiB | ||
#include<fstream>
using namespace std;
int main()
{
ifstream fin("coupons.in");
ofstream fout("coupons.out");
int n;
fin>>n;
n=n/2+n*n+1;
fout<<n;
fin.close();
fout.close();
return 0;
}