Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2019
5,712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #include "bits/stdc++.h"
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. int n;
  7. cin >> n;
  8. cout << 2*n*n-2*n+1;
  9. return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement