随笔分类 - 数据结构
摘要:最开始是打算以LCA作为第三篇算法整理的,但是由于学习LCA时发现自己的RMQ学习的不够扎实,所以先复习一下RMQ。本文感谢队友某淞的学习笔记。 最初看到RMQ模板的时候感觉好高端,感觉里面的各种数组,位移运算非常复杂。所以对于任何算法的学习我觉得都要分为以下的几步进行: 1、了解这种算法能解决什么
阅读全文
摘要:Frequent values Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 15880 Accepted: 5778 Description You are given a sequence of n integers a1
阅读全文
摘要:Apple Tree Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 23212 Accepted: 7050 Description There is an apple tree outside of kaka's house.
阅读全文
摘要:Stars Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 39786 Accepted: 17265 Description Astronomers often examine star maps where stars are
阅读全文
摘要:Mobile phones Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 17421 Accepted: 8049 Description Suppose that the fourth generation mobile ph
阅读全文

浙公网安备 33010602011771号