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
2019-11-24 06:41:34
ez

Last edit: 2019-11-24 06:42:01
2019-11-24 05:55:07
ez


Last edit: 2019-12-20 10:36:43
2019-11-23 07:32:16
#include <cstdio>
int main() {
long long l,s=0,k=0,a;
scanf("%lld" , &l);
a=(1+l)/2*l;
for(int i=0;i<=l;i=i+7){
s=s+i;
}
k=a-s;
printf("%lld", k);
}


2019-11-23 07:07:25
#include<cstdio>
#include<string>
int main(){
int a,b[255];
scanf("%d", &a);
for(int i=1; i<=a;i++){
scanf("%d", &b[i]);
}
for(int i=1;i<=a;i++){
printf("%c",b[i]);
}
}
2019-11-23 06:56:04
#include<cstdio>
#include<string>
int main(){
int a,b[255];
scanf("%d", &a);
for(int i=1; i<=a;i++){
scanf("%d", &b[i]);
}
for(int i=1;i<=a;i++){
printf("%c",b[i]);
}
}
2019-11-22 14:44:36
Чамтай уусмаар байна
..................................
Болдогсон бол залуу сэтгэлээрээ баяжинаа
Нартай өглөө уралдан босьё
Өөрийн чадлын хэрээрээ бүтээе ээ
....................................
Чиний уруулын будаг
Миний уусах хүсэл.!
................................
Aaben Beeben

2019-11-19 11:50:16
#include<stdio.h>
int main ()
{
int a[1000][101]
int i,j,n,m;
i=1;
j=0;
while(scanf("%d",n)!=EOF)
{
a[j][n]=i;
j++;
}
for(i=0; i<n; i++){
if()

}





return 0;
}

2019-11-17 07:41:44
P[NYTDRUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUNJFBKJBILKNYIVKJBBBBBBBBBBBBBBYJKNLYBVKUUBYUY BHKJ LYBG7YBLIKNM;LIHL;.MUGG6785FF87ER67 CVV76CV865DF
ZAj m,kkkkkkkkkkkkkkkkkkkk89p"
'kmghh[

Last edit: 2019-11-24 07:10:29
2019-11-12 12:11:16


Last edit: 2019-11-22 14:44:58
2019-11-12 12:09:28


Last edit: 2019-11-22 14:45:09
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.