码迷,mamicode.com
首页 >  
搜索关键字:do it    ( 12356个结果
5 Shell Scripts for Linux Newbies to Learn Shell Programming – Part II
To Learn something you need to do it, without the fear of being unsuccessful. I believe in practicality and hence will be accompanying you to the prac...
分类:系统相关   时间:2014-07-26 14:09:15    阅读次数:492
Reorder List leetcode java
题目:Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.F....
分类:编程语言   时间:2014-07-26 09:51:47    阅读次数:215
shell编程(十五)--- while特殊用法和函数
break:退出循环体 continue:结束本次循环,进入下一次循环。while特殊用法1: while: do done 上述为while的死循环。while特殊用法2: whilereadLINE do done</path/to/FILE 作用:通过while读取FILE文件中的每一行,并将其保存在变量LINE中。函数:function语法格式:..
分类:其他好文   时间:2014-07-26 03:25:37    阅读次数:206
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
HDU 4861 Couple doubi(找规律|费马定理)
Couple doubiTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 4861DescriptionDouBiXp has a girlfriend named Do...
分类:其他好文   时间:2014-07-26 01:25:06    阅读次数:281
zoj 1453 Surround the Trees(凸包求周长)
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=453Time Limit:2 Seconds Memory Limit:65536 KBThere are a lot of trees in an area. A peas...
分类:其他好文   时间:2014-07-26 00:23:16    阅读次数:351
Swift 程序流程控制
Swift采用类同c语言的流程控制语句,if, for, for-in, while, do-while , switch, break, continue .Swift语言的Switch语句自动添加了break效果,这样你可以不用没个case后面再写break.同c语言不同,swift语言的if ...
分类:其他好文   时间:2014-07-26 00:04:56    阅读次数:365
ZStack中的编程技巧
1. 像函数一样使用的宏 //这个宏,用来被其他宏使用,构造一个正确有效的表达式。这个适合于一些离散语句的组合,不适合函数的重新命名 #define st(x) do { x } while (__LINE__ == -1) 例如:#define aps_GroupsRemaingCapacity(...
分类:其他好文   时间:2014-07-26 00:02:06    阅读次数:505
Writing In The Front
As a graduate, it's a shame that i do not have my technical blog. Actually, the thought of having my own blog last for long and i even wrote my person...
分类:其他好文   时间:2014-07-25 19:12:32    阅读次数:360
微软职位内部推荐-SDE2 (Windows driver)
微软近期Open的职位:SDE2 (Windows driver)Job title: Software Development Engineer 2Location: Shanghai, China Do you want to join Microsoft and work on the lat...
分类:Windows程序   时间:2014-07-25 16:38:31    阅读次数:495
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!