码迷,mamicode.com
首页 >  
搜索关键字:number of islands    ( 27069个结果
P85
#include long fun(long num) { long k=1; do { k*=num%10; num/=10; } while(num>0); return k; } main() { long n; printf("please enter a number:"); scanf("%ld",&n); printf("\n%ld\n",fun(n));...
分类:其他好文   时间:2014-07-26 02:06:06    阅读次数:247
题目1043:Day of Week(输入日期与当前日起天数差%7,在做相关星期调整)
题目描述:We now use the Gregorian style of dating in Russia. The leap years are years with number divisible by 4 but not divisible by 100, or divisible by...
分类:其他好文   时间:2014-07-26 01:34:27    阅读次数:252
installshield:更新完成后,显示文档readme.txt
installShield在进行更新后,显示 操作的日志,或者新特性function OnUpdateUIAfter() number nResult;string szTitle, szMsg;begin //Rocky System ( SYS_BOOTMACHINE )...
分类:其他好文   时间:2014-07-26 00:39:46    阅读次数:238
Balanced Number (数位dp)
Balanced NumberTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluDescriptionA balanced number is a non-negative integer that can be balanced...
分类:其他好文   时间:2014-07-26 00:11:36    阅读次数:345
Execution Order of Event Functions
In Unity scripting, there are a number of event functions that get executed in a predetermined order as a script executes. This execution order is des...
分类:其他好文   时间:2014-07-25 23:53:10    阅读次数:449
よく使う英語につぃて
Database memory threshold 数据库内存阈值 Self tuning memory 自调整内存 Utilities heap size 实用程序堆大小 Number of asynchronous page clea...
分类:其他好文   时间:2014-07-25 16:34:31    阅读次数:262
AS3 setInterval
setInterval()函数public function setInterval(closure:Function, delay:Number,...arguments):uint语言版本:ActionScript 3.0运行时版本:AIR 1.0, Flash Player 9以指定的间隔(以...
分类:其他好文   时间:2014-07-25 14:09:01    阅读次数:312
递归实现阶乘
如果想实现一个阶乘,比如6 * 5 * 4 * 3 * 2 * 1,首先想到的可能是循环遍历。如下: class Program { static void Main(string[] args) { Console.WriteLine("请输入一个数"); int number = Convert...
分类:其他好文   时间:2014-07-25 13:58:21    阅读次数:246
POJ 2288 Islands and Bridges 哈密尔顿路 状态压缩DP
找最长的其实是很裸的状态压缩DP,棘手的地方是要统计数量,其实只要再来一个数组存就好。不过代码比较长,细节要注意的地方毕较多,wa了很多发,还是要仔细啊用递推和记忆化搜索分别写了一遍#include #include #include #include #include #include #incl...
分类:其他好文   时间:2014-07-25 13:52:51    阅读次数:265
HDU 2070 Fibbonacci Number
Fibbonacci Number Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 13400    Accepted Submission(s): 6677 Problem Description Your ...
分类:其他好文   时间:2014-07-25 11:05:31    阅读次数:201
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!