在系统中查找程序:which,type(Bash,which date);whence(Korn Shell,whence date)。如何停止程序:quit,^D(bc)。显示时间和日期:date,date -u。显示日历:cal(显示当前月份的日历),cal 2014(显示某一年的日历),cal...
分类:
其他好文 时间:
2014-08-17 21:07:12
阅读次数:
390
解题报告
题意:
n个巫师m个魔杖,每个魔杖可以被不同的巫师使用。求多少个魔杖会被买。
思路:
二分图最大匹配简单题。
#include
#include
#include
using namespace std;
int mmap[110][110],n,m,vis[110],pre[110];
int dfs(int x) {
for(int i=1; i<=n; i...
分类:
其他好文 时间:
2014-08-15 16:02:39
阅读次数:
258
public ITextElement CreateTextElement(double x, double y, string text) { IBalloonCallout bc = CreateBallonCallout(x, y); ...
分类:
其他好文 时间:
2014-08-14 16:10:38
阅读次数:
188
Php: BCMathbc是Binary Calculator的缩写。bc*函数的参数都是操作数加上一个可选的 [int scale],比如string bcadd(string $left_operand, string $right_operand[, int $scale]),如果scale没...
分类:
Web程序 时间:
2014-08-14 13:26:48
阅读次数:
258
先上题目:12664 Interesting CalculatorThere is an interesting calculator. It has 3 rows of button.? Row 1: button 0, 1, 2, 3, . . . , 9. Pressing each butt...
分类:
其他好文 时间:
2014-08-13 22:00:07
阅读次数:
264
1、策略模式和状态模式的区别和联系(本部分转载自:http://letscoding.cn/java%E4%B8%AD%EF%BC%8C%E7%8A%B6%E6%80%81%E6%A8%A1%E5%BC%8F%E5%92%8C%E7%AD%96%E7%95%A5%E6%A8%A1%E5%BC%8F%...
分类:
其他好文 时间:
2014-08-13 12:31:26
阅读次数:
237