摘要: html页面: <div class="box start_3_1" title="点击翻面"> <img src="images/bg1.jpg" alt="纸牌正面" class="list flip" /> <img src="images/1.jpg" alt="纸牌背面" class="l 阅读全文
posted @ 2017-08-12 21:27 yfceshi 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST. According to the definition of LCA on Wikipedia 阅读全文
posted @ 2017-08-12 20:24 yfceshi 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 3675: [Apio2014]序列切割 Time Limit: 40 Sec Memory Limit: 128 MB Submit: 1468 Solved: 607 [Submit][Status][Discuss] Description 小H近期迷上了一个分隔序列的游戏。在这个游戏里。小H 阅读全文
posted @ 2017-08-12 19:49 yfceshi 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 整理一下计算机网络部分的面试常考点,參考书籍:《计算机网络》第五版 谢希仁的那本,希望对大家有所帮助 OSI,TCP/IP,五层协议的体系结构,以及各层协议 OSI分层 (7层):物理层、数据链路层、网络层、传输层、会话层、表示层、应用层。 TCP/IP分层(4层):网络接口层、 网际层、运输层、 阅读全文
posted @ 2017-08-12 18:37 yfceshi 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 题意: 一段区间a一開始是1、2、3、4……n这种 每次1操作能够将[l,r]覆盖成x 同一时候得到abs(a[i]-x)的价值 2操作查询[l,r]的价值 思路: 线段树 又是一道加深线段树理解的题 操作2是简单的求和 线段树基本操作 难点在操作1 用cov表示该区间的值(假设为0说明是混合区间) 阅读全文
posted @ 2017-08-12 18:06 yfceshi 阅读(126) 评论(0) 推荐(0) 编辑