Uzb Eng

C27G. Ogirlik markazi
: 2 c
: 64

3 olchamli koordinatalar sistemasida N ta uchga ega bolgan kopburchak berilgan. Shu kopburchakning ogirlik markazini toping.

:
Birinchi qatorda bitta butun son N (1 N 100000), keyingi N ta qatorda kopburchakning i uchining koordinatasi xi, yi, zi shaklida berilgan;
Barcha kiruvchi malumotlar musbat va moduli 106 dan oshmaydi.

:
3 ta haqiqiy son, X, Y, Z kopburchakning ogirlik markazini 10-2 aniqlikda chiqaring.

5
4 2 5
1 3 5
4 2 5
0 2 1
9 2 10
3.60 2.20 5.20
:
: Sunnat


Design by TUIT © 2012-2017 TUIT Online Judge. All rights reserved.