1.升级LAP1142的前期准备:由于LAP1142无法获取到IP地址,将console线接到AP上,并且报告错误,日志如下:*Mar100:00:44.491:%CDP_PD-2-POWER_LOW:Allradiosdisabled-NEGOTIATEDWS-C2960S-48LPS-L(34bd.c8bc.5401)*Mar100:00:50.422:%CAPWAP-3-ERRORLOG:Notsendingdiscoveryreq..
分类:
系统相关 时间:
2015-04-14 20:00:42
阅读次数:
683
我们首先将所有电池排序,那么我们可以找到一组最优方案,使得一台机器的能量之差是相邻两电池的能量之差。然后我们就二分这个答案,从前往后贪心地选这个数对,然后看是否所有的数对都是满足条件的。假设这个数对是 i - 1, i,并且是第 j 个数对,那么我们称满足条件为:2nk - i + 2 >= 2k(...
分类:
其他好文 时间:
2015-04-14 09:56:40
阅读次数:
97
技巧。
#include
#include
using namespace std;
double n,p;
int main(){
while(cin>>n>>p){
cout<<pow(p,1/n)<<endl;
}
}...
分类:
其他好文 时间:
2015-04-13 18:54:12
阅读次数:
137
以s3c2440 clock & power management为例,2440一般可以使用外部晶振或者外部时钟作为时钟源,通过OM[3:2]来配置。外部晶振一般选用12MHZ,而2440如果工作在这个频率显然大材小用,2440正常工作频率可达400MHZ,显然从12MHZ到400MHZ需要倍频,2...
分类:
其他好文 时间:
2015-04-13 16:39:06
阅读次数:
122
原文链接:http://www.modmypi.com/blog/disable-wifi-power-management 现象: 树莓派2使用usb无线网卡时,有时ssh会自动断开,这种情况可能是由于启用了电源管理功能, 无线网卡在空闲时会自动关闭。 运行iwconfig,观察Power Man...
分类:
其他好文 时间:
2015-04-12 22:34:14
阅读次数:
277
Problem C
Leading and Trailing
Time limit: 2 seconds
Apart from the novice programmers, all others know that you can’t exactly represent numbers raised to some high power. ...
分类:
其他好文 时间:
2015-04-12 12:07:31
阅读次数:
172
说到IP迁移,其实也是我很想写的一篇博客,这项技术,当时大概是2013年的时候学习的这项技术,只是一直没找到很好的机会去实践,前一阵子,笔者参与负责了一个研发项目,项目背景,使用MVMC3.1powershell迁移vmware到hyper-v,同时编写异构混合云门户.NET程序,调用MVMC的power..
分类:
Windows程序 时间:
2015-04-11 21:09:58
阅读次数:
1409
Problem B : Power of Matrix
Time limit: 10 seconds
Consider an n-by-n matrix A. We define Ak = A * A * ... * A (k times).
Here, * denotes the usual matrix multiplication.
You ar...
分类:
其他好文 时间:
2015-04-10 18:07:31
阅读次数:
220