#include <stdio.h>
int main()
{
int a,n;
int t=1;
while(scanf("%d",&a)!=EOF){
while(a-->=1){
scanf("%d",&n);
if(n%2!=0){
t=t*n;
}
}printf("%d\n",t);
t=1;
}
return 0;
}
求奇数的乘积
最新推荐文章于 2023-04-05 11:16:29 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)