• c++ vector容器

    c++ vector容器 Posted on 2019-07-23 00:08 llaaaa 阅读( ... ) 评论( ... ) 编辑 收藏 https://www.runoob.com/w3cnote/cpp-vector-container-analysis.html...

    2019-08-16 07:53:03 IEPSC++HTTPSHTMLCOMHTTP收藏POSTSpan

  • 莫队算法例题,模板及小结

    莫队算法例题,模板及小结 【莫队算法详解及例题[BZOJ]2038 小Z的袜子https://www.cnblogs.com/hzf-sbit/p/4056874.html 及知乎https://zhuanlan.zhihu.com/p/25017840(有例题)】 以上是弱渣的学习过程,及参考的大神博客和知乎,以下是做到的题目 G - XOR and Favori...

    2019-08-16 07:52:56 IEiOSPS知乎AVHTTPS<HTMLNETthe

  • Matrix Cells in Distance Order

    Matrix Cells in Distance Order Matrix Cells in Distance Order We are given a matrix with R rows and C columns has cells with integer coordinates (r, c), where 0 = r R and 0 = c C.Additionally, we are given a cell in that matrix with coordinates (r0,...

    2019-08-16 07:52:25 IEiOSPSmacHTTPS<theCOMHTTPexit

  • 【并查集】模板 + 【HDU 1213、HDU 1232、POJ 2236、POJ 1703】

    【并查集】模板 + 【HDU 1213、HDU 1232、POJ 2236、POJ 1703】例题详解 不想看模板,想直接看题目的请戳下面目录: 目录: HDU 1213 How Many Tables【传送门】 HDU 1232 畅通工程 【传送门】 POJ 2236 Wireless Network 【传送门】 POJ 1703 Find them, Catch them...

    2019-08-16 07:51:58 IEiOSPS电脑HTTPS<NETthe.NET代码

  • Median of Two Sorted Arrays

    Median of Two Sorted Arrays Median of Two Sorted Arrays There are two sorted arrays nums1 and nums2 of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).You may assume nums1 an...

    2019-08-16 07:51:53 iOSPSmactimHTTPS<theCOMHTTPexit

  • 洛谷P1330 封锁阳光大学

    洛谷P1330 封锁阳光大学 题目链接:https://www.luogu.org/problemnew/show/P1330 思路: 参考过大佬的思路 (这句话是写给那些杠精看的,其他看解析的忽略) ,第一次用染色思想写题。提取题目的关键: (1)一条边相连的点只至少有一个被占领。 (2)相邻两个点不能...

    2019-08-16 07:51:12 黑白IEiOSPSHTTPS<代码HTTP程序break

  • Relative Sort Array

    Relative Sort Array Relative Sort Array Given two arrays arr1 and arr2, the elements of arr2 are distinct, and all elements in arr2 are also in arr1.Sort the elements of arr1 such that the relative ordering of items in arr1 are the same as in arr2....

    2019-08-16 07:51:08 iOSPSmacHTTPS<the字符串COMHTTPexit

  • Longest Substring Without Repeating Characters

    Longest Substring Without Repeating Characters 3.Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. Example 1: Input: abcabcbbOutput: 3 Explanation: The answer is abc...

    2019-08-16 07:50:18 YYiOSPSmacHTTPS<theCOMHTTPexit

  • kuangbin专题专题四 Frogger POJ - 2253

    kuangbin专题专题四 Frogger POJ - 2253 题目链接:https://vjudge.net/problem/POJ-2253 思路: 从一号到二号石头的所有路线中,每条路线中都个子选出该路线中两点通路的最长距离,并在这些选出的最长距离选出最短路的那个距离X, 就是青蛙距离,即青蛙至少能跳X米,...

    2019-08-16 07:50:01 IEiOSPSHTTPS<NET.NET代码HTTP维护

  • 小计C++中的引用和vector

    小计C++中的引用和vector 声明引用的同时 必须对其初始化 ,否则系统会报错,所以我们是无法这样使用 vectorint vec; 这条语句会报错,同时引用不是定义一个新的变量或对象,因此 内存不会为引用开辟新的空间存储这个引用 而vector将无法开辟存储空间。 参考博客: htt...

    2019-08-16 07:49:32 定义系统PSC++HTTPS<HTML对象COMHTTP