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
2023-10-11 09:23:27
#include <iostream>
using namespace std;

int main(){
int a,b,c;
cin >> a >> b >> c;
cout << a + b + c;
}
2023-10-10 06:00:31
asda bodj barkunn bno
2023-10-10 04:48:38
HAHAHAHHA
2023-10-05 07:16:12
big \
2023-10-05 07:15:55
bug
2023-10-05 07:15:38

hi
2023-10-05 07:15:05
you litel buggati fake still dreaming?
2023-10-05 07:13:15
milk


Last edit: 2023-10-05 07:16:26
2023-09-26 04:12:37
#include <iostream>
using namespace std;
int main() {

int a,b,c;
cin>>a;
if(a>=0)
cout<<"YES";

else{
cout<<"NO";

}


return 0;
}
2023-09-25 04:54:19
#include <iostream>
using namespace std;

int main() {
long long a,b,c,d;
cin>>a>>b>>c;
d=(b*b)-(4*a*c);
if(d==0){
cout<<"1";
}
if(d>0){
cout<<"2";
}
if(d<0){
cout<<"0";
}
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.