MAX NUM
#include<stdio.h>
#include<algorithm>
using namespace std;
int main( )
{
int t,i,N;
double A[10000];
scanf("%d",&N);
while(N--)
{
scanf("%d",&t);
for(i=0;i<t;i++)
scanf("%lf",&A[i]);
sort(A,A+t);
printf("%.2lf\n",A[t-1]);
}
return 0;
}
posted on 2011-04-29 22:24 more think, more gains 阅读(147) 评论(0) 收藏 举报
浙公网安备 33010602011771号