• Two Sum

    Two Sum Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums...

    2019-08-16 07:49:10 iOSPSmacAVHTTPS<theCOMHTTPexit

  • [leetcode]不同路径三连击~

    [leetcode]不同路径三连击~ 题目 不同路径 1 一个机器人位于一个 m x n 网格的左上角 (起始点在下图中标记为“Start” )。 机器人每次只能向下或者向右移动一步。机器人试图达到网格的右下角(在下图中标记为“Finish”)。 问总共有多少条不同的路径? 输入说明 例...

    2019-08-16 07:49:05 PS<代码使用数组时间示例分析记录POST

  • Add Two Numbers

    Add Two Numbers Add Two Numbers You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked lis...

    2019-08-16 07:49:05 iOSPSmacHTTPS<theCOMHTTPgit执行

  • C++数据类型(data type)介绍

    C++数据类型(data type)介绍 在编写程序时,数据类型(data type)定义了使用存储空间的(内存)的方式。 程序员通过定义数据类型(data type),告诉特定存储空间这里要存储的数据类型是什么,以及你即将操作他的方式。(注:存储空间有:堆存储,栈,静态存储等,...

    2019-08-16 07:49:04 定义用户3kIEC++代码程序员关键字无法使用

  • 洛谷 P2894 [USACO08FEB]酒店Hotel

    洛谷 P2894 [USACO08FEB]酒店Hotel 目录 题目 思路 $Code$ 题目 戳 思路 $BSS$ $Code$ #includeiostream#includecstring#includestring#includealgorithm#includecstdio#define MAXN 500001using namespace std;int n,m;struct node{ int l,r,lmax,maxx,rmax,len,lazy;...

    2019-08-16 07:49:01 iOS酒店<思路POST

  • [LOJ6198] 谢特

    [LOJ6198] 谢特 之乎者助得甚? 给定字符串 \(s\) 和序列 \(w\) ,试求 \[\max_{1\le ij\le n} lcp(i,j)+(w_i\veebar w_j)\] 似乎这样的东西都能很好的用SA(height)+启发式合并来完成? 可以联系这题思考。 #include bits/stdc++.husing namespace std;const int N=1e5...

    2019-08-16 07:48:57 C++<WAP字符串breakPOST字符Span

  • VC++ 窗口透明化及透明窗口上绘画、截图、轨迹

    VC++ 窗口透明化及透明窗口上绘画、截图、轨迹 源文件:https://files.cnblogs.com/files/MrFengD/Temp.rar...

    2019-08-16 07:48:55 文件PSC++HTTPSVC++COMHTTPPOSTem

  • P1018 乘积最大(DP)

    P1018 乘积最大(DP) 题目 P1018 乘积最大 解析 区间DP 设 \(f[i][j]\) 表示选 \(i\) 个数,插入 \(j\) 个乘号时的最大值 设 \(num[i][j]\) 是 \(s[i,j]\) 里的数字 转移方程就是 \(f[i][k] = max(f[i][k], f[j][k - 1] * num[j + 1][i])\) \(i\) 为当前区间长度, \(j\...

    2019-08-16 07:48:51 C++<代码gitPOST插入长度emSpaninput

  • luogu1368 工艺

    luogu1368 工艺 题目链接 思路 \(SAM\) 练手题,将原串重复一遍插入到 \(SAM\) 中,然后贪心走长度为n的一个路径即可。 不用担心会直接走到终点,根据 \(SAM\) 的构造方式可以发现会先走到前面的路径。 代码 /** @Author: wxyww* @Date: 2019-07-11 11:09:25* @Last Mo...

    2019-08-16 07:48:49 IEiOStim<代码方式思路POST插入长度

  • C语言实现-航空订票系统(飞机订票系统)

    C语言实现-航空订票系统(飞机订票系统) 开发环境:CodeBlocks 开发语言:C 实现功能:登录,订票,退票 数据存储:文本读写 涉及文件: ? 相关文件下载: 码云:传送门 程序主界面: ? 源码如下: 1 #include stdio.h 2 #include stdlib.h 3 #include string .h 4 #i...

    2019-08-16 07:48:28 文件ESETtxtword用户360系统PS身份证keep