码迷,mamicode.com
首页 >  
搜索关键字:f1    ( 2695个结果
静态路由的小技巧
在环境中尽量不要使用出接口,因为使用出接口R1会认为目标ip地址是自己的ip地址,会使用二层去发arp请求广播给R2,因为R2的f0/0接口开启了ARP代理,所以会回复自己的mac给R1,然后R2用F1/0接口向R3请求ARP回复给R2,然后就通了。如果R2的ARP代理没有开启,那网络就不会畅通。
分类:其他好文   时间:2014-11-28 12:45:54    阅读次数:158
进制转换
十进制转各种进制:#include#include#include#define N 100using namespace std;int main(){ int a,f2=1;int f1; int b[N],j=-1,h,i; int n; cout>n; cout...
分类:其他好文   时间:2014-11-26 23:56:37    阅读次数:265
矩阵快速幂 [POJ 3070 NYOJ 148] Fibonacci
FibonacciDescriptionIn the Fibonacci integer sequence,F0= 0,F1= 1, andFn=Fn? 1+Fn? 2forn≥ 2. For example, the first ten terms of the Fibonacci sequenc...
分类:其他好文   时间:2014-11-26 16:08:44    阅读次数:125
POJ 3070 Fibonacci(矩阵快速幂)
Description In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn ? 1 + Fn ? 2 for n ≥ 2. For example, the first ten terms of the Fibonacci sequence are: 0, 1, 1, 2, 3, 5, 8, 13, 21, ...
分类:其他好文   时间:2014-11-26 14:21:57    阅读次数:129
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!