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