[恢]hdu 2078
2011-12-30 16:59:50
地址:http://acm.hdu.edu.cn/showproblem.php?pid=2078
题意:中文,不说了。其实和m没关系。
代码:
# include <stdio.h>
int main ()
{
int T, i, n, m, a, min ;
scanf ("%d", &T) ;
while (T--)
{
scanf ("%d%d", &n, &m) ;
min = 100 ;
for (i = 0 ; i < n ;i++)
{
scanf ("%d", &a) ;
if (a < min) min = a ;
}
printf ("%d\n", (100-min)*(100-min)) ;
}
return 0 ;
}