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

Нэмсэн:Bataa
Огноо:2011-01-16
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2022-11-08 05:36:24
#include<iostream>//y=3x-5
using namespace std;
int main(){
int a,b;
cin>>b;
a = 3*b-5;
cout<<a<<endl;
}
2022-10-31 15:16:18
int x;
cin >> x;
cout << (3 * x - 5);
2022-10-03 15:33:41
#include<stdio.h>
int main(){
int x,y;
scanf("%d",&x);
y=3*x-5;
printf("%d",y);
return 0;
}
2022-09-22 02:33:09
yum oilgohgu bnoo
2022-09-05 11:18:41
yostoi medku XD
2022-04-22 08:02:04
suguud bty huulaad bai
2022-04-01 13:10:25
#include <iostream>
using namespace std;

int main() {
int x,y;

cin>>x;

y=3*x-5;


cout<<y<<endl;


return 0;
}


2022-03-22 07:59:24
Muuu 3 batsaan ksssss hahahaha
2022-03-09 08:46:07
#include<stdio.h>
int main(){
int x,y;
scanf("%d",&x);
y=3*x-5;
printf("%d",y);
return 0;
}
2022-01-01 12:19:05
#include<stdio.h>
main ()
{
int x, y;
scanf("%d",x);
y = 3*x-5;
printf("y:%d",y);
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.