码迷,mamicode.com
首页 >  
搜索关键字:psu change    ( 7378个结果
Change disk label using Gnome application
The volume label for my new USB disk is displayed as capital letters on my home PC although when I formatted this disk (FAT32) on Windows, I used lowe...
分类:移动开发   时间:2014-07-31 13:02:26    阅读次数:344
English article1
Midlife for many is a time of transition, a time of questioning and a time of change, not just physically, but emotionally and mentally. It’s when you...
分类:其他好文   时间:2014-07-31 02:18:35    阅读次数:325
货币找零问题
已知,中华人民共和国的纸币面额分别为:100元、50元、20元、10元、5元、2元、1元,输入钱数,输出最小的货币方案。int main(){ int value[7] = { 100, 50, 20, 10, 5, 2, 1 }, count[7], change; int i, j,...
分类:其他好文   时间:2014-07-30 20:29:14    阅读次数:167
HDU 4893 Wow! Such Sequence!(线段树)
很典型的线段树,注意就是一个数字如果变成了斐波那契数字之后如果在change的话,它是不会反生改变的,因为最近的斐波那契数字就是它本身了啊。 用一个flag表示这一段上的数字是否change过,如果flag == 1已经change过,就不会在向下更新。否则的话就进行更新,最后会到达一个节点,更新这个节点。这里用暴力更新就行,找到最近的斐波那契数字。 Add就是一个点更新,sum求和就是一个区...
分类:其他好文   时间:2014-07-30 10:07:43    阅读次数:438
Wow! Such Sequence!
n个点,每个初始值为零,m个操作,共三种操作: 1 k d - "add" 2 l r - "query sum" 3 l r - "change to nearest Fibonacci" 1 ≤ n ≤ 100000, 1 ≤ m ≤ 100000, |d| < 231...
分类:其他好文   时间:2014-07-30 10:03:53    阅读次数:246
UVA674- Coin Change
题意:用所给的硬币面值构成所需的面值 思路:因为所用硬币数量不限,所以很容易想到完全背包。 递推: #include #include #include #include using namespace std; const int MAXN = 10005; int n; int coin[] = {1, 5, 10, 25, 50}; long long d...
分类:其他好文   时间:2014-07-29 15:02:39    阅读次数:214
apache 2.2安装
下载apache2.2 http server,安装next,见到set type,选择custom类型安装,change改变安装路径,next到finsh安装完成,默认80端口,打开浏览器http://localhost,show view "it works !"成功安装。 配置环境变量...
分类:其他好文   时间:2014-07-29 11:23:36    阅读次数:244
Android Configuration change属性
问题:横竖屏切换时Activity的生命周期?答案:1、不设置Activity的android:configChanges时,切屏会重新调用各个生命周期,切横屏时会执行一次,切竖屏时会执行两次2、设置Activity的android:configChanges=”orientation”时,切屏还是...
分类:移动开发   时间:2014-07-27 22:20:59    阅读次数:271
RHEL7 recover/reset root password
If you have lost or forgot root password of RHEL7, you can follow this step to change to a new password, this is different with the RHEL6 single-user mode...
分类:其他好文   时间:2014-07-26 02:49:36    阅读次数:276
Apache tips
1、How Do I change extension of php file RewriteEngine?On RewriteCond?%{REQUEST_FILENAME}?!-f RewriteRule?^(.*)\.html$?$1.php?[L]...
分类:其他好文   时间:2014-07-25 11:39:41    阅读次数:255
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!