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