| 比赛 | 20120316 | 评测结果 | AAAAAAAAAA |
|---|---|---|---|
| 题目名称 | 数字填充 | 最终得分 | 100 |
| 用户昵称 | Truth.Cirno | 运行时间 | 0.000 s |
| 代码语言 | C++ | 内存使用 | 0.00 MiB |
| 提交时间 | 2012-03-16 21:13:23 | ||
#include <cstdio>
using namespace std;
int main(void)
{
freopen("coupons.in","r",stdin);
freopen("coupons.out","w",stdout);
int n;
scanf("%d",&n);
n=n*n+0.5*n+1;
printf("%d\n",n);
return(0);
}