[恢]hdu 2006
2011-12-12 03:53:00
地址:http://acm.hdu.edu.cn/showproblem.php?pid=2006
题意:中文题
代码:
# include <stdio.h>
int main ()
{
int n, num, mul ;
while (~scanf ("%d", &n))
{
mul = 1 ;
while (n--)
{
scanf ("%d", &num) ;
if(num&1) mul*=num ;
}
printf ("%d\n", mul) ;
}
return 0 ;
}