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.|

RGB7034 - 2 тооны дундаж

Өгөгдсөн 2 бодит  эерэг тооны арифметик болон геометр дунджийг ол.

Input

2 бодит тоо зайгаар тусгаарлагдан өгөгдөнө.

Output

Арифметик дундаж, геометр дундаж тоонуудыг зайгаар тусгаарлан таслалаас хойш 2 оронгийн нарийвчлалтай хэвлэ.

Example

Input:

3.5 12.47

Output:

7.99 6.61



Нэмсэн:Bataa
Огноо:2013-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-05-13 05:39:21
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main(){
double a,b;
cin>>a>>b;
cout<<fixed<<setprecision(2)<<(a+b)/2<<" "<<fixed<<setprecision(2)<<sqrt(a*b);
}
2024-01-16 07:23:09
#include <bits/stdc++.h>
using namespace std;
int main (){
double a, b, arif, geo;
cin >> a >> b;
arif = (a + b) / 2;
geo = sqrt(a * b);
printf("%.2f %.2f", arif, geo);

return 0;
}

2023-10-14 16:50:13
#include <stdio.h>
#include <math.h>

main()
{
float a,b;
scanf("%f%f",&a,&b);
printf("%.2f %.2f",(a+b)/2,sqrt(a*b));
}
2023-06-13 02:47:44
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main(){
double a,b;
cin>>a>>b;
cout<<fixed<<setprecision(2)<<(a+b)/2<<" "<<fixed<<setprecision(2)<<sqrt(a*b);
}
K
2022-11-20 03:26:49
swag like ohio
down like ohio
2022-08-13 13:26:03
using System;

namespace SpojRGB7
{
internal static class Program
{
static void Main()
{
string[] str = Console.ReadLine().Split(' ');
double a = double.Parse(str[0]);
double b = double.Parse(str[1]);
double ar = 0, gt = 0;
ar = Math.Round((a + b) / 2, 2);
gt = Math.Round(Math.Sqrt(a * b), 2);
Console.WriteLine(ar + " " + gt);

Console.ReadLine();
}
}
}
2022-04-04 11:01:52
1





































































































































111111111111111111111111


















































1
1
1
1
1
1
1
1
110
10
01
011
010
1
10
10
10
010
101
01
0
101
01
01
010
01
01
0
101
01
1
0
10
1
010
01
1
001
1
01001
10
0101
01
0
01
10
0101
01
0
01
0110
01
10
0
01
01
10
01
01
01
01
01
01
01
01100
101
01
0
11
01
00101
01
01
01
10
10
1001
10
10
10
1

0110
1
01
00
10
101
0
1
001

0101
0

10100
10
10
10101
00101010
0
1
01
01
01
010
10
1
01
0101001
0101010011010
0101

1
010
1
01
0
10
01
01
01o






















































1991
19
191
91
91
1
19
910
01
001
01
0110
01
01
01
01
011010
10
01
1
010
11
01
10
10
1
1
10
10
10
0
01
10
01
01
10
2022-01-16 16:36:19
#include<bits/stdc++.h>
using namespace std;
int main()
{
float a,b,c;
scanf("%f %f",&a,&b);
c=sqrt(a*b);
printf("%.2f %.2f",(a+b)/2,c);
return 0;
}
geometr dundjaa tseejleece huuhdude hhaahh
2021-12-18 10:50:28
ez enter geed bitgii huuruud bai enchin ugaasaa amarahan hench bodchin
2021-02-21 11:19:50
geometr dundaj gj yuwe
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.