266A - Stones on the Table
来源:互联网 发布:德国淘宝 编辑:程序博客网 时间:2024/05/21 07:02
n=Integer(gets.chomp)s=gets.chomp.split("")ans=0until n==0 if s[n]==s[n-1] ans+=1 end n-=1endputs ans
0 0
- CF - 266A - Stones on the Table
- CodeForces 266A Stones on the Table
- CodeForces-266A-Stones on the Table
- 266A - Stones on the Table
- 266A - Stones on the Table
- CodeForces 266A Stones on the Table
- CF 266A Stones on the Table
- codeforces 266A Stones on the Table
- A. Stones on the Table
- Problem--266A--Codeforces--Stones on the Table
- 小白题解 Codeforces 266A Stones on the Table
- codeforces 266A(Stones on the Table) Java
- CodeForces 266 A.Stones on the Table(水~)
- A - Stones on the Table (hdu)
- Stones on the Table
- Stones on the Table
- coderforces Stones on the Table
- codeforces 266A Stones on the Table(模拟水题)
- DOM中修改内容和创建节点
- ibatis插入数据返回ID的方法
- 省赛来了(组合数)nyoj158
- javaScript BOM事件的应用
- 第二节 MongoDB基本命令用
- 266A - Stones on the Table
- ibatis插入CLOB字段
- HDOJ 题目2111Saving HDU(贪心)
- ibatis快速入门(二)
- jbpm4.4环境搭建
- UIView按钮代码优化
- 面试的常见问题回答方法之我见
- Linux中npm出现npmlog找不到的解决方法
- ibatis中井号跟美元符号区别(#、$)