Fork me on GitHub
摘要: Count the number of segments in a string, where a segment is defined to be a contiguous sequence of non-space characters. Please note that the string 阅读全文
posted @ 2017-06-12 20:17 hellowOOOrld 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Given n points in the plane that are all pairwise distinct, a "boomerang" is a tuple of points (i, j, k) such that the distance between iand j equals 阅读全文
posted @ 2017-06-12 10:05 hellowOOOrld 阅读(179) 评论(-1) 推荐(0) 编辑