码迷,mamicode.com
首页 >  
搜索关键字:华为设备 静态nat 动态nat pat    ( 13726个结果
PAT 1004. Counting Leaves (30) C#实现
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.InputEach input file contains ...
分类:其他好文   时间:2014-08-31 22:46:42    阅读次数:354
PAT-1069-The Black Hole of Numbers
这题目最坑了,我做的A题最坑的一道1,首先输入数据不一定是四位的,泪奔,输入1,222,222,试一试2,在运行过程中需要判定结果是否为0,需要跳出#include#include#includeusing namespace std;void get(char * data,int & max,i...
分类:其他好文   时间:2014-08-31 19:57:51    阅读次数:240
Linux -- which whereis
WHICH(1) General Commands Manual WHICH(1)NAME which - locate a command#就是用来找一个命令的绝对路径SYNOPSIS which [-a] filename ...DESCRIPTION which returns the pat...
分类:系统相关   时间:2014-08-30 21:37:50    阅读次数:482
PAT-1073-Scientific Notation
#include#include#include#define MAX 1000int main(){ char str[MAX]; char exp[MAX]; char data_sym; char comp_sym; while(scanf("%s",str)!=...
分类:其他好文   时间:2014-08-30 21:34:19    阅读次数:240
PAT 1066 平衡树
#include #include #include #include #include #include using namespace std; #define Max(x,y) ((x)>(y)?(x):(y)) #define ABS(x) ((x)>0?(x):-(x)) struct Node{ Node* l,*r; int val,h; Node(int x){ l=r=...
分类:其他好文   时间:2014-08-29 18:25:38    阅读次数:210
1009. 说反话
PAT (Basic Level) Practise (中文)
分类:其他好文   时间:2014-08-29 17:54:10    阅读次数:178
1004. 成绩排名
PAT (Basic Level) Practise (中文)
分类:其他好文   时间:2014-08-28 11:17:39    阅读次数:193
1001. 害死人不偿命的(3n+1)猜想
PAT (Basic Level) Practise (中文)
分类:其他好文   时间:2014-08-27 23:24:08    阅读次数:260
1002. 写出这个数
PAT (Basic Level) Practise (中文)
分类:其他好文   时间:2014-08-27 23:14:38    阅读次数:386
KMP
/** * Created by xie on 14-8-24. */public class KMP { private String pat; private int M; private int R=256; private int dfa[][]; public...
分类:其他好文   时间:2014-08-24 15:25:32    阅读次数:309
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!