codeforces 560A【python】
来源:互联网 发布:mysql错误1054 编辑:程序博客网 时间:2024/04/29 22:31
只要判断list里面有没有1即可
n = int(raw_input())line = map(int,raw_input().split())if 1 in line: print -1else: print 1
阅读全文
0 0
- codeforces 560A【python】
- codeforces 570A【python】
- codeforces 719A 【python】
- codeforces 731A【python】
- codeforces 151A【python】
- codeforces 651A python
- CodeForces 560A
- Codeforces 560A
- CodeForces 560A(货币系统)
- CodeForces 560A,B,C
- Review of Codeforces 5A and 5B(Python)
- Review of codeforces 484A Bits based on python
- CodeForces-a
- Codeforces 903A A
- codeforces 560 A. Currency System in Geraldion
- CodeForces 560A Currency System in Geraldion
- CodeForces 560A Currency System in Geraldion
- CodeForces 560A Currency System in Geraldion
- C++ 类的初始化列表
- cmd页面的大小
- 关于bits
- HTML测试(w3school)
- Python基础检测:20171105
- codeforces 560A【python】
- openwrt增加密码及ssh的方法
- LeetCode 657 Judge Route Circle 判断路线圈
- Matlab isfield
- 综合模拟1
- 自定义view--阶梯式
- XListview
- MVP+RxJava+Retrofit
- 百度页面