Logo
(追記) (追記ここまで)

25991번 - Lots of Liquid 스페셜 저지다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 (추가 시간 없음) 2048 MB1602105495966.829%

문제

You work at a warehouse that sells chemical products, where somebody just placed an order for all the Boron Acetate Phosphoric Carbonate (BAPC) that you have in store. This liquid is stored in many separate lots, in cube-shaped containers, but your client requires the order to be delivered in a single cube-shaped container that fits all the BAPC liquid perfectly. What should be the size of this container?

입력

The input consists of:

  • One line with an integer $n$ (1ドル\leq n\leq 10^5$), the number of cube-shaped containers that you have in store.
  • One line with $n$ floating-point numbers $c$ (1ドル\leq c\leq 10^9$), the length of one of the sides for each of these containers.

출력

Output the length of one of the sides of the cube-shaped container that will contain all the BAPC liquid.

Your answer should have an absolute or relative error of at most 10ドル^{-6}$.

제한

예제 입력 1

3
21 28 35

예제 출력 1

42

예제 입력 2

3
22.10 2022 1337

예제 출력 2

2200.6131345362505

예제 입력 3

3
1.41421356 2.718281828 3.1415926535

예제 출력 3

3.777901284526486

힌트

출처

ICPC > Regionals > Europe > Northwestern European Regional Contest > Benelux Algorithm Programming Contest > BAPC 2022 Preliminaries L번

  • 문제를 만든 사람: Maarten Sijm
(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /