UVa 10176 Ocean Deep ! - Make it shallow !! (模性质)
来源:互联网 发布:unity3d自动寻路插件 编辑:程序博客网 时间:2024/06/18 09:45
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=1117
思路和UVa 11344是一样的,只不过那题是10进制,这题是2进制。
完整代码:
/*0.019s*/#include<cstdio>int main(){int mod;char ch;while (~(ch = getchar())){mod = ch & 15;while ((ch = getchar()) != '#'){if (ch == 10) continue;mod = ((mod << 1) + (ch & 15)) % 131071;}puts(mod ? "NO" : "YES");getchar();}return 0;}
- UVa 10176 Ocean Deep ! - Make it shallow !! (模性质)
- uva 10176 ocean deep make it shallow
- UVa 10176 - Ocean Deep ! - Make it shallow !!
- shallow & deep copy
- Shallow vs. deep copy
- Deep copy & Shallow copy
- Shallow copy & Deep copy
- Shallow vs. deep copying
- Deep Copy and Shallow Copy
- deep copy vs shallow copy
- Deep Copy VS Shallow Copy
- Deep Learning and Shallow Learning
- Deep Learning and Shallow Learning
- Deep Learning and Shallow Learning
- Shallow Copy and Deep Copy
- shallow copy and deep copy
- Shallow Copy与Deep Copy
- Deep Learning and Shallow Learning
- Bhattacharyya距离
- 问题排查之OOM 之 mina java.lang.OutOfMemoryError(转)
- IOS学习笔记---collections
- 关于虚拟机中开vmnet1(host)后pc不能上网的问题解决
- jQuery动画高级用法(上)——详解animation中的.queue()函数
- UVa 10176 Ocean Deep ! - Make it shallow !! (模性质)
- 深入理解CSS盒子模型
- MobaXterm
- 数组,行列互换
- 生动详细解释javascript的冒泡和捕获,包懂包会
- SQL中的CASE WHEN使用 .
- 编译魔趣开源代码android4.3.3
- Pig安装及本地模式测试,体验
- 各种声明