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
2022-12-07 03:34:28
#include<iostream>
using namespace std;
int main(){
int a,b,c,d,e;
cin>>a>>b;
c=(a*b)/2;
cout<<c<<endl;

}
2022-12-07 03:32:51
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d,i;
cin>>a>>b>>c>>d;
if((a+b)%2==(c+d)%2) cout<<"YES"<<endl;
else cout<<"NO"<<endl;
}
2022-12-07 03:32:18
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d;
scanf("%d%d%d%d",&a, &b, &c, &d);
if ((a+b)%2==0 ^ (c+d)%2!=0) printf("YES");
else printf("NO");
}
2022-12-07 03:31:16
#include<iostream>
using namespace std;
int main(){
int a,b,c,d,e;
cin>>a>>b;
c=(a*b)/2;
cout<<c<<endl;

}
2022-12-07 03:30:16
#include<bits/stdc++.h>
using namespace std;
int main (){
long a,b,c,d;
scanf("%d%d%d%d",&a, &b, &c, &d);
if ((a+b)%2==0 ^ (c+d)%2!=0) printf("YES");
else printf("NO");
}
2022-12-07 03:28:53
#include<bits/stdc++.h>
using namespace std;
int main (){
int r1,s,r2;
cin>>r1>>s;
r2=(s*2)-r1;
cout<<r2<<endl;
}
2022-12-07 03:22:45
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d;
cin>>a>>b;
c=2*b-a;
cout<<c<<endl;
}
2022-12-07 03:20:52
#include<iostream>
using namespace std;
int main(){
int a,b,c,d,e;
cin>>a>>b;
c=(a*b)/2;
cout<<c<<endl;

} tso
2022-12-01 07:32:42
tanaar muu banidnar eniig hiij chadahgui
2022-12-01 07:32:28
8=======D
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.