码迷,mamicode.com
首页 >  
搜索关键字:iii    ( 1515个结果
[LeetCode] 123. Best Time to Buy and Sell Stock III 买卖股票的最佳时间 III
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:其他好文   时间:2018-03-09 10:42:17    阅读次数:225
洛谷 P2590 树的统计 P3178 树上操作【树链剖分入门】
题目描述 一棵树上有n个节点,编号分别为1到n,每个节点都有一个权值w。 我们将以下面的形式来要求你对这棵树完成一些操作: I. CHANGE u t : 把结点u的权值改为t II. QMAX u v: 询问从点u到点v的路径上的节点的最大权值 III. QSUM u v: 询问从点u到点v的路径 ...
分类:其他好文   时间:2018-03-08 14:01:50    阅读次数:166
LOJ_6178_景区路线规划
LOJ_6178_景区路线规划 题意: 游乐园被描述成一张 nnn 个点,mmm 条边的无向图(无重边,无自环)。每个点代表一个娱乐项目,第 iii 个娱乐项目需要耗费 cic_ic?i?? 分钟的时间,会让小 y 和妹子的开心度分别增加 h1ih1_ih1?i?? , h2ih2_ih2?i?? ...
分类:其他好文   时间:2018-03-06 00:52:10    阅读次数:174
JavaScript幼儿园级1-100随机数运算
幼儿园级1-100随机数运算 实现目标 1.点击随机生成两个数并进项随机的四则运算。 2.答案暂时隐藏,等孩子做完题后点击答案处显示答案。 3.背景设置的卡通些,激发孩子阅读兴趣...........T T。 一、截图展示(此展示位HTML页面) I 开始: II 生成随机数运算: III 显示结果 ...
分类:编程语言   时间:2018-03-05 23:32:20    阅读次数:219
[LeetCode] 248. Strobogrammatic Number III 对称数III
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Write a function to count the total strobog ...
分类:其他好文   时间:2018-03-02 10:23:38    阅读次数:159
[HTML5] Inlining images with SVG and data URIs
The main reason you want to do I"nlining images with SVG and data URIs" is to reduce http request. If you doing "Inlining images with SVG and data URI ...
分类:Web程序   时间:2018-02-26 21:53:51    阅读次数:332
二分图最大匹配模板【匈牙利;Dinic最大流】
二分图最大匹配模板【匈牙利;Dinic最大流】 匈牙利算法 int n,m; vector map[100010]; int match[100010];//保存匹配的互相点 bool vis[100010]; bool dfs(int u) { for(int j=0;j n m e; for(i ...
分类:其他好文   时间:2018-02-21 22:22:04    阅读次数:191
Spoj GSS3 - Can you answer these queries III
题目描述 You are given a sequence A of N (N <= 50000) integers between -10000 and 10000. On this sequence you have to apply M (M <= 50000) operations:modi ...
分类:其他好文   时间:2018-02-21 15:49:03    阅读次数:170
【easy-】437. Path Sum III 二叉树任意起始区间和
You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need t ...
分类:其他好文   时间:2018-02-17 20:30:41    阅读次数:209
【easy】437. Path Sum III 二叉树任意起始区间和
You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a given value. The path does not need t ...
分类:其他好文   时间:2018-02-17 20:30:08    阅读次数:216
1515条   上一页 1 ... 57 58 59 60 61 ... 152 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!