Saturday, June 2, 2018

Timus - 1345 .cpp file

#include <stdio.h>

long N;


int main()
{
    scanf("%ld", &N);
    printf("%ld %ld %ld\n", N * N + N, N * N + 2 * N, N * N);

    return 0;
}

No comments:

Post a Comment