Given a sorted linked list, delete all
duplicates such that each element appear onlyonce.For
example,Given1->1->2, return1->2.Given1->1->2->3->3,
retu...
分类:
其他好文 时间:
2014-07-22 23:12:13
阅读次数:
426
要注意的是我们的PHP是嵌入在html中的 首先在php中写入链接 $conn =
mysql_connect("localhost","root","") or die("链接数据库失败");
mysql_select_db("fg19");// 选择数...
分类:
Web程序 时间:
2014-07-22 23:07:55
阅读次数:
505
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-07-22 23:07:13
阅读次数:
379
bootstrap提供的布局主要有两种,固定布局和流动布局。Bootstrap 固定布局用法 ...
实例:Example of Fixed Layout with Bootstrap version 2.0 from
w3cschool.ccHomeAboutContactw3csch...
分类:
其他好文 时间:
2014-07-22 23:06:55
阅读次数:
812
路径:/boot/grub/grub.cfg配置文件如下:## DO NOT EDIT
THIS FILE## It is automatically generated by grub-mkconfig using templates# from
/etc/grub.d and settings ...
分类:
其他好文 时间:
2014-05-01 16:29:15
阅读次数:
452
题目来源:http://poj.org/problem?id=3525分析:题意:给定一个凸多边形,求多边形中距离边界最远的点到边界的距离。思路 :
每次将凸多边形每条边往里平移d,判断是否存在核;二分d即可。多边形边上的点(x , y)往里平移d 后的 坐标: s , e 为向量的 起点和终点, ...
分类:
其他好文 时间:
2014-05-01 16:27:16
阅读次数:
335
Oracle内部主要存在以下四种SCN 1.系统检查点(system checkpoint)SCN
每当一个检查点完成时,Oracle就把该检查点对应的SCN记录到控制文件中,可以用以下语句查看当前数据库 的检查点SCN: select
CHECKPOINT_CHANGE# from v$datab...
分类:
其他好文 时间:
2014-05-01 16:12:03
阅读次数:
409
UIImage*img =[button
imageForState:UIControlStateNormal];
分类:
其他好文 时间:
2014-05-01 15:37:41
阅读次数:
351
--查找姓名、性别、年龄、地址、电话相同的员工记录。select count(id) as
id_count, name, sex, birthday, address, telfrom staffgroup by name, ...
分类:
其他好文 时间:
2014-05-01 13:57:05
阅读次数:
314
select * from sys_role_list where id in (select c
from (with test as (select roleid c from sys_role_info where id=1) select
substr(t.ca,instr(t.ca,...
分类:
数据库 时间:
2014-05-01 02:34:49
阅读次数:
670