码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
HDU - 4348 To the moon
题目大意:主席树的加减区间更新。 思路:lazy标记搞一搞,注意不需要push_down,写的时候push_up忘了加上自己的lazy疯狂WA。。。 ...
分类:其他好文   时间:2018-02-25 15:50:40    阅读次数:157
[BZOJ4556][TJOI2016&&HEOI2016]字符串
[bzoj][1] [luogu][2] sol 我不得不说这道题很码。。。 求$lcp$的话当然先来一发后缀数组+ST表。 可以二分一个答案$mid$,可知序列中与$c$的$lcp$大于等于$mid$的后缀肯定是$Rank$上的连续一段。 再二分一下找出这一段的左端点和右端点,设为$[up,dow ...
分类:其他好文   时间:2018-02-24 22:03:32    阅读次数:251
找出k个数相加得n的所有组合
Find all possible combinations of k positive numbers that add up to a number n,each combination should be a unique set of numbers. ...
分类:其他好文   时间:2018-02-24 20:45:26    阅读次数:233
CF898A Rounding
题意翻译 给你一个数字,将其“四舍六入”,末尾为5舍去或进位都可,求最终的数字。 题目描述 Vasya has a non-negative integer n n n . He wants to round it to nearest integer, which ends up with 0 0 ...
分类:其他好文   时间:2018-02-24 13:13:13    阅读次数:174
mysql 批量新增
<insert id="insertInfoBatch" parameterType="java.util.List" > insert into up_company_needs_ledger (needsid, nname, npapers, naddress, nretype, ncontac ...
分类:数据库   时间:2018-02-23 16:04:54    阅读次数:218
监控系统的状态
使用w命令查看当前系统的负载[root@apenglinux-002?~]#?w ?20:38:14?up?30?min,??2?users,??load?average:?0.00,?0.01,?0.05 USER
分类:其他好文   时间:2018-02-21 22:18:42    阅读次数:177
LC_141. Linked List Cycle
https://leetcode.com/problems/linked-list-cycle/description/ time: o(n) space: o(1) Follow up:Can you solve it without using extra space? if you use e ...
分类:其他好文   时间:2018-02-21 12:49:11    阅读次数:175
Docker的Fig 项目
在你的应用里面添加一个 fig.yml 文件,并指定一些简单的内容,执行 fig up 它就能帮你快速建立起一个容器 快速搭建基于 Docker 的隔离开发环境 使用 Dockerfile 文件指定你的应用环境,让它能在任意地方复制使用: FROM python:2.7 ADD . /code WO ...
分类:其他好文   时间:2018-02-21 00:49:05    阅读次数:696
vs警告 当前源代码跟内置的版本不一致解决办法
本文转载于:http://blog.csdn.net/bull521/article/details/51334464 vs警告 当前源代码跟内置的版本不一致解决办法 1.删除掉 我的文档/visual studio xxx/back up files/你的项目名称 这个文件夹(这个我倒是找到了这个 ...
分类:其他好文   时间:2018-02-20 20:02:00    阅读次数:184
Two Sum II - Input array is sorted
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:其他好文   时间:2018-02-20 19:21:12    阅读次数:183
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!