随笔分类 -  二分查找

摘要:用贪心判断当前个数是否成立, 然后二分查找搜答案 阅读全文
posted @ 2019-07-22 17:01 YuKi_hahaha 阅读(227) 评论(0) 推荐(0)
摘要:The SUM problem can be formulated as follows: given four lists A,B,C,D of integer values, compute how many quadruplet (a,b,c,d) ∈ A×B×C×D are such tha 阅读全文
posted @ 2019-06-09 21:32 YuKi_hahaha 阅读(216) 评论(0) 推荐(0)