Chinaunix首页 | 论坛 | 博客
  • 博客访问: 40198
  • 博文数量: 37
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 372
  • 用 户 组: 普通用户
  • 注册时间: 2013-10-12 23:27
文章分类

全部博文(37)

文章存档

2014年(5)

2013年(32)

我的朋友

发布时间:2013-12-26 14:25:18

简单。就不解释了。不加点中文会被认为advertise...点击(此处)折叠或打开class Solution {public:    int numDecodings(string s) {        if(s.empty()) return 0;&.........【阅读全文】

阅读(197) | 评论(0) | 转发(0)

发布时间:2013-12-25 23:46:36

不写两个汉字貌似容易被CU识别为advertising...  that's why i am here...点击(此处)折叠或打开class Solution {public:    vector subsetsWithDup(vector &S) {      .........【阅读全文】

阅读(137) | 评论(0) | 转发(0)

发布时间:2013-12-25 23:33:34

简单。就不解释了...(貌似内容无中文容易被CU判定为advertise给删掉...所以说这么句废话...)点击(此处)折叠或打开/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next.........【阅读全文】

阅读(167) | 评论(0) | 转发(0)

发布时间:2013-12-25 15:45:20

递归即可。点击(此处)折叠或打开class Solution {public:    void getIp(string s, string tmp, int cnt)    {        if(4==cnt) {if(s.empty().........【阅读全文】

阅读(543) | 评论(0) | 转发(0)

发布时间:2013-12-23 14:06:15

递归。选任意一个节点做根节点,能组成的BST数目是该节点左边节点能组成BST数目*该节点右边节点能组成BST数目。点击(此处)折叠或打开class Solution {public:    int numTrees(int n) {      &.........【阅读全文】

阅读(145) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册