Open the Lock
来源:互联网 发布:网络语苏是什么意思 编辑:程序博客网 时间:2024/06/14 06:11
题目链接:https://vjudge.net/contest/176287#problem/A
题意:Each time, you can add or minus 1 to any digit. When add 1 to ‘9’, the digit will change to be ‘1’ and when minus 1 to ‘1’, the digit will change to be ‘9’. You can also exchange the digit with its neighbor. Each action will take one step.
心得:看代码吧,看得别人的。
阅读全文
0 0
- hdu1195 Open the Lock
- hdu1195 Open the Lock
- hdu1195 Open the Lock
- Bfs++ open the lock
- hdu1195 Open the Lock
- hdu1195-Open the Lock
- HDU1195 Open the Lock
- Open the Lock
- HDU1195 Open the Lock
- Open the Lock
- hdu1195 Open the Lock
- HDU1195---Open the Lock
- HDOJ1195 Open the Lock
- Open the Lock
- Open the Lock
- (HDU)Open the Lock
- HDU1195-Open the Lock
- Open the Lock HDU
- Shiro的使用详解(干货)
- 读取Excel数据截断问题
- 如何成为全栈工程师,这些技能是你必须具备的!
- 【CodeForces】598D
- 饭卡
- Open the Lock
- python matplotlib 画dataframe的时间序列图
- 第一章 linux redhat(centos7) 目录结构
- mybatis入门 ---1
- sizeof的使用总结
- PAT乙级1001. 害死人不偿命的(3n+1)猜想 (15)
- Code Lock(并查集 + 快速幂)
- 进制表示 & 文件权限解读
- IDE控制台打印代码链接