标签:tput other color 假设 iss NPU BMI bottom ted
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 114710 Accepted Submission(s): 69944
1 #include<cstdio> 2 using namespace std; 3 int main() 4 { 5 int n; 6 7 while(scanf("%d",&n)!=EOF) 8 { 9 int x; 10 long long result = 1; 11 while(n--) 12 { 13 scanf("%d",&x); 14 if(x%2 !=0) 15 { 16 result *= x; 17 } 18 } 19 printf("%ld\n",result); 20 } 21 return 0; 22 }
标签:tput other color 假设 iss NPU BMI bottom ted
原文地址:https://www.cnblogs.com/knmxx/p/9288602.html