上一页 1 ··· 310 311 312 313 314 315 316 317 318 ··· 411 下一页
摘要: Problem Description The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit the 阅读全文
posted @ 2017-06-15 20:38 yjbjingcha 阅读(142) 评论(0) 推荐(0)
摘要: 对View事件传递的理解。看的这篇。 对事件传递有了大致的了解。onInterceptTouchEvent 函数决定是否将事件拦截,拦截之后,该控件的全部子控件接收不到这个事件。onTouchEvent 函数推断是否消费此事件,在父控件把事件传递到子控件的过程中,假设都没有拦截,那么消息会传递究竟层 阅读全文
posted @ 2017-06-15 19:30 yjbjingcha 阅读(160) 评论(0) 推荐(0)
摘要: 【096-Unique Binary Search Trees(唯一二叉搜索树)】 【LeetCode-面试算法经典-Java实现】【全部题目文件夹索引】 原题 Given n, how many structurally unique BST’s (binary search trees) tha 阅读全文
posted @ 2017-06-15 19:19 yjbjingcha 阅读(347) 评论(0) 推荐(0)
摘要: 笛卡尔坐标系,WP中的D3D使用左手坐标系 UI坐标系 设置和获取坐标: Node类的setAnchorPoint设置锚点,setPosition设置相对位置。 getVisibleSize获取可视区域大小 getVisibleOrigin获取可视区域起点 getWinSize 坐标转换: conv 阅读全文
posted @ 2017-06-15 18:38 yjbjingcha 阅读(92) 评论(0) 推荐(0)
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=1518 题目为: Square Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Tot 阅读全文
posted @ 2017-06-15 18:05 yjbjingcha 阅读(145) 评论(0) 推荐(0)
摘要: 《Unix编程艺术》读书笔记(1) 这两天開始阅读该书,以下是自己的体会,以及原文的摘录,尽管有些东西还无法全然吃透。 写优雅的代码来提高软件系统的透明性:(P134) Elegance is a combination of power and simplicity. Elegant code d 阅读全文
posted @ 2017-06-15 18:02 yjbjingcha 阅读(148) 评论(0) 推荐(0)
摘要: package main import ( "fmt" "io" "net/http" ) func main() { http.HandleFunc("/", route) e := http.ListenAndServe(":80", nil) if e != nil { fmt.Println 阅读全文
posted @ 2017-06-15 17:22 yjbjingcha 阅读(149) 评论(0) 推荐(0)
摘要: Vim技巧之四大模式_插入模式 在插入模式中及时更正错误 插入-普通模式 在插入模式模式以下直接粘贴指定寄存器的内容 插入模式中做运算 用字符编码插入很常使用字符 替换已有的文本 Vim技巧之四大模式_插入模式 在前面的文章《Vim技巧之四大模式_普通模式》中我们提到过四大模式之中的一个的普通模式, 阅读全文
posted @ 2017-06-15 16:39 yjbjingcha 阅读(631) 评论(0) 推荐(0)
摘要: 这是依据翔神那篇高仿微信图像截取改的 能够先去看 Android 高仿微信头像截取 打造不一样的自己定义控件 这篇文章。 眼下还有个小问题。就是截取成圆形图片之后 会有黑色的边框填充。不知道怎么解决。知道怎么解决的大神麻烦告知一声。 改动ClipImageBorderView @Override p 阅读全文
posted @ 2017-06-15 16:27 yjbjingcha 阅读(345) 评论(0) 推荐(0)
摘要: 题目例如以下: Excel can sort records according to any column. Now you are supposed to imitate this function. Input Each input file contains one test case. F 阅读全文
posted @ 2017-06-15 15:43 yjbjingcha 阅读(132) 评论(0) 推荐(0)
上一页 1 ··· 310 311 312 313 314 315 316 317 318 ··· 411 下一页