Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2015-04-08 00:54:17
阅读次数:
113
更新了ADT后在android上设置editText上设置padding属性时遇到了这个问题:
Multiple annotations found at this line:
- Consider adding android:paddingStart="25dp" to better support right-to-left
layouts
- When you define pa...
分类:
移动开发 时间:
2015-04-07 21:38:31
阅读次数:
235
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2015-04-07 21:31:44
阅读次数:
120
手机卫士-08
课1
上一节课:软件管家改善 activityappmanager.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_pa...
分类:
移动开发 时间:
2015-04-07 17:49:31
阅读次数:
247
Problem Description
The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote from the book:
Tout avait Pa...
分类:
其他好文 时间:
2015-04-06 12:58:20
阅读次数:
192
#include #define N 30010int pa[N]; //parentint siz_tree[N]; //size of treeint d[N]; //dist between node and rootint Find(int x){ if(pa[x] == x) ret...
分类:
其他好文 时间:
2015-04-06 00:45:06
阅读次数:
306
描述
三种动物 A吃B, B吃C, C吃A.
1, a, b 表示a,b同类
2, a, b 表示a吃b
判断假话个数
分析
NOIp前看过, 当时不会, 现在理解起来也有点抽象.
按权值合并的并查集
能确定关系的 x, y 的find到的祖先相同.
pa[x] 是 x 的祖先, r[x] 是 x 到祖先的距离, 有三种, 0, 1, 2. 0 ...
分类:
其他好文 时间:
2015-04-05 14:42:14
阅读次数:
136
Linux下的mysql的备份与恢复备份:比如我们要备份mysql中已经存在的名为linux的数据库,要用到命令mysqldump命令格式如下: [root@linuxsir01 root]# mysqldump -u root -p linux > /root/linux.sql Enter pa...
分类:
数据库 时间:
2015-04-01 16:57:11
阅读次数:
203
? %@ 对象? %d, %i 整数? %u 无符整形? %f 浮点/双字? %x, %X 二进制整数? %o 八进制整数? %zu size_t? %p 指针? %e 浮点/双字 (科学计算)? %g 浮点/双字? %s C 字符串? %.*s Pa...
分类:
移动开发 时间:
2015-03-31 22:07:10
阅读次数:
142
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2015-03-30 22:49:58
阅读次数:
162