Forms and their child elements should not use input names or ids that conflict with properties of a form, such as submit, length, or method. Name conf...
分类:
其他好文 时间:
2014-08-12 16:39:34
阅读次数:
230
题目链接题意 : N个点M条边,允许有重边,让你求出割边的数目以及每条割边的编号(编号是输入顺序从1到M)。思路 :tarjan求割边,对于除重边以为中生成树的边(u,v),若满足dfn[u] 2 #include 3 #include 4 #include 5 6 using names...
分类:
其他好文 时间:
2014-08-11 20:28:03
阅读次数:
363
public class HomeAdapter extends BaseAdapter
{
public int getCount()
{
return names.length;
}
public View getView(int position, View convertView, ViewGroup parent)
{
View view = View.inflate...
分类:
其他好文 时间:
2014-08-11 18:06:42
阅读次数:
230
想到 最小公倍数 其余的就好搞了 ,可是没想到#include #include #include #include #include #include #include #include #include #include #include #include #includeusing names...
分类:
数据库 时间:
2014-08-09 23:11:49
阅读次数:
313
题目大意:不断将放进来的数字插入要求位置,最后将他们的值按在其所在顺序排序简单的线段树问题,单点查询,从反向点一个个插入,线段树表示区间内还有多少空位,像找第几小的数那样自顶向下递归知道x==y代码: 1 #include 2 #include 3 #include 4 using names...
分类:
其他好文 时间:
2014-08-09 02:30:46
阅读次数:
274
求一个无向图的桥(可能存在重边),输出割边的数目,并按顺序输出割边的序号(输入的顺序)。由于内存的限制 , 无法使用邻接矩阵 , 只能用邻接表了 .第一次用了邻接表,超内存了; 1 #include 2 #include 3 #include 4 #include 5 using names...
分类:
其他好文 时间:
2014-08-08 23:58:46
阅读次数:
649
lampp下的mysql配置文件路径: /opt/lampp/etc/my.cnf 1 配置默认字符集 於mysqld项下添加 character-set-server=utf-8 init_connect =‘SET NAMES utf8‘ 於client项下添加 default-character-set =utf8 酱紫就ok了...
分类:
数据库 时间:
2014-08-08 16:39:46
阅读次数:
319
Description
The ancient Berlanders believed that the longer the name, the more important its bearer is. Thus, Berland kings were famous for their long names. But long names are somewhat inconvenien...
分类:
其他好文 时间:
2014-08-08 16:05:26
阅读次数:
219
1. 在String中添加字段,一定要在最上面添加 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" 。否则,会报错 unbound prefix 。2. 复制其他.java文件时,会连同.R文件一同带过来,要在import中去掉,否则 R.st...
分类:
移动开发 时间:
2014-08-08 09:29:05
阅读次数:
294
如图:关键点:1.scroll: 1, //虚拟滚动,解决大数据一次性加载慢的问题,同时解决分页2.function merge(names)//自定义函数$(function () { //查询 $("#querybtn").click(function () { ...
分类:
其他好文 时间:
2014-08-07 21:38:40
阅读次数:
297