mmc read用来读取mmc内容到内存, mmc write用来写入内存内容到mmc中 具体用法, mmc read addr blk# cnt [partition] mmc write addr blk# cnt [partition] mmc list device num是mmc的设备号,...
分类:
其他好文 时间:
2014-09-09 21:24:19
阅读次数:
477
Palindrome Partitioning
Total Accepted: 18096 Total
Submissions: 69797My Submissions
Given a string s, partition s such that every substring of the partition is a palindrome.
Return all...
分类:
其他好文 时间:
2014-09-09 18:29:29
阅读次数:
205
1.1 分区表PARTITION table在ORACLE里如果遇到特别大的表,可以使用分区的表来改变其应用程序的性能。1.1.1 分区表的建立:某公司的每年产生巨大的销售记录,DBA向公司建议每季度的数据放在一个分区内,以下示范的是该公司1999年的数据(假设每月产生30M的数据),操作如下:范围...
分类:
数据库 时间:
2014-09-09 17:58:59
阅读次数:
427
题目链接:hdu 4731 Minimum palindrome
题目大意:给定n和m,m表示m种字符。求一个长度为n字典序最小的字符串,满足存在的回文子串长度尽量短。
解题思路:构造。
m = 1:那么不管n为多少,肯定都用a构造m > 2: 用abcabc...构造出来的串回文子串长度最多为1m = 2:对于n
#include
#include
#include
u...
分类:
其他好文 时间:
2014-09-09 13:25:08
阅读次数:
260
题目原文:
Determine whether an integer is a palindrome. Do this without extra space.
click to show spoilers.
Some hints:
Could negative integers be palindromes? (ie, -1)
If you are thinking of conv...
分类:
其他好文 时间:
2014-09-09 13:04:18
阅读次数:
156
思路: 注意符号,溢出。
思路: 注意负数和溢出情况都是 false. 其余情况,就是反转再判断,参考上题.
分类:
其他好文 时间:
2014-09-09 10:40:08
阅读次数:
179
Determine whether an integer is a palindrome. Do this without extra space.思路:先找出x的有效最高位,然后从两侧依次比较最高位和最低位即可。 1 class Solution { 2 public: 3 bool is...
分类:
其他好文 时间:
2014-09-07 20:57:25
阅读次数:
206
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Pana...
分类:
其他好文 时间:
2014-09-07 12:15:55
阅读次数:
292
判断一个 int 是否为回文的有一点要注意的是:int x;int _x = abs(x);对 x 取绝对值的时候,会发生溢出。比如 x = INT_MIN 即 -2147483648 而 INT_MAX 为2147483647其实,负数不是回文数
分类:
其他好文 时间:
2014-09-06 21:08:53
阅读次数:
163
split -l 10000 openid_dataset -d -a 2 partition_openid_dataset_
如果有不明白的
spilit --help...
分类:
系统相关 时间:
2014-09-04 19:07:30
阅读次数:
250