码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
2015 HUAS Summer Trainning #4 C
My birthday is coming up and traditionally I’mserving pie. Not just one pie, no, I have a numberN of them, of various tastes and of various sizes. Fof...
分类:其他好文   时间:2015-08-09 22:19:12    阅读次数:101
JS监听组合按键
有些时候,我们需要在网页上,增加一些快捷按键,方便用户使用一些常用的操作,比如:保存,撤销,复制、粘贴等等。 下面简单梳理一下思路: 我们所熟悉的按键有这么集中类型:单独的按键操作,如:delete、up、down等两位组合建,如:ctrl(cmd)+ 其他按键,alt+其他按键,shift...
分类:Web程序   时间:2015-08-09 20:33:13    阅读次数:131
分披萨
题意: My birthday is coming up and traditionally I’m serving pie. Not just one pie, no, I have a numberN of them,of various tastes and of various sizes....
分类:其他好文   时间:2015-08-09 20:23:40    阅读次数:132
UVA 11093 Just Finish it up 环形跑道
有一个环形跑道,上面有n个加油站,到i号加油站可以加pi的油,跑到下一站要花费qi的油,起点任意选,问是否有一个起点可跑完整个跑道。从i开始跑,如果遇到某个站j不能跑了,那么从i到j之间的站开始跑,到j的油不会增加,所以下次直接从j+1开始跑。复杂度是O(n)#includeusing namesp...
分类:其他好文   时间:2015-08-09 18:28:24    阅读次数:131
poj 2828 - Buy Tickets
Description Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue… The Lunar New Year was approaching, but unluckily the Little Ca...
分类:其他好文   时间:2015-08-09 14:14:33    阅读次数:152
[leetcode 230]Kth Smallest Element in a BST
Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note:  You may assume k is always valid, 1 ≤ k ≤ BST's total elements. Follow up: What if the...
分类:其他好文   时间:2015-08-09 12:38:18    阅读次数:141
Device eth0 does not seem to be present,delaying initialization解决方法
Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.在linux下的虚拟机出现了这个问题,原因是要修改固定ip,作了部分修改。故障现象:[root@host2~]# ...
分类:其他好文   时间:2015-08-09 12:18:57    阅读次数:101
[LeetCode] N-Queens II
Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.思路:与http://www.cnblogs.com/...
分类:其他好文   时间:2015-08-09 10:40:41    阅读次数:164
csu 1110 RMQ with Shifts (线段树单点更新)
#include #include #include #include #include #include #include #define lson l,m,rt> 1; build(lson); build(rson); up(rt);}int A,B;void update(...
分类:其他好文   时间:2015-08-08 22:46:12    阅读次数:167
HDU周赛题
Description Little Susie, thanks to her older brother, likes to play with cars. Today she decided to set up a tournament between them. The process of a tournament is described in the next paragraph...
分类:其他好文   时间:2015-08-08 16:41:57    阅读次数:112
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!