• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

cynchanpin

  • 博客园
  • 联系
  • 订阅
  • 管理
上一页 1 ··· 118 119 120 121 122 123 124 125 126 ··· 149 下一页

2017年5月4日

ZOJ - 3228 Searching the String (AC自己主动机)

摘要: Description Little jay really hates to deal with string. But moondy likes it very much, and she's so mischievous that she often gives jay some dull pr 阅读全文

posted @ 2017-05-04 19:03 cynchanpin 阅读(366) 评论(0) 推荐(0)

【J2SE高速进阶】——多线程之synchronized

摘要: 我和老婆去银行取钱 有一天,和老婆打了个赌。如今我的银行账号里共同拥有5000块钱。我们去银行同一时候取钱,看我俩能不能同一时候取出5000来。。。。(PS:打赌的代价是:假设都能取出5000,那这10000块都给她买吃的!假设仅仅能取5000,嘿嘿。那就仅仅用着5000块给她买吃的~~~~怎么认为 阅读全文

posted @ 2017-05-04 17:57 cynchanpin 阅读(175) 评论(0) 推荐(0)

[LeetCode] Search a 2D Matrix II

摘要: Search a 2D Matrix II Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in 阅读全文

posted @ 2017-05-04 16:56 cynchanpin 阅读(136) 评论(0) 推荐(0)

leetCode 58.Length of Last Word (最后单词的长度) 解题思路和方法

摘要: Length of Last Word Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the stri 阅读全文

posted @ 2017-05-04 16:02 cynchanpin 阅读(184) 评论(0) 推荐(0)

[CentOS]怎样解决gcc版本号冲突?

摘要: 今天碰到一个比較坑爹的问题。在centos上用yum安装编译环境,执行: yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel 结果导致编译cocos2d-x出现错误: cc1plus: error: 阅读全文

posted @ 2017-05-04 15:09 cynchanpin 阅读(1696) 评论(0) 推荐(0)

SQLite创建表并加入数据

摘要: - (void)viewDidLoad { [super viewDidLoad]; //创建表 [self creatTable]; //插入数据 [self insertTable]; } // 创建一个表 - (void)creatTable { // 1.创建一个数据库对象 sqlite3 阅读全文

posted @ 2017-05-04 13:54 cynchanpin 阅读(3589) 评论(0) 推荐(0)

STL算法设计理念 - 函数适配器

摘要: 1)函数适配器的理论知识 2)经常使用函数函数适配器 标准库提供一组函数适配器,用来特殊化或者扩展一元和二元函数对象。经常使用适配器是: 1、绑定器(binder): binder通过把二元函数对象的一个实參绑定到一个特殊的值上。将其转换成一元函数对象。C++标准库提供两种提前定义的binder适配 阅读全文

posted @ 2017-05-04 13:03 cynchanpin 阅读(202) 评论(0) 推荐(0)

动态规划法——求解0-1背包问题

摘要: 问题描写叙述 0-1背包问题与背包问题(贪心法——背包问题)最大的不同就是背包问题的子问题彼此之间没有联系。所以仅仅要找出解决方法,然后用贪心算法,取得局部最优解就ok了。可是0-1背包问题更复杂,由于物品不可再分,导致了子问题之间是有联系的。 问题分析 1。刻画背包问题最优解的结构 2。数学描写叙 阅读全文

posted @ 2017-05-04 11:48 cynchanpin 阅读(261) 评论(0) 推荐(0)

那天,我路过,这样一家小店

摘要: /********************************************************************************************* *@Author : Qinyi Zhang *@Date : 2015.03.16 *@Descriptio 阅读全文

posted @ 2017-05-04 10:28 cynchanpin 阅读(151) 评论(0) 推荐(0)

POJ2405-Beavergnaw

摘要: Beavergnaw Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6204 Accepted: 4090 Description When chomping a tree the beaver cuts a very spec 阅读全文

posted @ 2017-05-04 09:35 cynchanpin 阅读(268) 评论(0) 推荐(0)

上一页 1 ··· 118 119 120 121 122 123 124 125 126 ··· 149 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3