Main
  About Cybernetics
  Olympiad Regulations
  Olympiad History
 
  • Photo
  • Video



  •   Examples of Tasks
      Organizing Committee
      Current Olympiad
     
  • Teams Registration
  • Participants
  • Olympiad Results

  • Login:

    Password:

     
     RUS / ENG
        News
     
    Task 2009-7. “Ideal Cheese”


    In a secrete factory an absolutely proper cheese with holes is produced. The holes in the proper cheese are ideal spheres. The cheese is produced by large cubes, cut into smaller cubes and sent into the market. It is necessary that the mass center is in the exact geometrical center of the cube, otherwise the cheese is not ideal. 5% deviation of the edge length is acceptable.

    Task. Find coordinates of the mass center of the cheese cube assuming that its edges are in parallel with the axes and the geometrical center is in the origin of the coordinates.

    Streams. Input stream contains a real number l — cube’s edge length; integer n ; quantity of holes (less than 16); real numbers xi, yi, zi — coordinates of center of each hole and a real number Ri — radius of each hole. Output stream should contain three real numbers with accuracy up to 2 signs after the decimal point divided by spaces.

    Example
    Input stream:
    40 3
    3 15 2 4
    10.2 13 15 4
    5 5.5 5.8 2
    Output stream:
    -0.06 -0.12 -0.07

     
       
    19.02.2013 17:19
     
    Cyber XIV. Results of Distance Session of Olympiad . . . -->

    21.01.2013 15:59
     
    Key for a training session . . . -->

    29.02.2012 12:41
     
    Video of the Olympiad . . . -->

    29.02.2012 12:12
     
    The results of Main Session of Olympiad on Cybernetics . . . -->

    News archive
     
    Back to news archive -->


    Today visitings: 77
    All visitings: 810461
    Web ststistics: