首页 > ACM题库 > HDU-杭电 > hdu 2226 Stars-待解决[解题报告]C++
2014
01-04

hdu 2226 Stars-待解决[解题报告]C++

Stars

问题描述 :

Many stars twinkling in the beautiful blue sky. The smart ACMer from earth, named Wiskey,sitting on a boat, thinking a stupid but hard problem: I want to use a balloon to contain all the stars in the sky, what’s the smallest radius of the ballon?

输入:

The input consists of multiple test cases. Each case begins with a line containing a positive integer n(2 <= n <= 10000), means the number of stars. Then following n lines each containing three positive integers (xi, yi, zi), indicates the coordinate of the i-th star in the sky.

输出:

The input consists of multiple test cases. Each case begins with a line containing a positive integer n(2 <= n <= 10000), means the number of stars. Then following n lines each containing three positive integers (xi, yi, zi), indicates the coordinate of the i-th star in the sky.

样例输入:

2
1 1 0
2 2 0

样例输出:

0.707

 


  1. bottes vernies blanches

    I appreciate the efforts you men and women place in to share blogs on such sort of matters, it was certainly useful. Keep Posting!