2016.9.18 --- Shenyang ol】的更多相关文章

1001 Resident Evil 1002 List wants to travel 1003 hannnnah_j’s Biological Test 1004 Mathematician QSC 1005 Running King 1006 The Game 1007 odd-even number 1008 oasis in desert 1009 QSC and Master 1010 Count primes 哈哈哈哈...在高铁上打代码哟><…
github javascript相关项目star数排行榜(前30,截止2016.11.18): 前端开源框架 TOP 100 前端 TOP 100:::::https://www.awesomes.cn/rank bootstrap : https://github.com/twbs/bootstrap react : https://github.com/facebook/react You-Dont-Know-JS : https://github.com/getify/You-Dont-…
2016.8.18上午纪中初中部NOIP普及组比赛 链接:https://jzoj.net/junior/#contest/home/1336 翻!车!啦!好吧,那是因为大神归来. 进度: 比赛:AC+20+0+0=120 改题:AC+40+0+0=140 一.跳格子 链接:https://jzoj.net/junior/#contest/show/1336/0 这么多水,怎么跳啊? 考试时发大招:DP!!! 状态转移方程不难想, 而是有的人没反过来想 题目简化: 就是到每个格都能向前跳a[i]…
Implement strStr() 本题收获: 1.考虑多种边界条件. 2.haystack.size() size_type 是无符号的,即为正数 在32位系统上定义为 unsigned int 在64位系统上定义为 unsigned long 两个size相减若<0,则直接出现以下情况:…
Majority Element 本题收获: 1.初步了解hash,nth_element的用法 2.题目的常规思路 题目: Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume that the array is non-empty and the majority…
Excel Sheet Column Number 本题收获: 1.对于字符串中字母转为ASIIC码:string s ;res = s[i]-'A'; 这个res就是数字s[i]-'A'是对ASIIC的操作. 2.对于进制的转换:利用for循环 ,%,/,数组在完成. 3.2中的数组都是从左到右的,在此题中不是按照从高位到低位. 题目: elated to question Excel Sheet Column Title Given a column title as appear in a…
1.//得到select项的个数 2.jQuery.fn.size = function(){ 3. return jQuery(this).get(0).options.length; 4.} 5. 6.//获得选中项的索引 7.jQuery.fn.getSelectedIndex = function(){ 8. return jQuery(this).get(0).selectedIndex; 9.} 10. 11.//获得当前选中项的文本 12.jQuery.fn.getSelected…
一.PHP基础 1,标记和注释 ①<?php?> ②单行注释// 多行注释/**    */2, 输出语句 ①echo输出 echo可以输出多个字符串,用逗号隔开. ②print输出 print只能输出一个字符串,返回true或false ③print_r() 字符串和数字简单打印,而数组则以括起来的键和值的列表形式 显示,并以Array开头 ④var_dump() 不仅输出值而且会输出值的输出类型3,数据类型 ①弱类型语言 根据数据  自动转换数据类型 ②获取类型 gettype() ③判断…
①打开dreamw新建html 开头显示如下 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-…
设计模式(Design Patterns) ——可复用面向对象软件的基础 设计模式(Design pattern)是一套被反复使用.多数人知晓的.经过分类编目的.代码设计经验的总结.使用设计模式是为了可重用代码.让代码更容易被他人理解.保证代码可靠性. 毫无疑问,设计模式于己于他人于系统都是多赢的,设计模式使代码编制真正工程化,设计模式是软件工程的基石,如同大厦的一块块砖石一样.项目中合理的运用设计模式可以完美的解决很多问题,每种模式在现在中都有相应的原理来与之对应,每一个模式描述了一个在我们周…