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

6952번 - Millikan's Oil Droplet Experiment 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB422100.000%

문제

Millikan's famous Oil Droplet Experiment showed that electrical charge is quantized; that is that the electrical charge on any object is the sum of a number of elementary electrical charges. The electron is the most common subatomic particle that carries a single elementary electrical charge.

Millikan's experiment involved measuring the charge on several oil droplets, and showing that each charge was a multiple of some smaller charge. Your friend, the physics enthusiast, has to reproduce Millikan's experiment. She has looked after constructing the apparatus and taking the measurements. Her measurements are pretty good for what can be achieved in a high school laboratory: the maximum error on any given measurement is $\pm 1\%$.

Given the measurements as input, your program must find the maximum possible value for the elementary charge consistent with the measurements. That is, each measurement, plus or minus an error of 1ドル\%$ or less, must be a multiple of the elementary charge.

입력

The input contains an integer $n$ $(1 \le n \le 100),ドル the number of oil droplets. This is followed by $n$ real numbers on a single line; these represent the charge measured on each droplet.

출력

The output should be a single number, the maximum possible elementary charge, correct to 4ドル$ decimal places.

제한

예제 입력 1

3
3.01 5.93 12.07

예제 출력 1

2.9947

힌트

출처

Olympiad > Canadian Computing Competition & Olympiad > 2000 > CCO 2000 5번

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

출처

대학교 대회

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

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