Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2014-08-12 10:15:23
阅读次数:
149
此类题目要明确两点:
1. 打表:用数组下标索引字符,同时注意如果从字符对应回数字:
int index = (str[i] >= '0' && str[i]
2. 注意低位在前还是高位在前,如果先来的是 低位*radix^i 即可。
3. 统计每几个radix进制数组成一位,利用bits来表示。。。
这破题主要是麻烦。。。
#include
#includ...
分类:
其他好文 时间:
2014-08-12 00:40:33
阅读次数:
184
RadiobuttonFive usage:DataTable table = new DataTable(); table.TableName = "Parent"; table.Columns.Add("Index_Code", typeof(stri...
分类:
其他好文 时间:
2014-08-11 23:50:43
阅读次数:
272
EK Template :bool bfs(int src, int des){ memset(pre, -1, sizeof(pre)); while(!que.empty()) que.pop(); pre[src] = 0; int index; que.push...
分类:
Web程序 时间:
2014-08-11 21:15:52
阅读次数:
268
传递给函数的隐含参数:arguments当进行函数调用时,除了指定的参数外,还创建一个隐含的对象——arguments。arguments是一个类似数组但不是数组的对象,说它类似是因为它具有数组一样的访问性质,可以用arguments[index]这样的语法取值,拥有数组长度属性length。arg...
分类:
其他好文 时间:
2014-08-11 21:00:02
阅读次数:
207
这几天的项目页面的访问全部改为.action访问,在修改首页时遇到了问题。将web.xml文件中index.action修改成这样,访问首页时报404错误,也就是说文件找不到。上网查了有两种解决方法。 方法一、在WebRoot下新建一个index.action空文件,这个方法简单实用,强烈推荐。 方...
分类:
其他好文 时间:
2014-08-11 20:55:22
阅读次数:
207
1. 基本环境准备:安装JDK1.6和MyEclipse 8.6。1. 下载Android SDK地址:http://developer.android.com/sdk/index.html双击SDK Setup.exe安装SDK,安装完成后,文件夹入下图所示:2. 配置SDK环境变量:主要是在pa...
分类:
移动开发 时间:
2014-08-11 20:37:52
阅读次数:
272
UVALive
6434
题目链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4445
这题正好就是大一小学期的时候好像是曦曦出的那个牛那题吧,就是要买多少块板然后正好把牛给拦完。这题也是一样,就是找最大的距离,当做隔板,依次把...
分类:
其他好文 时间:
2014-08-11 18:07:42
阅读次数:
338
TP框架URL地址可以有以下几种: http://域名/index.php?m=模块&c=控制器&a=方法 ? ? ? ? 基本get模式 http://域名/index.php/模块/控制器/方法?????????????????????????路径模式p...
分类:
Web程序 时间:
2014-08-11 15:26:02
阅读次数:
184
本篇博客将为大家介绍css+div的布局与定位,包括盒子模型,元素定位以及z-index....
分类:
Web程序 时间:
2014-08-11 12:09:02
阅读次数:
314