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.|

RGB7002 - Гурвалжин

Өгөгдсөн гурвалжны периметрийг ол.

Input

Гурвалжны талууд бүхэл тоогоор нэг мөрөнд зайгаар тусгаарлагдан өгөгдөнө.

Output

Гурвалжны периметр.

Example

Input:
3 4 5

Output:
12


Нэмсэн:Bataa
Огноо:2011-01-15
Хугацааны хязгаарлалт: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
2020-08-05 05:31:53
AmOre Amare

Last edit: 2020-08-05 05:35:26
2020-05-26 04:00:00
Hi BACONS

Last edit: 2020-05-26 04:01:50
2020-05-21 02:40:35
#include <cstdio>
int main(){
int a , i;
scanf("%d",&a);
for(i = 1 ; i <= 10 ; i ++){
printf("%d*%d=%d\n" , a , i , a * i);
}
}
2020-05-18 14:44:29
3+4+5=12

Last edit: 2020-05-18 14:46:51
2020-05-18 14:41:52
3+4+5=12
2020-02-24 06:33:24
haha ene goy bollo
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,n,s;
string sd,st,ss,sk;
cout<<"How old are you?: ";
cin>>n;
cout<<endl;
cout<<"What is you name?: ";
cin>>ss;
cout<<endl;
cout<<"Hello "<<n<<" year old "<<ss<<endl;
cout<<endl;
cout<<"what do you like to do?: ";
cin>>sk>>sd;
cout<<endl;
cout<<"why do you like to "<<sk<<" "<<sd<<":";
cin>>st;
cout<<endl;
cout<<"Okay "<<"thanks for talking with me :)";
return 0;
}
2020-02-07 11:21:05
#include <iostream>
using namespace std;
int main() {
int a,b,c,d;
cin >> a >> b >> c;
d=a+b+c;
cout << d;
return 0;
}
2020-02-06 11:45:58
soul
2020-01-25 05:32:20 2 heart
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long int n,m,i;
bool b;
scanf("%lld",&n);
i=2; b=true; m=trunc(sqrt(n));
while (i<=m && b)
{
if (n%i==0) b=false;
else i++;
}
if (b==true ) printf("YES\n");
else printf("NO\n");
return 0;
}
2020-01-21 06:47:53
NICE
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.