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-11-22 12:07:14
#include<iostream>
using namespace std;
int main(){
int a,b,c,d;
cin>>a>>b>>c>>d;
if(a==c){
cout<<1;
}
if(b==d){
cout<<1;
}
if(a!=c && b!=d){
cout<<0;
}
}





2023-11-22 04:21:28
Dictionary = {'Apple': 'Alim', 'Book': 'Nom', 'School': 'surguuli', 'Student': 'suragch', 'Teacher': 'bagsh'}
print(Dictionary.get('Apple'))
2023-11-22 03:44:43
uilseelagxjTA.aternos.me:23586
2023-11-22 03:29:47
#include <iostream>
using namespace std;

int main() {

int a,b,c;
cin>>a;
if(a%5==0){
cout<<a/5;
}
else
cout<<a/5+1;
return 0;
}
2023-11-22 03:28:39
#include <cmath>
#include <iostream>
using namespace std;

int main() {

long long a,b,c,d,e,f,g=0,h,i,j,k,l,z,x,y;
cin>>a>>b;
if(12>a){
cout<<"AM";
}
else{
cout<<"PM";
}
return 0;
}
2023-11-22 03:13:29
#include<iostream>
using namespace std;
int main(){
long long a,b,c,d,x,y;
cin>>a>>b>>c>>d;
x=a-c;
y=b-d;
if(x<0) x=-x;
if(y<0) y=-y;
if(x>y)
cout<<x;
else
cout<<y;
}
2023-11-21 11:38:06
rabbitfish.aternos.host:40249

2023-11-21 11:36:05
rabbitfish.aternos.host:40249
2023-11-21 11:25:32
uilseepro.aternos.me:44707
2023-11-21 11:21:49
uilseelagAkXs.aternos.me:21088
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.