题目地址: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
Y2K Accounting Bug
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 10024
Accepted: 4990
Description
Accounting for Computer Machinists (ACM) has suff...
分类:
其他好文 时间:
2014-07-16 17:36:10
阅读次数:
259
题目如下:
How Big Is It?
Ian's going to California, and he has to pack his things, including hiscollection of circles. Given a set of circles, your program mustfind the smallest r...
分类:
其他好文 时间:
2014-07-16 17:17:02
阅读次数:
259
Shoemaker's Problem
Shoemaker has N jobs (orders from customers) which he must make. Shoemaker can work on only one job in each day. For each ith job, it is known the integer Ti (1i<=1000...
分类:
其他好文 时间:
2014-07-16 17:12:33
阅读次数:
274
以oracle用户登陆数据库所在的服务器,例如家目录为/home./oracle.执行以下命令进行备份操作。
sqlplus /nolog
connect /as sysdba
sql>createdirectory dump_bx as '指定一个存放dmp文件的目录';
sql>grantread,write on directory d...
分类:
数据库 时间:
2014-07-16 17:10:09
阅读次数:
205
/*
B - 二分 基础
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
Farmer John has built a new long barn, with N (2 <= N <= 100,000) stalls. The stal...
分类:
其他好文 时间:
2014-07-16 11:02:57
阅读次数:
197
依据《C++ More Exception》所述的规则:
Rule #1: Never write using-directives in header files.
Rule #2: Never write namespace using-declarations in header files.
Rule #3: In implementation files, never ...
分类:
其他好文 时间:
2014-07-16 11:00:58
阅读次数:
141
微信开发本地调试工具(模拟微信客户端)微信部署需要依靠80端口,如何快速有效的调试本地微信开发程序,捷微团队(jeewx-java微信开源系统),采用微信开发调试工具,供本地开发测试;第一个参数:http://localhost:8080/jeewx/wechatController.do?wechat第二个参数:微信公众账号的原始ID微信开发调试功能.rar69.42 KB, 阅读权限: 10,...
分类:
微信 时间:
2014-07-16 10:35:47
阅读次数:
5066
Number sequence
Given a number sequence which has N element(s), please calculate the number of different collocation for three number Ai, Aj, Ak, which satisfy that Ai Ak and i
Input
The fi...
分类:
其他好文 时间:
2014-07-16 09:51:23
阅读次数:
201