码迷,mamicode.com
首页 >  
搜索关键字:NPU    ( 4242个结果
动态添加、删除上传域(可限制添加条数)
效果图如下: ...
分类:Web程序   时间:2018-10-29 16:55:57    阅读次数:190
234. Palindrome Linked List
Given a singly linked list, determine if it is a palindrome. Example 1: Example 2: Follow up:Could you do it in O(n) time and O(1) space?判断单链表是不是回文串,首 ...
分类:其他好文   时间:2018-10-29 00:33:49    阅读次数:159
51NOD 1305
题目描述: 有这样一段程序,fun会对整数数组A进行求值,其中Floor表示向下取整: fun(A) sum = 0 for i = 1 to A.length for j = i+1 to A.length sum = sum + Floor((A[i]+A[j])/(A[i]*A[j])) re ...
分类:其他好文   时间:2018-10-28 23:03:51    阅读次数:274
Jquery
核心 Jquery 核心函数 查找: $("div>p") $("input:radio",document.forms[0]), 在问的那个的第一个表单查找 type=radio 的表单元素 $("div",xml.ResponseXML), 在返回的Xml 文档中查找 所有的Div 元素 创建h ...
分类:Web程序   时间:2018-10-28 22:02:15    阅读次数:189
给“td”,“div”,“input”赋值
摘要: 1.td赋值 innerTEXT; 1.1 $("#ID").text(值); jQuery用法 1.2 document.getElementById('aa').inneText=inner; js用法 2.div赋值 innerHTML; 2.1 $("#aa").HTML(值); j ...
分类:其他好文   时间:2018-10-28 20:49:13    阅读次数:230
电话号码分身
题目描述 继MIUI8推出手机分身功能之后,MIUI9计划推出一个电话号码分身的功能:首先将电话号码中的每个数字加上8取个位,然后使用对应的大写字母代替 ("ZERO", "ONE", "TWO", "THREE", "FOUR", "FIVE", "SIX", "SEVEN", "EIGHT", ...
分类:其他好文   时间:2018-10-28 14:59:08    阅读次数:211
js 正则表达式验证密码、邮箱格式.....
遗憾的是博客内容不允许包含js代码,不能在线测试,就只上代码了 ...
分类:Web程序   时间:2018-10-28 00:09:12    阅读次数:187
uvaoj1586Molar mass(暴力)
An organic compound is any member of a large class of chemicalcompounds whose molecules contain carbon. The molarmass of an organic compound is the ma ...
分类:其他好文   时间:2018-10-27 21:11:47    阅读次数:141
11 用户交互,显示省市县三级联动的选择
dict = { "河北": { "石家庄":{"晋州市","平山县","元氏"}, "邯郸": {"永年","涉县","磁县"}, }, "河南": { "郑州": {"新郑","荥阳","新密"}, "周口": {"项城","淮阳","太康&qu ...
分类:其他好文   时间:2018-10-27 19:52:14    阅读次数:289
leetcode-876 Middle of the Linked List
Given a non-empty, singly linked list with head node head, return a middle node of linked list.If there are two middle nodes, return the second middle... ...
分类:其他好文   时间:2018-10-27 14:52:07    阅读次数:101
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!