码迷,mamicode.com
首页 >  
搜索关键字:do while循环    ( 14864个结果
小谷实战Jquery(一)--用户名校验
小谷童鞋休息了好几天,终于又开始学习了.今天学的是Jquery,先来看看神马是jQuery? JQuery is designed to change the way that you write JavaScript. The focus of jQuery is "find some elements, do something with them". write less,do m...
分类:Web程序   时间:2014-07-09 12:48:41    阅读次数:221
POJ 1418 圆的基本操作以及 圆弧离散化
Viva Confetti Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 761   Accepted: 319 Description Do you know confetti? They are small discs of colored paper, and...
分类:其他好文   时间:2014-07-09 11:14:29    阅读次数:223
Cracking the Coding Interview Q1.6
Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do th...
分类:其他好文   时间:2014-07-08 22:06:25    阅读次数:222
2014 Super Training #6 F Search in the Wiki --集合取交+暴力
原题: ZOJ 3674http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3674题意不难理解,很容易想到用暴力,但是无从下手,不知道怎么实现。后来看了网上的代码,直接用vector和map暴力,用到了set_intersect...
分类:其他好文   时间:2014-07-08 22:04:57    阅读次数:239
jquery trigger函数和triggerHandler函数的对比
一句话的区别就是:trigger will bubbling jQuery events (not default DOM events) and triggerHnadler will not do that!...
分类:Web程序   时间:2014-07-08 19:41:55    阅读次数:158
【ruby项目,语言提交检查(一)】如何快速学习ruby ?
如何快速学习ruby ? 学习语言最快的思路。 变量,常量,变量类型,操作符, 逻辑语句如 if, else, switch, for, foreach, do while, break, 等等。要学的语言与这些命令相似的命令是什么?了解使用方法即可。 之后,如果是面向对象,就要了解一下关于对象的操作了。 有没有函数库,一般语言都有的。输出命令函数,操作数组,操作字符串,对象属性 操作...
分类:其他好文   时间:2014-07-08 14:35:27    阅读次数:143
switch case ,while, do while,enum
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace C_编辑基础 { //枚举的意义就是限定变量的取值范围 enum gender{Male,Female,Unkown}; //声明一个类型,它是枚举类型(定义一个枚举),这个枚举有三个值。...
分类:其他好文   时间:2014-07-08 13:38:36    阅读次数:191
LeetCode——String to Integer (atoi)
Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca...
分类:其他好文   时间:2014-07-08 12:52:05    阅读次数:200
java提高篇(三十)-----Iterator
迭代对于我们搞Java的来说绝对不陌生。我们常常使用JDK提供的迭代接口进行Java集合的迭代。Iterator iterator = list.iterator(); while(iterator.hasNext()){ String string = iterator.next(); //do something...
分类:编程语言   时间:2014-07-08 12:50:53    阅读次数:290
我对python线程池的理解
#!/usr/bin/envpythonfromQueueimportQueuefromthreadingimportThreadimportrandomimporttimedefperson(i,q):whileTrue:#这个人一直处与可以接活干的状态q.get()print"Thread",i,"do_job"time.sleep(random.randint(1,5))#每个人干活的时间不一样,自然就会导致每个人分配的件..
分类:编程语言   时间:2014-07-08 09:48:06    阅读次数:222
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!