码迷,mamicode.com
首页 > 2015年08月01日 > 全部分享
html热点区域
usemap="#map" ,map为热点区域area的三个属性:shape: rect(矩形):coords的四个数值分明别表示左上角、右下角两个点横纵坐标,单位为像素。 circle(圆形):coor...
分类:Web程序   时间:2015-08-01 17:01:04    阅读次数:127
POJ 3134Power Calculus
DescriptionStarting withx and repeatedly multiplying byx, we can computex31 with thirty multiplications: x2 = xxx, x3 = x2xx, x4 = x3xx, ... , x31 = x...
分类:其他好文   时间:2015-08-01 17:02:49    阅读次数:110
【LeetCode 69】Sqrt(x)
Implementint sqrt(int x).Compute and return the square root ofx.思路: 突然发现,二分真TM的是万能的。还有牛顿迭代法,数学的东西,头疼不想看了。还有传说中的“魔数”法,比math库效率都高,试了下RE - -。C++: 1 clas....
分类:其他好文   时间:2015-08-01 17:01:10    阅读次数:128
PHP设计模式(6)- PHP链式操作
PHP链式操作:形如:$db->where()->order()->limit()的语法模式,在一行代码中完成多个方法的调用。链式操作的关键在于被调用的对象方法返回对象本身。sql .= " where {$where}"; return $this; } public f...
分类:Web程序   时间:2015-08-01 16:59:49    阅读次数:113
poj 1840 Eqs 【解五元方程+分治+枚举打表+二分查找所有key 】
EqsTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 13955Accepted: 6851DescriptionConsider equations having the following form: a1x13+ a2x23+ ...
分类:其他好文   时间:2015-08-01 17:00:39    阅读次数:117
在SD卡上创建/删除文件夹 使用DDMS透视图管理SD卡
在SD卡上创建和删除文件夹 基本步骤: (1):在控制台中输入adb shell命令,进入shell控制台。 (2):在shell控制台中输入cd sdcard 命令,进入SD卡中。 (3):在shell控制台中输入ls -al 命令,查看sd卡中包含的全部文件和文件夹。 (4...
分类:其他好文   时间:2015-08-01 16:59:00    阅读次数:181
POJ 2231 Moo Volume
脑洞题。开个数组记录一下每个点的左边部分的和右边部分的和。只要知道第一个点和最后一个点的情况,其余的点的情况可以再o(n)的效率下推导出来。#include#include#include#includeusing namespace std;const int maxn=10000;long lo...
分类:其他好文   时间:2015-08-01 17:00:17    阅读次数:100
HDU3714——三分——Error Curves
Josephina is a clever girl and addicted to Machine Learning recently. Shepays much attention to a method called Linear Discriminant Analysis, whichhas...
分类:其他好文   时间:2015-08-01 17:00:35    阅读次数:118
eclipse 导入 v7包
从github上面导入了工程后发现需要v7包的支持,这个包在SDK路径下面就有,如:G:\work soft\android-sdk-windows\extras\android\support\v7, 里面有一个appcompat需要导入,直接File->Import->copy into ...
分类:系统相关   时间:2015-08-01 16:58:18    阅读次数:153
javaMail
邮件相关协议SMTPPOPIMAPMIMESMTP:简单邮件传输协议,用于传送电子邮件。SMTP服务器把消息转发给用作接收消息的SMTP服务器,用户可以通过POP或IMAP协议获取消息。POP:邮局协议,当前版本为3,所以也称POP3,该协议主要用来接收邮件。IMAP:接收邮件的更高级协议,当前到第...
分类:编程语言   时间:2015-08-01 16:57:56    阅读次数:142
HDU4932——二分——Miaomiao's Geometry
There are N point on X-axis . Miaomiao would like to cover them ALL by using segments with same length.There are 2 limits:1.A point is convered if the...
分类:其他好文   时间:2015-08-01 16:57:56    阅读次数:102
MyEclipse优化
转自:http://0411.iteye.com/blog/10972621.禁用myeclipse updating indexesMyEclipse 总是不停的在 Update index,研究发现Update index...是Maven在下载更新,但很是影响myeclipse的使用速度,禁用...
分类:系统相关   时间:2015-08-01 16:58:35    阅读次数:123
margin外边距问题
1 、上下边距会叠加!DOCTYPE html>2、父级包含子级的时候,子级的margin-top会传递给父级,可以使用父级的padding替代自己的margin。3、margin左右margin-lefta:uto 偏右margin-right:auto 偏左margin:auto 水平居中...
分类:其他好文   时间:2015-08-01 17:00:03    阅读次数:174
POJ 3416 Crossing
树状数组+离线操作#include#include#include#includeusing namespace std;int N,M;int SUM1,SUM2,SUM3,SUM4;int C[500000+20];struct Point{ int x,y,PD,ans,id,BiX,B...
分类:其他好文   时间:2015-08-01 16:59:59    阅读次数:132
POJ2420——三分——A Star not a Tree?
Luke wants to upgrade his home computer network from 10mbs to 100mbs. His existing network uses 10base2 (coaxial) cables that allow you to connect any...
分类:其他好文   时间:2015-08-01 17:00:10    阅读次数:213
Unity编辑器扩展相关知识
1、一些类1.1、GUI 界面1.2、GUILayout 界面布局1.3、GUIStyle 界面样式1.4、GUIContent 界面内容1.5、Editor 编辑器1.6、EditorUtility 编辑器工具1.7、EditorWindow 编辑器窗口1.8、EditorGUI 编辑器界面1.9...
分类:编程语言   时间:2015-08-01 16:58:31    阅读次数:196
jsp引用带参数的js文件,例如 <script src="a.js?ctxpath=${base"
${base} EL后台传过来,再从jsp页面传到独立的js文件里 var getScriptArg=function(key){var scripts=document.getElementsByTagName("script"),script=scripts[scripts.length-1],src=script.src;return(src.ma...
分类:Web程序   时间:2015-08-01 15:55:19    阅读次数:235
1621条   上一页 1 ... 44 45 46 47 48 49 50 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!