Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

RGB7005 - Функц 1

y=3x-5

Input

x бүхэл тоон утгаар өгөгдөнө.

Output

y-ийн утга.

Example

Input:
1

Output:
-2

Added by:Bataa
Date:2011-01-16
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:NCSHARP C++ 4.3.2 CPP CPP14 JULIA PYPY3

hide comments
2023-09-20 15:23:22
#include<stdio.h>
using namespace std;
int main()
{
int a,b;
scanf("%d",&a);
b=3*a-5;
printf("%d",b);

}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.