标签:color round for i++ ret 一个 problem otto esc
#include<stdio.h>
int main(){
int n,a[10],i,sum=1;
scanf("%d",&n);
for(i=0;i<n;i++)
scanf("%d",&a[i]);
for(i=0;i<n;i++){
if(a[i]%2!=0)
sum*=a[i];}
printf("%d",sum);
return 0;
}
Problem Description
标签:color round for i++ ret 一个 problem otto esc
原文地址:https://www.cnblogs.com/huoyuying/p/9733622.html