寒假期间抽空做的一道模拟题 难度不算大,把每种牌型分开处理,可以合并的步骤考虑合并。 代码比较丑陋,首次尝试Sport Programming的风格,结果搞了个不伦不类(手动笑哭) ...
分类:
其他好文 时间:
2017-01-24 21:52:31
阅读次数:
256
【转】http://blog.csdn.net/shantsc/article/details/50729402 protobuf c#版本分成两个版本,一个是protobuf-net,另一个是protobuf-csharp-sport 一、protobuf-net版 步骤 1.编辑111.prot ...
用iptables防火墙 iptables -F # 允许包从22端口进入 iptables -A INPUT -p tcp --dport 22 -j ACCEPT # 允许从22端口进入的包返回 iptables -A OUTPUT -p tcp --sport 22 -m state --st... ...
分类:
其他好文 时间:
2016-12-13 15:54:53
阅读次数:
277
implements使用 interface Sport { void run(); void jump(); } class Athlete implements Sport { public void run() { System.out.println("短跑"); } public void ...
分类:
编程语言 时间:
2016-12-09 08:02:28
阅读次数:
202
一、filter表防火墙(过滤器) iptables -A ( INPUT OUTPUT ) -s 192.1680.1.200 -p ( TCP UDP ICMP ) -i ( eth0 eth1 ) ( --dport --sport ) 80 -j (ACCEPT DROP) 二、nat表防火 ...
分类:
其他好文 时间:
2016-10-03 16:49:41
阅读次数:
129
-mstate--state{NEW,ESTATBLISHED,INVALID,RELATED}指定检测那种状态iptables-AINPUT-ptcp-mstate--stateNEW,ESTABLISHED-jACCEPTiptables-AOUTPUT-ptcp-mstate--stateNEW,ESTABLISHED-jACCEPT-mmultiport指定多端口号--sport--dport--portsiptables-AINPUT-ptcp-mmultiport--d..
分类:
其他好文 时间:
2016-09-26 18:24:19
阅读次数:
976
一、在服务器上打开 22、80、9011端口: iptables -A INPUT -p tcp --dport 9011 -j ACCEPT iptables -A OUTPUT -p tcp --sport 9011 -j ACCEPT iptables -A INPUT -p tcp --dp ...
分类:
其他好文 时间:
2016-09-13 19:06:28
阅读次数:
173
1370 - Bi-shoe and Phi-shoe PDF (English) Statistics Time Limit: 2 second(s) Memory Limit: 32 MB Bamboo Pole-vault is a massively popular sport in Xzh ...
分类:
其他好文 时间:
2016-08-08 14:05:33
阅读次数:
137
Description
Bamboo Pole-vault is a massively popular sport in Xzhiland. And Master Phi-shoe is a very popular coach for his success. He needs some bamboos for his students, so he asked his assistant B...
分类:
其他好文 时间:
2016-08-05 01:03:10
阅读次数:
155
Description Bamboo Pole-vault is a massively popular sport in Xzhiland. And Master Phi-shoe is a very popular coach for his success. He needs some bam ...
分类:
其他好文 时间:
2016-08-03 21:49:22
阅读次数:
231