Codeforces Round #384 (Div. 2), problem: (C) Vladik and fractions Solution in C/C++

By |2017-04-07T22:11:47+06:00December 17th, 2016|Categories: C/C++, Programming|Tags: , , , , , , , |

#include<stdio.h> int main(){ long x; scanf("%ld",&x); if(x==1) printf("-1"); else printf("%ld %ld %ld",x,x+1,x*(x+1)); return 0; }