码迷,mamicode.com
首页 >  
搜索关键字:do it    ( 12356个结果
LUA 运算笔记
for循环 比如要实现这样的一个For for(int i=10;i>1;i—) { print(i) } 转换成LUA for i=10,1,-1 do print(i) end 在循环里我们常用的 –i ,i++在LUA里不支持,只能写成 i= i-1 ;i=i+1 发现一个有意思的是也可以使用...
分类:其他好文   时间:2014-08-13 12:38:07    阅读次数:183
web框架学习列表
转载自鲁塔弗的博客,原文网址:http://lutaf.com/148.htmweb framework层出不穷,特别是ruby/python,各有10+个,php/java也是一大堆 根据我自己的经验写了一个to do list,按照这个清单,一条一条的学习,事半功倍,很快就能掌握 一共25条,即...
分类:Web程序   时间:2014-08-13 12:28:26    阅读次数:169
spring MVC 转发与重定向(传参)
return "forward:index.jsp"; //转发return "forward:user.do?method=reg5"; //转发return new ModelAndView("/toList");//转发return "redirect:user.do?method=reg5"...
分类:编程语言   时间:2014-08-13 10:06:55    阅读次数:252
POJ 1856 Sea Battle(BFS).
~~~~ 题意: 给你一个R*C的图,求其由图中连通‘#“所组成的矩形的个数。  注意:If the ships were placed correctly (i.e., there are only rectangles that do not touch each other even with a corner), print the sentence "There are S shi...
分类:其他好文   时间:2014-08-13 01:16:24    阅读次数:242
[Python 2.7] Hello World CGI HTTP Server
# CGI HTTP server ## Getting Started Python 2.x is preferred to this simple demo. I'm using Python 2.7 over windows. * https://docs.python.org/2.7/library/cgihttpserver.html * https://do...
分类:编程语言   时间:2014-08-13 01:09:54    阅读次数:222
[LeetCode] Reverse Linked List II
Reverse a linked list from position m to n. Do it in-place and in one-pass.For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->2->...
分类:其他好文   时间:2014-08-13 00:50:34    阅读次数:247
回溯法第1题—数字排列问题
[问题描述]列出所有从数字1到数字n的连续自然数的排列,要求所产生的任一数字序列中不允许出现重复的数字。输入:n(1n then begin for i:=1 to n do write(a[i],' '); writeln; end else for i...
分类:其他好文   时间:2014-08-12 21:28:34    阅读次数:341
如何写一个数据库How do you build a database?(转载)
转载自:http://www.reddit.com/r/Database/comments/27u6dy/how_do_you_build_a_database/ciggal8Its a great question, and deserves a long answer.Most database...
分类:数据库   时间:2014-08-12 21:24:44    阅读次数:315
Performance analysis of our own full blown HTTP
In previous post?Let‘s do our own full blown HTTP server with Netty 4?you and I were excited by creation of our own web server.?So far so good. But how good?? Given ordinary notebook? cat?/pr...
分类:其他好文   时间:2014-08-12 19:13:14    阅读次数:300
BZOJ1669: [Usaco2006 Oct]Hungry Cows饥饿的奶牛
1669: [Usaco2006 Oct]Hungry Cows饥饿的奶牛Time Limit:5 SecMemory Limit:64 MBSubmit:665Solved:419[Submit][Status]DescriptionFarmer John养了N(1 r do 8 begin .....
分类:其他好文   时间:2014-08-12 18:56:34    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!