| 比赛 | 20120316 | 评测结果 | AAAAAAAAAA |
|---|---|---|---|
| 题目名称 | 数字填充 | 最终得分 | 100 |
| 用户昵称 | QhelDIV | 运行时间 | 0.000 s |
| 代码语言 | C++ | 内存使用 | 0.00 MiB |
| 提交时间 | 2012-03-16 20:09:05 | ||
#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;
}