2017年9月29日

算法第四版学习笔记二(有趣的递归算法)

摘要: 3、public static int mystery(int a,int b){ if(b == 0) return 0; if(b % 2 == 0) return mystery(a+a, b/2); return mystery(a+a, b/2)+a; } 阅读全文

posted @ 2017-09-29 22:18 战侠歌sy 阅读(206) 评论(0) 推荐(0)

css常用移动端适配配置

摘要: *{ margin: 0; padding: 0; box-sizing: border-box; } img{ vertical-align: middle;/*图片设为垂直对齐*/ } a,a:active,a:focus,a:hover{/*a:active, 选择活动链接。 a:focus: 获得焦点的链接, 选择鼠标指针浮动在其上的元素*/ te... 阅读全文

posted @ 2017-09-29 16:34 战侠歌sy 阅读(387) 评论(0) 推荐(0)

导航