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-04-24 04:43:12
import pandas as pd

data = pd.read_csv('http://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data',header=None)

data.columns = ['sepal length', 'sepal width', 'petal length', 'petal width', 'class']
from pandas.api.types import is_numeric_dtype
print('\t Дундаж утга = %.2f' % data['sepal length'].mean())
2024-04-24 04:21:57
#include <iostream>
using namespace std;

int main(){
int N,t,i,j,min;
cin >> N >> t;
int arr[N];
for(int k = 0; k < N; k++){
cin >> arr[k];
}

for(int q = 0; q < t; q++){
cin >> i >> j;
min = arr[i];
for(int k = i; k <= j; k++){
if(min >= arr[k]){
min = arr[k];
}
}
cout << min << endl;
}
return 0;
}
2024-04-20 08:09:58
https://s.team/p/hhgj-thmv/jbwcmngb

Last edit: 2024-04-20 08:12:48
2024-04-17 09:30:12
#include <bits/stdc++.h>
using namespace std;
int main () {
int a,b,c,p;
cin>>a;
cin>>b;
cin>>c;
p=a+b+c;
cout<<p<<endl;
return 0;
}
.
2024-04-17 04:56:21
zll


Last edit: 2024-04-17 04:57:00
2024-04-16 09:30:49
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⡤⢤⠀⢀⣤⣶⣶⣶⣶⣶⣶⣦⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣶⣟⡻⠿⠃⣡⣾⣿⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⡀⠀⣠⣾⣿⣿⣩⣶⣶⣶⣛⣿⣿⣷⠤⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣷⣾⣿⣿⣿⣿⣿⣿⣿⣛⠙⠛⣻⣉⣦⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⣿⣿⣿⣿⣿⣿⣷⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣻⣿⣟⣾⢿⡃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠯⣄⣤⣭⣨⣤⣿⣿⣿⣿⣿⣿⣟⣿⣾⣿⣻⡞⣾⣗⣟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⣿⣿⣿⣿⣿⣿⣿⡿⢃⠃⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣻⣿⣿⣿⡤⣼⢿⣻⡟⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⣾⣿⣿⣿⣿⣿⣿⡿⡛⡁⠂⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⣿⣿⣭⣷⣿⢿⣻⡿⣿⡁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣴⣾⣿⣿⣿⢿⣿⣿⠟⢣⠀⢄⠆⠀⠀⠀⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣿⣿⣾⣿⡿⢋⣭⣶⢿⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⣴⣾⣿⣿⣟⣿⣿⠛⡮⢛⢩⡘⠠⠜⠁⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⣯⣟⣾⣿⣿⣿⢻⣷⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⣀⣤⣶⣿⣿⣿⣿⣿⣿⣿⣿⣻⣭⡢⠗⠒⠁⠁⠀⠀⠀⠀⠀⠀⠀⠀⠘⢿⣿⣿⣿⣿⣿⣯⣿⣿⣿⣿⡙⣿⣿⣷⠗⠉⠄⣼⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⣠⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣛⣯⡿⠊⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣠⣽⣿⣿⣿⣿⣾⣿⣿⣿⣿⣏⡝⣬⣙⠾⢬⣳⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢟⣿⣾⠟⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡯⠿⣏⡴⠔⡯⣅⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⣿⣿⣿⣿⣿⣿⡿⣿⢯⡿⣾⣽⣻⠟⠁⣀⣠⣤⣤⣄⣀⡀⠀⣀⣠⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⣦⣶⡧⡳⣸⣱⠋⠿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀
⣿⣿⣿⣿⢿⣯⢟⢯⡳⢿⣽⣿⣵⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢿⠿⣿⣹⣷⢻⡵⢩⠔⣠⢭⣷⣦⣄⡀⠀⠀⠀⠀⠀
⣿⣿⣿⣯⢿⣏⡾⣳⣽⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣹⡧⣱⣩⢖⣲⢿⣿⣿⢿⡿⣟⣷⣦⡀⠀⠀
⣿⡿⣷⣻⠳⣮⣵⣿⣿⣿⡿⣿⢿⣿⣿⣿⣿⣿⣿⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⢿⣽⣽⣷⣿⡿⣯⠿⣽⢾⣏⡻⣹⢛⡾⢿⣦⠀
⣿⡽⣣⢗⡿⣵⣿⣿⠻⡜⡱⢩⠞⣽⣻⢿⣿⣿⣿⣿⡿⣷⢿⣽⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢟⡛⢯⣻⣿⣿⣻⡞⣯⢝⡷⢛⡜⡻⢞⡵⣣⢋⡜⡩⢒⡅
⣯⢳⠙⣮⣿⣿⣿⡏⢳⡌⢡⠃⠛⣶⢹⡟⡞⣷⣿⣿⣿⣿⣿⣯⣿⢻⣽⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡍⣿⡜⣿⣿⣿⡇⢣⡜⢰⠉⢲⢡⠊⣵⢫⡜⢣⠋⡔⢡⠂⣶
⣏⡞⣵⣿⣿⣿⢯⡝⢢⠜⣄⢋⠖⣬⢳⢭⣓⠷⣟⣿⣿⣿⣿⣿⣿⣻⡽⣯⡿⣿⢿⡿⣿⢿⣿⡿⣿⢿⣟⣿⢣⠜⢲⠍⣿⢿⣯⠚⠤⠐⣀⠩⡀⢎⡘⢤⠢⡙⡌⣊⠱⢈⡐⠘
⣾⣽⣻⠿⡷⣏⠷⣎⣳⡜⣤⣫⣜⣖⣯⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⢿⣳⡿⣽⢯⡿⣝⣻⢞⡷⣻⠽⣞⣯⠓⣌⢲⡄⠼⣏⠾⣍⠒⠠⠀⠂⡌⠠⠐⢂⠱⡑⠢⠄⢃⠆⡤⣹
⣷⣣⣏⢿⣹⣞⣻⠽⣧⠿⣶⠗⠛⠋⠁⠘⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⢿⣽⣳⣻⣜⢧⡻⣼⢓⣻⠵⡯⠡⠄⢠⡗⢈⣾⣯⠯⡌⠁⠀⠁⠀⠂⠈⠀⠢⣁⠓⡨⠀⢮⣿⡏
⠷⠷⠾⠽⠶⠿⠜⠛⠋⠁⠀⠀⠀⠀⠀⠀⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣳⣯⢷⣭⣏⢷⣣⡛⣜⠯⠠⠁⠠⡣⡥⢘⣿⣾⣿⠔⣁⠀⠀⠀⠀⠀⠀⠑⡀⠣⠐⠁⣾⣿⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣽⣿⢶⣻⢮⡳⣝⡱⣉⠒⡀⠔⣻⡇⢴⣿⣿⣿⠽⡄⠀⠀⠀⠀⠀⠀⠀⢠⠁⠃⠀⡻⡇⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⣷⣛⡶⢣⠇⡒⢠⡘⣿⠁⢺⣿⣿⣯⡷⣌⠠⠀⠀⠀⠀⠀⢈⠆⡘⠀⢀⣯⡇⠀
2024-04-11 04:00:38
areishde ta hed niere
2024-04-11 02:49:28
#include <bits/stdc++.h>
using namespace std;
int main () {
int a,b,c,p;
cin>>a;
cin>>b;
cin>>c;
p=a+b+c;
cout<<p<<endl;
return 0;
} mai husleen hahah
2024-04-09 03:38:33
aavgu nonkuule


Last edit: 2024-04-09 03:39:19
2024-04-09 02:41:08
oniichan sempai


Last edit: 2024-04-09 02:41:39
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.