xiaozhuaixifu
码龄13年
求更新 关注
提问 私信
  • 博客:455,236
    455,236
    总访问量
  • 268
    原创
  • 105
    粉丝
  • 5
    关注
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:四川省
加入CSDN时间: 2012-10-07
博客简介:

R_xiaozhu_Q的专栏

博客描述:
love what i'm loving~
查看详细资料
个人成就
  • 获得34次点赞
  • 内容获得71次评论
  • 获得64次收藏
  • 博客总排名1,531,860名
创作历程
  • 38篇
    2014年
  • 254篇
    2013年
成就勋章
TA的专栏
  • hadoop
    3篇
  • Linux/Unix操作系统
    5篇
  • Algorithm-动态规划
    35篇
  • Algorithm-搜索
    33篇
  • Algorithm-字符串 枚举
    8篇
  • Algorithm-贪心
    8篇
  • Algorithm-STL
    7篇
  • Algorithm-数论 特殊数
    8篇
  • 基础算法研究
    11篇
  • Algorithm-并查集
    3篇
  • Algorithm-组合博弈
    1篇
  • Algorithm-计算几何基础
    1篇
  • Algorithm-二分匹配及其应用
    1篇
  • c/c++ 数据结构
    6篇
  • 编程珠玑---读书笔记
    7篇
  • machine learning & data mining
  • 最短路
    7篇
  • 编程之美---读书笔记
    8篇
  • 最小生成树
    5篇
  • 2013编程之美挑战赛
    16篇
  • 笔试&面试
    10篇
  • 最大流
    3篇
  • 2013腾讯编程马拉松
    9篇
  • 挑战程序设计竞赛---读书笔记
    29篇
  • 树状数组 & 线段树
    5篇
  • LeetCode
    82篇
  • Hackerrank
    10篇
  • Java & JDBC
    4篇
  • 剑指offer
    3篇
  • Java & JDBC
    4篇

TA关注的专栏 0

TA关注的收藏夹 0

TA关注的社区 0

TA参与的活动 0

创作活动更多

新星杯·14天创作挑战营·第13期

这是一个以写作博客为目的的创作活动,旨在鼓励大学生博主们挖掘自己的创作潜能,展现自己的写作才华。如果你是一位热爱写作的、想要展现自己创作才华的小伙伴,那么,快来参加吧!我们一起发掘写作的魅力,书写出属于我们的故事。我们诚挚邀请你们参加为期14天的创作挑战赛!注: 1、参赛者可以进入活动群进行交流、互相鼓励与支持(开卷),虚竹哥会分享创作心得和涨粉心得,答疑及活动群请见:https://bbs.csdn.net/topics/619781944 【进活动群,得奖概率会更大,因为有辅导】 2、文章质量分查询:https://www.csdn.net/qc

90人参与 去参加
  • 最近
  • 文章
  • 专栏
  • 代码仓
  • 资源
  • 收藏
  • 关注/订阅/互动
更多
  • 最近

  • 文章

  • 专栏

  • 代码仓

  • 资源

  • 收藏

  • 关注/订阅/互动

  • 社区

  • 帖子

  • 问答

  • 课程

  • 视频

搜索 取消

飞凌ok6410开发板使用导读

发布资源 2012.10.24 ·
pdf

第五届华为创新杯编程大赛--块分配问题

发布资源 2013.05.31 ·
doc

飞凌6410裸机调试教程

发布资源 2012.10.24 ·
pdf

c++primer plus第七章到第十三章习题源码

发布资源 2013.03.12 ·
rar

【微软编程一小时】题目1 : Arithmetic Expression

