码迷,mamicode.com
首页 >  
搜索关键字:华为设备 静态nat 动态nat pat    ( 13726个结果
1015. Reversible Primes
A reversible prime in any number system is a prime whose "reverse" in that number system is also a prime. For example in the decimal system 73 is a reversible prime because its reverse 37 is also a pr...
分类:其他好文   时间:2015-02-28 21:46:29    阅读次数:187
B1003. 我要通过!(20)
“答案正确”是自动判题系统给出的最令人欢喜的回复。本题属于PAT的“答案正确”大派送 —— 只要读入的字符串满足下列条件,系统就输出“答案正确”,否则输出“答案错误”。得到“答案正确”的条件是:1. 字符串中必须仅有P, A, T这三种字符,不可以包含其它字符;2. 任意形如 xPATx 的字符串都...
分类:其他好文   时间:2015-02-28 18:30:25    阅读次数:115
1011. World Cup Betting
With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing battles for the World Cup trophy in South Africa. Si...
分类:其他好文   时间:2015-02-28 16:31:22    阅读次数:169
1006. Sign In and Sign Out
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in's and out's, you...
分类:其他好文   时间:2015-02-27 21:41:22    阅读次数:243
1008. Elevator
The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified order. It costs 6 sec...
分类:其他好文   时间:2015-02-27 21:34:28    阅读次数:222
PAT:1023. 组个最小数 (20) AC
#include#includeusing namespace std;int main(){ int A[10]; fill(A,A+10,0); for(int i=0 ; i0) { printf("%d",i); --A[i]; break; ...
分类:其他好文   时间:2015-02-27 21:22:33    阅读次数:135
PAT:1020. 月饼 (25) AC
#include#includeusing namespace std;struct cake{ double amount; double sum_price,price;}M[1010];bool cmp(cake a,cake b){ return a.price>b.price;}in...
分类:其他好文   时间:2015-02-27 20:06:39    阅读次数:148
CCNA实验二十六 实战多种NAT地址转换
CCNA实验二十六实战多种NAT地址转换环境:WindowsXP、PacketTracert5.3、GNS3.0.7.2、VMwareworkstation7.1.2目的:了解各种NAT的作用和并学会如何配置NAT说明:NAT(网络地址转换)是将私有IP地址转化为合法IP的转换技术,它被广泛应用于各种类型Internet接入方式和各种类型的网..
分类:其他好文   时间:2015-02-27 18:36:39    阅读次数:288
循环-06. 统计一行文本的单词个数(15)
本题目要求编写程序统计一行字符中单词的个数。所谓“单词”是指连续不含空格的字符串,各单词之间用空格分隔,空格数可以是多个。...
分类:其他好文   时间:2015-02-27 17:14:08    阅读次数:142
PAT 1076 Forwards on Weibo
Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social n...
分类:其他好文   时间:2015-02-27 16:54:57    阅读次数:102
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!