码迷,mamicode.com
首页 >  
搜索关键字:show all    ( 41857个结果
phpcms v9表单向导中怎么加入验证码
表单想到比较简单,所以没有加入验证码的功能。网上的类似教程又大多数不准确。所以亲自测试了一下,发现下面的方法是可用的。希望对有需求的朋友们有所帮助。1首先是调用表单的页面加入验证码。表单js调用模版默认的是\phpcms\templates\default\formguide\show_js.htm...
分类:Web程序   时间:2014-05-27 00:36:12    阅读次数:376
60行代码:Javascript 写的俄罗斯方块游戏
先看效果图: 游戏结束图: javascript实现源码: 俄罗斯方块 © 2009 - 2014 All Rights by ithomer.net var domain="www.zuidaima.com"; var author="zuidaima"; var map=eval("["+Array(23).join("0x801,")+"0xfff]"); var tatris=[...
分类:编程语言   时间:2014-05-23 02:19:04    阅读次数:253
uva 10400 Game Show Math (填合适的运算符)
看到这种填合适的运算符之类的题目,第一感觉就是用dfs来枚举递归。 但邮箱道题目算法设计里面那么大的数据,想到有可能会超时。 用最直白的简单的方法dfs一遍后交上,超时。 ——需要判重和边界结束条件。 在所有能剪断的地方痛下狠手,狂加特判+return; 然后就炒鸡快了 #include #include #include #define ADD 32000 using namespa...
分类:其他好文   时间:2014-05-23 02:06:42    阅读次数:285
001. 3和5的倍数
Problem 1: Multiples of 3 and 5 If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multip...
分类:其他好文   时间:2014-05-23 01:43:01    阅读次数:253
LeetCode: Permutations [045]
【题目】 Given a collection of numbers, return all possible permutations. For example, [1,2,3] have the following permutations: [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], and [3,2,1]. 【题意】 给定一个数组,生成所有的全排列 【思路】 递归,类DFS...
分类:其他好文   时间:2014-05-23 01:08:26    阅读次数:194
2014北京邀请赛 Happy Reversal
H. Happy Reversal 64-bit integer IO format: %lld      Java class name: Main Elfness is studying in an operation "NOT". For a binary number A, if we do operation "NOT A", after that, all digit...
分类:移动开发   时间:2014-05-23 00:43:49    阅读次数:430
android 4.4上chromium介绍
android 4.4上的browser, 对于chromium的几个问题介绍: 1) 所有的 WebView 都使用 Chromium 解析渲染 2) 怎样查看浏览器的渲染引擎: WebSettings.getUserAgentString()或者访问 www.show-ip.net/browserinfo 可以取得WebView的default User Agent, 例如: Mozilla/5.0 (Linux; Android 4.4.2; DeviceName Bui...
分类:移动开发   时间:2014-05-22 23:31:44    阅读次数:374
LightOJ-1140-How Many Zeroes?
Jimmy writes down the decimal representations of all natural numbers between and including m and n, (m ≤ n). How many zeroes will he write down? Input Input starts with an integer T (≤ 11000), denot...
分类:其他好文   时间:2014-05-22 22:59:18    阅读次数:354
工资类
#include using namespace std; class Salary//工资类 { public: void set_salarys( );//设置工资 void add_salarys(int x);//增加工资 void sort_salarys();//根据工资由大到小排序 void show_salarys( );//显示工人...
分类:其他好文   时间:2014-05-22 17:33:38    阅读次数:312
LeetCode: Permutations II [046]
【题目】 Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, [1,1,2] have the following unique permutations: [1,1,2], [1,2,1], and [2,1,1]. 【题意】 给定一个候选数集合,候选集中可能存在重复数,返回所有的排列 【思路】 ...
分类:其他好文   时间:2014-05-22 17:32:17    阅读次数:247
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!