一、定义1. 函数定义:function f_add(num_in) num_in = num_in + 1 f_add = num_inend function用函数名来返回参数2. 子例程定义sub s_add(num_in) num_in = num_in + 1end su...
分类:
其他好文 时间:
2014-10-10 11:55:34
阅读次数:
214
在工作上遇到这个问题,只知道vertical-align属性设置元素的对齐方式,所以自己有必要深入理解vertical-align作用,顺便整理出来。 先了解一下vertical-align一些属性:值描述baseline默认。元素放置在父元素的基线上。sub垂直对齐文本的下标。super垂直...
分类:
其他好文 时间:
2014-10-10 02:09:43
阅读次数:
133
from://http://www.studytrails.com/java/json/java-jackson-Serialization-polymorphism.jspJackson provides a way to maintain sub type information while s...
分类:
编程语言 时间:
2014-10-09 16:05:58
阅读次数:
238
练习使用DPS的题,不知道有无别的做法,思路不复杂。形式是统计并且进行数字配对。 1 #include 2 3 int m,n,f,sub[25][4],note[25],ans[25]; 4 5 void ini(){ 6 int i,j,top,right,bottom,left;...
分类:
其他好文 时间:
2014-10-09 02:33:47
阅读次数:
196
ConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionDr lee cuts a string S into N pieces,s[1],…,s[N].Now, Dr lee gives you these N sub-string...
分类:
其他好文 时间:
2014-10-08 12:46:35
阅读次数:
369
Sub 沪深股市关注度()
On Error Resume Next
Cells.Clear
Columns("A:A").NumberFormatLocal = "@"
Cells(1, 1) = "代码"
Cells(1, 2) = "名称"
Cells(1, 3) = "关注该股人数(人)"
With CreateObject("WinHttp.WinHttpRequest.5.1")
.Open "GET", "http://d...
分类:
其他好文 时间:
2014-10-07 13:34:53
阅读次数:
116
jquery常用的事件:
/*
on
off
hover
blur
change
click
dblclick
focus
keydown
keyup
keypress
mousedown
resize
scroll
select
sub...
分类:
Web程序 时间:
2014-10-07 11:27:53
阅读次数:
272
x-1 -->向x轴正向偏移-->sub the extra num run fasterx+1 -->向x轴负向偏移-->add the extra num then falling back1/x-->对称轴x=01/(x-1)-->对称轴 x=11/(x+1)-->对称轴 x=-1乘方越大.训...
分类:
其他好文 时间:
2014-10-06 19:14:50
阅读次数:
158
sub.c#include#include"sub.h"int WINAPI DllMain(_In_ HANDLE _HDllHandle, _In_ DWORD _Reason, _In_opt_ LPVOID _Reserved) { return TRUE; } EXPO...
分类:
其他好文 时间:
2014-10-06 00:06:59
阅读次数:
319
一、单点更新
1.hdu1166 敌兵布阵:有N个兵营,每个兵营都给出了人数ai(下标从1开始),有四种命令,(1)”Addij",表示第i个营地增加j人。(2)“Sub i j”,表示第i个营地减少j人。(3)“Query ij",查询第i个营地到第j个营地的总人数。(4)”End“,表示命令结束。解题报告Here。
2.hdu1754 I Hate It:给...
分类:
其他好文 时间:
2014-10-05 11:16:58
阅读次数:
419