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
2024-12-04 11:21:14
#include <iostream>
using namespace std;

int main ()
{ int a, b, c;
scanf("%d%d%d",&a,&b,&c);
printf("%d",a+b+c);
return 0;
}
huul haha
2024-12-04 02:59:11
https://openguessr.com/?join=g9myqy7y
2024-12-04 02:59:00
g9myqy7y
2024-12-04 02:47:50
https://openguessr.com/?join=gdktk14r
2024-12-03 11:15:25
#include <bits/stdc++.h>
using namespace std;

int main() {
int k, n, a=0, b=1, c;
cin >> k >> n;
while (n > 0) {
c = n % 10;
n = n / 10;
a = a + c * b;
b = b * k;
}
cout << a << endl;
return 0;
}
2024-12-03 03:10:13
#include<stdio.h>
#include<stdlib.h>
int main()
{
int a,s,d,f;
scanf("%d %d %d",&a,&s,&d);
f=a+s+d;
printf("%d",f);
system("pause");
return 0;
}
2024-12-02 10:24:12
sigma sigma boi sigma boi sigma boii
2024-12-02 10:22:52
mergen bol ga y
2024-12-02 10:21:18
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,p;
cin>>a>>b>>c;
p=a+b+c;
cout<<p<<endl;
}
ez suga batzaan
2024-12-02 08:26:59
khanaaaaaaaaaaaa.aternos.me:19485
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.