返回列表 發帖
/**********************************************************************************/
/*  Problem: a042 "平面圓形切割" from 許介彥                             */
/*  Language: CPP                                                                 */
/*  Result: AC (32ms, 700KB) on ZeroJudge                                         */
/*  Author: b1081081 at 2010-10-16 11:25:53                                       */
/**********************************************************************************/


#include <iostream>
using namespace std;
int main(){

int n;
while (cin >> n){



cout << n * n - n + 2 << endl;

































































}
return 0;
}

盡情的COPY吧!!!

TOP

返回列表