Pages

Friday, July 29, 2011

a042. 平面圓形切割


#include
using namespace std;

int main(){
int n;
while (cin >> n)
{
cout << n*n-n+2 << endl;
}
return 0;
}

No comments:

Post a Comment