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