algorithm

더블릿|dovelet - 조아나와 홀수/joana

블루건 2016. 7. 18. 21:16

문제


1
2
3
4
5
6
7
8
9
10
11
#include <iostream>
#include <cmath>
 
int main()
{
    long long n;
    std::cin >> n;
    std::cout << 3 * (n*+ 2 * n - 1/ 2 - 6;
 
    return 0;
}
cs