http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4114
Nobita did use an outstanding anti-virus software, however, for some strange reason, this software did not check email attachment...
分类:
其他好文 时间:
2015-04-28 21:03:10
阅读次数:
164
VLAN的查看 dis vlanVLAN的创建vlan 2vlan batch 3 4vlan batch 2 to 8把端口加入VLANint e0/0/3port lin ac 设置端口的模式是access,这种模式连接PC、服务器、打印机。trunk用于交换机之间的连接port def vla...
分类:
其他好文 时间:
2015-04-28 17:46:41
阅读次数:
116
二、 Wifi传输认证过程
(一)、终端与路由器认证过程
1、无线扫描
用户接入过程首先需要通过主动/被动扫描,再通过认证和关联 两个过程后才能和AP建立连接。
2、认证过程
为防止非法用户接入,首先需要在用户和AC/FATAP /Gateway之间建立认证,认证机制包括两种。只有通过认证后才能进入关联阶段。
– 无加密认证
以 SSID (Service Set ID)作为最基本的...
分类:
其他好文 时间:
2015-04-28 16:11:41
阅读次数:
262
这一道题姑且可以叫做“让气球飞”吧。比较简单,AC率算是比较高了,一次性通过。大概思路是:首先建立一个字符串数组color_table,用与存储不同的颜色,同时创建一个整型数组count用于存储对应颜色数组中此索引颜色出现的次数。每当程序读入一种颜色,就将其与颜色数组中已经存在的颜色进行比较,如果该...
分类:
其他好文 时间:
2015-04-28 16:01:06
阅读次数:
133
一到搜索卡死人...
1. 两个变量记录等级和经验值就好.
int main(){
int T;
scanf("%d",&T);
while(T--){
int n,l;
int jy=0;
int sum = 0;
scanf("%d%d",&n,&l);
for(int i =...
分类:
Web程序 时间:
2015-04-28 11:54:18
阅读次数:
187
这三句是开头必须的:AC_PREREQ([2.63])AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])AM_INIT_AUTOMAKE(GameServer,1.0)AC_PROG_CC:检查系统可用的C 编译器AC_PROG...
分类:
其他好文 时间:
2015-04-28 11:15:56
阅读次数:
110
Delete
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 203 Accepted Submission(s): 138
Problem Description
WLD likes playing wit...
分类:
其他好文 时间:
2015-04-28 09:55:12
阅读次数:
171
题目传送: UVA - 11029
思路:后三位可以直接快速幂取模,然后前三位可以有两种做法,一个是利用double,一个是利用公式法,具体看代码吧
注意,后三位不足三位要补0,即用%03d
AC代码①:
#include
#include
#include
#include
#include
#include
#include
#include
#...
分类:
其他好文 时间:
2015-04-28 09:47:43
阅读次数:
235
三角形平方平面,推到一下,就可以得出公式:F(1) = 2. F(2) = 8; F(n >= 3) = F(n - 1) + 6 * (n - 1)。
AC代码:
#include
using namespace std;
int a[10005];
int main()
{
a[0] = 0; a[1] = 2; a[2] = 8;
for(int i = 3; i < ...
分类:
其他好文 时间:
2015-04-28 09:40:16
阅读次数:
108
简单的完全背包。
将三种物品的价格可以理解成既是价值,又是重量。
简单动态规划
AC代码:
#include
#include
using namespace std;
int dp[10005];
int a[3] = {150, 200, 350};
int b[3] = {150, 200, 350};
int max(int x, int y)
{
return x >...
分类:
其他好文 时间:
2015-04-28 09:37:58
阅读次数:
120