码迷,mamicode.com
首页 >  
搜索关键字:buy tickets    ( 1402个结果
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...
分类:其他好文   时间:2014-08-03 23:26:46    阅读次数:353
HDU Tickets(简单的dp递推)
TicketsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 972Accepted Submission(s): 495Problem Descr...
分类:其他好文   时间:2014-08-03 20:28:11    阅读次数:264
Test Windows Live Write Exception
源自:http://www.en8848.com.cn/read/proseessay/lz/239065.html 1. Buy someone's coffee. 为他人买杯咖啡 It's just coffee -- no one needs coffee, so this doesn't r...
分类:Windows程序   时间:2014-08-02 15:22:33    阅读次数:322
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 ...
分类:其他好文   时间:2014-08-01 13:43:42    阅读次数:193
liunx创建定时任务
为当前用户创建cron服务1. 键入 crontab -e 编辑crontab服务文件 例如 文件内容如下: */2 * * * * /bin/sh /home/admin/jiaoben/buy/deleteFile.sh 保存文件并并退出*/2 * * * * /bin/sh /home/adm...
分类:其他好文   时间:2014-07-31 23:13:30    阅读次数:246
投票代码
对外接口 2个 ? 1、获取投票数json ?2、投票 <?php class?VoteController?extends?NodeController?{ /** ?*?获取队列投票数?全部 ?*@return?JSON ?*/ public?function?tickets()?{ $tick...
分类:其他好文   时间:2014-07-31 13:42:06    阅读次数:222
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...
分类:其他好文   时间:2014-07-31 13:36:16    阅读次数:329
【POJ】Buy Tickets(线段树)
点更新用法很巧妙的一道题。倒序很容易的找到该人的位置,而update操作中需要不断的变化下标才能合理的插入。看了别人写的代码,学习了。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 const ...
分类:其他好文   时间:2014-07-31 09:43:46    阅读次数:182
HDU 1260 Tickets (动规)
HDU 1260 Tickets (动规)...
分类:其他好文   时间:2014-07-31 00:06:25    阅读次数:262
Python设计模式——工厂方法模式(FactoryMethod)
需求:有一个学雷锋活动,有买米和扫地两个内容,参与的人有大学生和社区志愿者,他们各自的方法不一样。如果用简单工厂模式实现:#encoding=utf-8__author__ = 'kevinlu1010@qq.com'class LeiFeng(): def buy_rice(self): ...
分类:编程语言   时间:2014-07-30 23:09:25    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!