hdu 2105

#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
    double a,b,c,d,e,f,t;
    while(cin>>t){
            if(t==0)  break;
    else {
    while(t--)
    {
        cin>>a>>b>>c>>d>>e>>f;
        printf("%.1lf %.1lf\n",(a+c+e)/3.0,(b+d+f)/3.0);
    }}}
    return 0;
}

posted @ 2014-12-17 11:34  __夜风  阅读(127)  评论(0编辑  收藏  举报