码迷,mamicode.com
首页 >  
搜索关键字:maximum number of format    ( 43533个结果
HDU 3308 LCIS(线段树)
Problem DescriptionGiven n integers.You have two operations:U A B: replace the Ath number by B. (index counting from 0)Q A B: output the length of the...
分类:其他好文   时间:2014-05-06 01:20:33    阅读次数:332
typeof和instanceof
typeof:typeof是一个一元运算符,放在一个运算数之前。"boolean"---如果这个值是布尔值。"string"---如果这个值是字符串。"number"---如果这个值是数值。"undefined"---如果这个值未定义。"object"---如果这个值是对象(包括Number,Str...
分类:其他好文   时间:2014-05-06 00:55:25    阅读次数:698
rsync inotify
rsync客户端+inotify-tools1.1.1.12rsync服务器1.1.1.111.1.1.12配置[root@slave3wwwroot]#cat/etc/rsyncd-web.sh #!/bin/bash host1=1.1.1.11 src=/web/wwwroot/ dst1=web1 /usr/bin/inotifywait-mrq--timefmt‘%d/%m/%y%H:%M‘--format‘%T%w%f%e‘-emodify,delete,create,attrib..
分类:其他好文   时间:2014-05-03 01:08:22    阅读次数:426
UVA 1146 Now or later
二分时间+2sat 边加多了....RE了好久...... Now or later Time Limit: 9000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu [Submit]   [Go Back]   [Status]   D...
分类:其他好文   时间:2014-05-02 23:59:02    阅读次数:712
nefu 640 Number Guessing
题目:大意就是猜数,给定个四位数,然后给出这个数与正确的数之间的比较(#A*B,#代表有#个数字他的值和位置都对了,*代表有*个数的值对了),给出n个上述的4位数,让你确定这个正确的数是多少。 思路:直接暴力。 注意:程序结束是n为负数,而不是-1,为此超时了两次 T T。 代码: #include #include #include using namespace std; str...
分类:其他好文   时间:2014-05-02 21:16:30    阅读次数:314
CSU 1416 Practical Number
原题链接:http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1416 结论题,具体判断方法请点击这个网址。 筛素数是肯定的,但一开始定的范围太大了,想当然要筛到10^9的质数,但仔细想想,只要到sqrt(10^9)就可以了,最后的那一个质数是最...
分类:其他好文   时间:2014-05-02 13:41:45    阅读次数:448
线段树入门(I Hate It)
I Hate It Time Limit:3000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description 很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。 这让很多学生很反感。 ...
分类:其他好文   时间:2014-05-02 13:22:08    阅读次数:359
欧拉计划16-20题
16、Power digit sum215= 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.What is the sum of the digits of the number 21000?题目大意:215= 32768 并且其...
分类:其他好文   时间:2014-05-02 13:17:49    阅读次数:1223
hdu 1394 Minimum Inversion Number_归并排序
归并排序...
分类:其他好文   时间:2014-05-02 08:31:50    阅读次数:225
iOS国际化时遇到的错误:read failed: the data couldn't be read because it isn't in the correct format.
其实这个错误很简单,就是当我们在国际化的时候,写key,写着写着就忘了加 ";" 所以查看一下自己的Localization文件就可以了...
分类:移动开发   时间:2014-05-01 08:43:53    阅读次数:660
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!