题目地址:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3794题目描述:N个城市,M条有向边。要从城市1开车到城市N,中途可以加油,也可以倒卖一次油,问最多能赚多少钱。油箱容量是C。N个城市中有P个城市(p1, p2…)可...
分类:
其他好文 时间:
2014-07-16 18:04:54
阅读次数:
483
#!/bin/bashecho "i am main"for i in $(seq 1 5)do { sleep 10; echo "i am $i";}&donewaithttp://www.cnblogs.com/dorothychai/archive/2012/10/19/27303...
分类:
系统相关 时间:
2014-07-16 17:58:33
阅读次数:
326
I've heard there was a secret chordThat David played, and it pleased the LordBut you don't really care for music, do you?It goes like thisThe fourth, ...
分类:
其他好文 时间:
2014-07-16 17:03:36
阅读次数:
251
转自:http://blog.chinaunix.net/uid-26000296-id-3575475.html 1 function ergodic(){ 2 for file in `ls $1` 3 do 4 if [ -d $1"/"$file ] 5 then 6...
分类:
其他好文 时间:
2014-07-16 16:47:36
阅读次数:
206
Size of Data TypesAlways use sizeof() to get the size of types(sizeof(char), sizeof(short), sizeof(int)...)Do not depend on the order of evaluation in...
分类:
其他好文 时间:
2014-07-16 15:51:58
阅读次数:
191
设函数 f(k)(n);则: f(1)(n)=1; f(2)(n)=f(1)(0)+f(1)(1)+f(1)(2)+...+f(1)(n); f(3)(n)=f(2)(0)+f(2)(1)+f(2)(2)+...+f(2)(n); . . . f(...
分类:
其他好文 时间:
2014-07-16 15:46:09
阅读次数:
168
#!/bin/bashimage_list=$(ls *.png)for imag in ${image_list}do if test -f $imag then xxd -i ${imag} >> test.h fidone参考:http://www.cnblo...
分类:
编程语言 时间:
2014-07-16 15:29:12
阅读次数:
260
微信开发本地调试工具(模拟微信客户端)微信部署需要依靠80端口,如何快速有效的调试本地微信开发程序,捷微团队(jeewx-java微信开源系统),采用微信开发调试工具,供本地开发测试;第一个参数:http://localhost:8080/jeewx/wechatController.do?wechat第二个参数:微信公众账号的原始ID微信开发调试功能.rar69.42 KB, 阅读权限: 10,...
分类:
微信 时间:
2014-07-16 10:35:47
阅读次数:
5066
参考:https://developer.apple.com/support/ios/program-renewals.phpWhat happens if I do not renew my membership?If your iOS Developer Program membership e...
分类:
移动开发 时间:
2014-07-16 09:45:19
阅读次数:
291
【转载】原帖:http://blog.sciencenet.cn/home.php?mod=space&uid=485553&do=blog&id=746079工作以来,逐渐发现企业有个较为普遍的现象,那就是企业的研发人员——从普通技术员到总工,往往难以看懂深入的专业书籍,其主要原因是数学基础差。虽...
分类:
其他好文 时间:
2014-07-16 00:36:12
阅读次数:
264