题目链接:
http://codeforces.com/problemset/problem/592/B
这个题目没啥说的,画图找规律吧,哈哈哈
程序代码:
#include <cstdio> using namespace std; #define LL long long int main() { LL n; scanf("%lld",&n); printf("%lld ",(n-2)*(n-2)); return 0; }
题目链接:
http://codeforces.com/problemset/problem/592/B
这个题目没啥说的,画图找规律吧,哈哈哈
程序代码:
#include <cstdio> using namespace std; #define LL long long int main() { LL n; scanf("%lld",&n); printf("%lld ",(n-2)*(n-2)); return 0; }