| 记录编号 | 36833 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 652.数字填充 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.003 s | ||
| 提交时间 | 2012-03-20 11:04:34 | 内存使用 | 0.26 MiB | ||
#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);
}