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-03-01 06:24:40
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d;
scanf("%d%d%d%d",&a, &b, &c, &d);
if ((a23+b)%2 ==0 ^ (c+d)%2!=0) printf("YES");
else printf(NO");
}
2023-02-18 07:59:25
if(a==b&&(c==d==e)&&(a!=c)) printf("Full House");
if(a==c&&(b==d==e)&&(a!=e)) printf("Full House");
if(a==d&&(c==b==e)&&(a!=e)) printf("Full House");
if(a==e&&(c==d==b)&&(a!=c)) printf("Full House");
if(c==b&&(a==d==e)&&(a!=c)) printf("Full House");
if(d==b&&(c==a==e)&&(a!=d)) printf("Full House");
if(e==b&&(c==d==a)&&(a!=e)) printf("Full House");
if(d==c&&(a==b==e)&&(a!=c)) printf("Full House");
if(e==c&&(a==d==b)&&(a!=c)) printf("Full House");
if(e==d&&(c==a==b)&&(a!=d)) printf("Full House");
2023-02-18 07:59:25
if(a==b&&(c==d==e)&&(a!=c)) printf("Full House");
if(a==c&&(b==d==e)&&(a!=e)) printf("Full House");
if(a==d&&(c==b==e)&&(a!=e)) printf("Full House");
if(a==e&&(c==d==b)&&(a!=c)) printf("Full House");
if(c==b&&(a==d==e)&&(a!=c)) printf("Full House");
if(d==b&&(c==a==e)&&(a!=d)) printf("Full House");
if(e==b&&(c==d==a)&&(a!=e)) printf("Full House");
if(d==c&&(a==b==e)&&(a!=c)) printf("Full House");
if(e==c&&(a==d==b)&&(a!=c)) printf("Full House");
if(e==d&&(c==a==b)&&(a!=d)) printf("Full House");
2023-02-18 07:46:17
#include<bits/stdc++.h>
using namespace std;
int main ()
{
int n,s;
scanf("%d%d" ,&n ,&s);
while(s>0){
if(n%10!=0){
n=n-1;
s=s-1;
}
else{
n=n/10;
s=s-1;
}
}
printf("%d" ,n);
return 0;

}
2023-02-18 07:21:45
#include<bits/stdc++.h>
using namespace std;
int main ()
{
int n,s;
scanf("%d%d" ,n ,s);
while(s>0){
if(n%10!=0){
n=n-1;
s=s-1;
}
if(n%10==0){
n=n/10;
s=s-1;
}
}
printf("%d" ,n);
return 0;

}
2023-02-14 07:39:38
IF I CAN'T HAVE YOU NO ONE SHOULD
2023-02-13 03:29:10
GraphicsWindow.Width=500
GraphicsWindow.Height=400
GraphicsWindow.BackgroundColor="cyan"
GraphicsWindow.BrushColor="Yellow"
GraphicsWindow.FillEllipse(55,55,60,60)
GraphicsWindow.BrushColor="Red"
GraphicsWindow.FillTriangle(100,200,200,100,300,200)
GraphicsWindow.BrushColor="Orange"
GraphicsWindow.FillRectangle(110,200,180,150)
GraphicsWindow.BrushColor="Green"
GraphicsWindow.FillRectangle(0,320,2000,320)
GraphicsWindow.BrushColor="Red"
GraphicsWindow.FillRectangle(230,80,40,100)
GraphicsWindow.BrushColor="White"
GraphicsWindow.FillRectangle
2023-02-09 06:57:27
shaa ene nohoi olimpiadaas grmr bn
2023-02-08 10:47:39
i m sexy guy text gayshttps://www.facebook.com/balgansuren

Last edit: 2023-02-08 10:49:05
2023-01-23 07:27:42
#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");
}

Last edit: 2023-01-23 07:28:14
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.