杭电2006

#include<stdio.h>
int main(){
	int n,i,t,sum;
    while(~scanf("%d",&n)){
        sum=1; 
    	for(i=1;i<=n;i++){
    		scanf("%d",&t);
    		if(t%2){
    			sum*=t;
			}
		}
		printf("%d\n",sum);
	}
	return 0;
}
上一篇:2021-05-24


下一篇:applicationContext.xml配置详解