码迷,mamicode.com
首页 >  
搜索关键字:f1 1    ( 2695个结果
预装win8系统用U盘改装win7
联想ThinkPadT440预装win8用U盘引导改装win70.开机按enter键,然后选择F1进入BIOS1.修改security中secureboot选项中secureboot为Disabled2.修改starup中UEFI/Legacyboot为Both3.修改restart选项中OSOptimizedDefaults为Disabled4.F10选择yes,回车5.电脑重启按enter键,并选择F..
分类:Windows程序   时间:2014-07-31 21:21:18    阅读次数:357
初涉矩阵快速幂
一般用来加速递推。 简单的,对于fib数列有,f0 = 1,f1 = 1,fn = fn-1 + fn-2(n >= 2)。 则对于fn有: 一般的,对于fn = A1*f(n-1) + A2*f(n-2)  + .... +A(n-1)*f1,有: 又因为矩阵乘法满足结合律,所以可以用快速幂来求A^n,从而达到递推的效果。 顺便即一个小技巧: ...
分类:其他好文   时间:2014-07-31 20:51:27    阅读次数:227
matlab 实用快捷键
Tab 右移整体代码Shift+Tab 左移整体代码Ctrl+R 注释掉整体代码Ctrl+T 上面的反操作 去掉整体代码前的%F1 显示帮助信息Ctrl+F1 显示函数概要信息Shift+F1 打开函数浏览器Ctrl+I 自动缩排代码格式Ctrl+D 打开该函数的源代码
分类:其他好文   时间:2014-07-31 20:19:17    阅读次数:273
How many Fibs?(高精度)
Description Recall the definition of the Fibonacci numbers:  f1 := 1 f2 := 2 fn := fn-1 + fn-2 (n>=3) Given two numbers a and b, calculate how many Fibonacci numbers are in the range...
分类:其他好文   时间:2014-07-31 17:11:07    阅读次数:325
HDU - 3117 Fibonacci Numbers
Description The Fibonacci sequence is the sequence of numbers such that every element is equal to the sum of the two previous elements, except for the first two elements f0 and f1 which are respect...
分类:其他好文   时间:2014-07-31 00:08:05    阅读次数:281
MySQL优化器 limit影响的case
测试的用例中,因为limit的大小不同,而产生了完全不同的执行计划:1. 测试case: create table t1 ( f1 int(11) not null, f2 int(11) not null, f3 int(11) not null, f4 tinyint(1) not n...
分类:数据库   时间:2014-07-30 17:18:24    阅读次数:316
feifei_zhang_tongji
[dodowolf@fu~]$catfu.sh#!/bin/shLOG_DATE=`date-d"yesterday"+%F`Q_DATE=`date-d"2daysago"+%Y%m%d`Y_DATE=`date-d"yesterday"+%Y%m%d`whilereadlinedo{IP=`echo$line|cut-d""-f1`DATABASE=`echo$line|cut-d""-f2`mysql-uuser-ppasswd-h${IP}-e"setnamesutf8;select1,2,3,4,5..
分类:其他好文   时间:2014-07-30 15:02:44    阅读次数:173
Modified LCS
InputOutputSample Input35 3 4 15 3 110 2 2 7 3 3100 1 1 100 1 2Sample Output4350超时代码,因为K很大 1 /***************** 2 f1+(k1-1)*d1=f2+(k2-1)*d2 3 => (k1-....
分类:其他好文   时间:2014-07-29 14:05:08    阅读次数:181
Linux [文本处理]
cut -- 将行根据需求分成指定的片段常用参数:-d 以。。。为分割符 -d: 以:分割行(类似于python中的split)-f 得到分割后的某个列 -f1-3 得到分割后的第1个到第3个列 (即1,2,3列,这里面是从1开始的,而不是0)-c 指定位置字符 -c1 得到行的第一个字符grep....
分类:系统相关   时间:2014-07-28 15:23:23    阅读次数:234
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!