Codeforces Round #431 (Div. 2) A
来源:互联网 发布:芒果tv电视直播软件 编辑:程序博客网 时间:2024/05/22 02:20
题目:http://codeforces.com/contest/849/problem/A
题意:
代码:
#include <bits/stdc++.h>using namespace std;int a[105];int ans;int main(){ int n; scanf("%d",&n); for(int i = 1; i <= n; i ++) scanf("%d",&a[i]); if(n % 2 == 0) printf("No\n"); else { if(a[1]%2==0 || a[n]%2==0) printf("No\n"); else printf("Yes\n"); } return 0;}
阅读全文
0 0
- Codeforces Round #431 (Div. 2) A
- Codeforces Round #431 (Div. 2) A Odds and Ends
- Codeforces Round #431 (Div. 2) A. Odds and Ends
- Codeforces Round #431 (Div. 2) A B C
- Codeforces Round #431 (Div. 2) A. Odds and Ends 题解
- Codeforces Round #431 (Div. 2) A B C D E
- Codeforces Round #131 (Div. 2) A B
- Codeforces Round #174 (Div. 2) Problem A
- Codeforces Round #173 (Div. 2) A.Bit++
- Codeforces Round #181 (Div. 2) A题
- Codeforces Round #184 (Div. 2) A题
- Codeforces Round #185 (Div. 2)--A,B
- Codeforces Round #172 (Div. 2) A题
- Codeforces Round #166 (Div. 2) A题
- Codeforces Round #132 (Div. 2) A题
- Codeforces Round #131 (Div. 2) A题
- Codeforces Round #133 (Div. 2) A题
- Codeforces Round #137 (Div. 2) A题
- Python爬虫----12306火车票余票查询器
- python调用C++,并在C++代码执行时,实时返回信息到pyqt的控件上显示
- Oracle优化——星型联结转换(star_transformation_enabled)
- 交替最小二乘法
- 如何在 Linux 系统启用 UEFI 的 Secure Boot
- Codeforces Round #431 (Div. 2) A
- Java编程题目-15:反转Int型数字
- 解决含有 TabbarVC的 UIViewController 在 NavigationViewController显示时变换的问题
- 使用wireshark工具理解TCP(1)三次握手
- How to Fix Signature Verification Failures Caused by Invalid PointerToRawData Field Values
- NB-IoT --- 引爆物联网应用?
- 【九度OJ】1200:最大的两个数
- js上传图片进行预览
- Oracle优化——如何查看语句的准确的执行计划(explain plan可能不是真实的)