时间限制:2000ms单点时限:200ms内存限制:256MB描述Given N arithmetic expressions, can you tell whose result is closest to 9?输入Line 1: N (1 Line 2..N+1: Each line contains an expression in the f
原创
博文更新于 2014.04.28 ·
1180 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

poj - 2528 - Mayor's posters 线段树+离散化

转载自:http://blog.csdn.net/just_water/article/details/7880379                http://blog.csdn.net/scnu_jiechao/article/details/8576202题意:一条固定高度与宽度的长长的(10000000)展栏,n(1 上候选人要贴n张海报到栏上,每张海报高度与展栏高度一样
转载
博文更新于 2013.08.26 ·
796 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

Java 简易C/S结构多线程聊天室 (阻塞式)

主要实现的功能:服务器端建立ServerSocket阻塞监听来自客户端的Socket连接,并为之开辟一个新的线程读取来自该连接的数据,广播每一个客户端数据,这里简单地使用一个链表保存所有来自客户端的所有Socket连接客户端连接上服务器端后主要有两个线程在工作:主线程:不断获取键盘的输入并写入该Socket中传输给服务器副线程:不断从服务器Socket流中读取传来的数据,打印到
原创
博文更新于 2013.10.24 ·
2817 阅读 ·
0 点赞 ·
0 评论 ·
7 收藏

K Best poj 3111 (01分数规划---二分搜索)

题目:http://poj.org/problem?id=3111思路:给定n个二元组(v,w)保留k个,使得 sigma(v)/sigma(w)的值最大:代码:#include#include#include#include#includeusing namespace std;const int Maxn=100001;const double eps=1e-8;
原创
博文更新于 2013.09.16 ·
1804 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

2013腾讯编程马拉松初赛第一场(3月21日) 湫湫系列故事——减肥记II ----线段树

题目:http://acm.hdu.edu.cn/showproblem.php?pid=4509虽然制定了减肥食谱,但是湫湫显然克制不住吃货的本能,根本没有按照食谱行动!于是,结果显而易见…  但是没有什么能难倒高智商美女湫湫的,她决定另寻对策——吃没关系,咱吃进去再运动运动消耗掉不就好了?  湫湫在内心咆哮:“我真是天才啊~\(≧▽≦)/~”  可是,大家要知道
原创
博文更新于 2013.08.02 ·
1334 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程之美 2013 全国挑战赛 资格赛 题目三 树上的三角形

有一个trick的地方:当路劲数大于等于50左右,在题目要求的区间内:1 ≤ len ≤ 1000000000,一定有满足三角形的情况。具体的可以参考斐波那契数列,最坏的情况就是斐波那契的序列。所以大数据要这样过,在cn>=50左右直接返回Yes.#include #include #include #include #include #include using names
原创
博文更新于 2013.07.14 ·
1564 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

【Hackerrank】Insert a node into a sorted doubly linked list

You’re given the pointer to the head node of a sorted doubly linked list and an integer to insert into the list. The data in the nodes of the list are in ascending order. Create a node and insert it i
原创
博文更新于 2013.12.16 ·
1761 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

利用矩阵快速幂求斐波那契数列

我们知道如果用记忆化搜索逐项递推可以将复杂度降低到O(n),但是对于更大规模的输入,这个算法效率还是不够高,那么我们考虑更高效的算法:二阶递推:f(n+2)=(1 1) f(n+1)                 f(n+1)  (1 0)   f(n)上面等式两边分别是矩阵,那么矩阵A就是等式右边第一个式子。只要求出A的n次,就可以求出f(n)。我们使用快速幂来求,这个算法的复
原创
博文更新于 2013.08.25 ·
2117 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Copy List with Random Pointer

A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy of the list.思路:第一遍正常复制链表,同时用哈希表保存链表中原始节点和新
原创
博文更新于 2014.08.07 ·
1034 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Reverse Linked List II

Reverse a linked list from position m to n. Do it in-place and in one-pass.For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->2->5->NULL.Note:Given m, n satisfy t
原创
博文更新于 2014.08.07 ·
1110 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Pow(x, n)

Implement pow(x, n).思路:快速幂运算,需要考虑指数为负数,同时底数为0的情况,这种属于异常数据,代码里没有体现。class Solution {public: double pow_abs(double x, unsigned int n) { if (n == 0) { return 1;
原创
博文更新于 2014.08.04 ·
944 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Construct Binary Tree from Inorder and Postorder Traversal

Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree./** * Definition for binary tree * struct TreeNode {
原创
博文更新于 2014.08.01 ·
999 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Partition List

Given a linked list and a value x, partition it such that all nodes less thanx come before nodes greater than or equal to x.You should preserve the original relative order of the nodes in each of
原创
博文更新于 2014.08.01 ·
884 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

C++ string 实现大整数相加减

任意两个大整数的加减算法,可自动判断正负号,代码如下:#include #include #include #include #include using namespace std;string BigInegerAdd(string s1, string s2) // s1+s2;{ int len = s1.size()>s2.size()?s1.size()+1:s
原创
博文更新于 2014.07.31 ·
4413 阅读 ·
1 点赞 ·
0 评论 ·
7 收藏

【LeetCode】Add Two Numbers

You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link
原创
博文更新于 2014.05.19 ·
888 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】Reorder List

zhuhttp://www.programcreek.com/2013/12/in-place-reorder-a-singly-linked-list-in-java/
转载
博文更新于 2014.05.19 ·
708 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多