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-11-15 04:29:09
from ultralytics import YOLO
model = YOLO("yolov8n.yaml") # build a new model from scratch

model = YOLO("yolov8n.pt") # load a pretrained model (recommended for training)

results = model.predict("https://ultralytics.com/images/bus.jpg") # predict on an image


result = results[0]

len(result.boxes)

box = result.boxes[0]


print("Object type:",box.cls[0])
print("Coordinates:",box.xyxy[0])
print("Probability:",box.conf[0])

cords = box.xyxy[0].tolist()
cords = [round(x) for x in cords]
class_id = result.names[box.cls[0].item()]
conf = round(box.conf[0].item(), 2)
print("Object type:", class_id)
print("Coordinates:", cords)
print("Probability:", conf)

for box in result.boxes:
class_id = result.names[box.cls[0].item()]
cords = box.xyxy[0].tolist()
cords = [round(x) for x in cords]
conf = round(box.conf[0].item(), 2)
print("Object type:", class_id)
print("Coordinates:", cords)
print("Probability:", conf)
print("---")

from PIL import Image
Image.fromarray(result.plot())

2023-11-15 02:56:06
gg
2023-11-13 12:34:53
#include <iostream>
using namespace std;

int main() {
long long a,b,c,d,e,i,n,f,r;
cin>>a>>b>>c;
d=a*b+a*(c-1)+(b-1)*(c-1);
cout <<d;
return 0;
}
2023-11-13 12:22:24
#include <iostream>
using namespace std;

int main() {
long long a,b,c,d,e,i,n,f,r;
cin>>a>>b>>c;
d=a*b+a*(c-1)+(b-1)*(c-1);
cout <<d;
return 0;
}
2023-11-13 12:19:34
#include <iostream>
using namespace std;

int main() {

int a,b,c;
cin>>a;
if(a%5==0){
cout<<a/5;
}
else
cout<<a/5+1;
return 0;
}
2023-11-04 10:31:23
goomoo tenges saraanaad sain
2023-11-03 04:27:00
#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;
}
2023-10-31 12:06:59
https://tetr.io/#LLGM
2023-10-31 12:06:36
https://tetr.io/#NNSY
2023-10-31 12:03:17
https://tetr.io/#HRWE
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.