因为小弟写个方法还是很容易的,但是对于前端相关的东西却不是很懂,在我自己做铜梁视窗这个小站的时候,涉及到每个频道一个模板,每个频道的相关页面也是一个模板,小弟没有吧html写在aspx上面,然后在匹配模板的时候发现很多有些模板是可以公用的,例如首页的head部分,还有其他的频道head部分,还有fo...
Problem:Find thekth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.Fo...
分类:
其他好文 时间:
2015-10-01 09:14:31
阅读次数:
227
TextView通常用来显示普通文本,但是有时候需要对其中某些文本进行样式、事件方面的设置。Android系统通过SpannableString类来对指定文本进行相关处理,具体有以下功能:1、BackgroundColorSpan 背景色2、ClickableSpan 文本可点击,有点击事件3、Fo...
分类:
其他好文 时间:
2015-09-30 18:04:44
阅读次数:
260
组合数时间限制:3000ms | 内存限制:65535KB难度:3描述找出从自然数1、2、... 、n(0 2 #include 3 int n,r; 4 int ans[15]; 5 void dfs(int top,int num){ 6 if(num==r){ 7 fo...
分类:
其他好文 时间:
2015-09-27 21:33:50
阅读次数:
234
以腾讯上传用户在应用中的等级相关信息为例。接口详情在此【"http://wiki.open.qq.com/wiki/v3/user/get_info"】在set_achievement这个接口中,接口参数包括openid, openkey, appid, pf, sig, user_attr, fo...
分类:
系统相关 时间:
2015-09-24 17:44:48
阅读次数:
639
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space fo...
分类:
其他好文 时间:
2015-09-24 10:53:01
阅读次数:
169
什么是框架众多功能\API的集合Foundation框架的作用Foundation框架是Mac\iOS中其他框架的基础Foundation框架包含了很多开发中常用的数据类型结构体枚举类如何使用Foundation框架要想使用Foundation框架中的功能,包含它的主文件即可 #import Fo....
分类:
其他好文 时间:
2015-09-23 17:01:12
阅读次数:
184
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:
其他好文 时间:
2015-09-23 10:16:46
阅读次数:
123
用C编写:#include"stdio.h"intmain(){inti,j,n,m=0;for(i=1;i<=9;i++) { for(j=1;j<=9;j++) { printf("%d*%d=%d",i,j,i*j); m=m+1; if(m%9==0) { printf("\n"); } } }return0;}用C++编写:#include<iostream>usingnamespacestd;intmain(){inti,j,n,m=0;fo..
分类:
编程语言 时间:
2015-09-22 14:52:16
阅读次数:
167
QuestionFind thekth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.Fo...
分类:
其他好文 时间:
2015-09-22 07:43:52
阅读次数:
204