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
2023-02-07 10:32:18
int main(){
int x,y;
scanf("%d",&x);
y=3*x-5;
printf("%d",y);

Last edit: 2023-02-07 10:32:36
2023-02-05 07:09:17
temuujin muu suga banid skill issue
2023-01-18 07:24:30
bty huulaad bai!!!!!!!!!!
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;
}


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