码迷,mamicode.com
首页 >  
搜索关键字:one or more sections    ( 34236个结果
python 实现 全角字符 传转换成 半角字符串
Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> def strQ2B(ustring): #把全角字符串转半角         ustr...
分类:编程语言   时间:2014-05-09 22:27:33    阅读次数:342
HDU 4283 You Are the One 区间dp
题意: 题意好复杂。。。 给定n个人,从左到右排好队。 他们依次从左到右离开队伍。 每个人有个权值d 当某个人是第k-th离开队伍的,那么不开心值为 d*(k-1) 有一个操作,对于一个子序列,可以把前面一段翻转。 问最小的不开心值和。 #include #include #include #include #include #include using namespace...
分类:其他好文   时间:2014-05-09 20:45:04    阅读次数:288
POJ1742可行性背包
题目: Description People in Silverland use coins.They have coins of value A1,A2,A3...An Silverland dollar.One day Tony opened his money-box and found there were some coins.He decided to buy a very n...
分类:其他好文   时间:2014-05-09 15:00:55    阅读次数:345
SXH232摄像头使用示范
It occurred to me suddenly that I wanted to program the our camera sensor for PC desktop, just like the one purchased from shop, which can make the video recording. Finally although the result seemed ...
分类:其他好文   时间:2014-05-09 14:58:02    阅读次数:373
Best Time to Buy and Sell Stock
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:其他好文   时间:2014-05-09 13:13:02    阅读次数:283
SQL 全局变量( 转载)
在SQL Server中,全局变量是一种特殊类型的变量,服务器将维护这些变量的值。全局变量以@@前缀开头,不必进行声明,它们属于系统定义的函数。还有一些系统信息的获取方法,例如服务器上次启动时间。[@more@]全局变量名称描述@@CONNECTIONS返回SQL Server自上次启动以来尝试的连...
分类:数据库   时间:2014-05-09 09:23:24    阅读次数:484
Windows 7 ALL-IN-ONE for dummies
《Windows 7 ALL-IN-ONE for dummies》作者:Woody Leonhard主攻方向:windows + office管理网站http://www.askwoody.com/http://windowssecrets.com/著作:Windows 8.1 All-in-On...
分类:Windows程序   时间:2014-05-09 07:50:10    阅读次数:1269
嵌入式linux 内核关机函数实现
arch/arm/kernel/process.c实现pm_power_off=关机函数参考board-omap3touchbook.c文件中pm_power_off=omap3_touchbook_poweroff;staticvoidomap3_touchbook_poweroff(void) { intpwr_off=TB_KILL_POWER_GPIO; if(gpio_request_one(pwr_off,GPIOF_OUT_INIT_LOW,"DVIreset")<0..
分类:系统相关   时间:2014-05-09 07:03:00    阅读次数:470
UVA ShellSort
题目如下: Problem D: ShellSort He made each turtle stand on another one's back And he piled them all up in a nine-turtle stack. And then Yertle climbed up. He sat down on the pile. What a wonderful v...
分类:其他好文   时间:2014-05-09 06:20:44    阅读次数:396
UVA 10025(数学)
The ? 1 ? 2 ? ... ? n = k problem  The problem Given the following formula, one can set operators '+' or '-' instead of each '?', in order to obtain a given k ? 1 ? 2 ? ... ? n =...
分类:其他好文   时间:2014-05-09 06:10:40    阅读次数:285
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!