自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (4)
  • 收藏
  • 关注

原创 hihoCoder : 题目1 : 小Hi的烦恼(bitset应用 TODO: 待优化 )

题目1 : 小Hi的烦恼 时间限制:5000ms 单点时限:1000ms 内存限制:1024MB描述小Hi从小的一大兴趣爱好就是学习,但是他发现尽管他认真学习,依旧有学神考的比他好。小Hi在高中期间参加了市里的期末考试,一共五门:语文、数学、英语、物理、化学。成绩出来之后,小Hi发现有些同学,所有科目都考的比他好,他很烦恼。所以他想知道所有科目都比自己名次靠前的同学的人数。为了方便,可以认为不

2017-04-23 20:36:09 736 1

原创 hihoCoder-1515 : 分数调查(带权并查集)

1515 : 分数调查时间限制:10000ms 单点时限:1000ms 内存限制:256MB描述小Hi的学校总共有N名学生,编号1-N。学校刚刚进行了一场全校的古诗文水平测验。 学校没有公布测验的成绩,所以小Hi只能得到一些小道消息,例如X号同学的分数比Y号同学的分数高S分。 小Hi想知道利用这些消息,能不能判断出某两位同学之间的分数高低? 输入第一行包含三个整数N, M和Q。N表示学生总

2017-04-23 20:33:32 572

原创 hihoCoder - 1514 : 偶像的条件

1514 : 偶像的条件时间限制:10000ms 单点时限:1000ms 内存限制:256MB描述小Hi的学校正面临着废校的大危机。面对学校的危机,小Hi同学们决定从ABC三个班中各挑出一名同学成为偶像。 成为偶像团体的条件之一,就是3名团员之间的身高差越小越好。 已知ABC三个班同学的身高分别是A1..AN, B1..BM 和 C1..CL。请你从中选出3名同学Ai, Bj, Ck使得D=

2017-04-23 20:29:08 854

原创 swap-nodes-in-pairs(单链表交换点对)

题目描述Given a linked list, swap every two adjacent nodes and return its head.For example, Given1->2->3->4, you should return the list as2->1->4->3.Your algorithm should use only constant space. You may

2017-04-10 21:57:04 432

原创 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 l

2017-04-10 21:38:16 395

原创 sum-root-to-leaf-numbers

题目描述Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which represents the number123.Find the total sum of all

2017-04-09 20:30:24 271

原创 max-points-on-a-line(求最多点数的一条线)

题目描述Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. import java.util.HashMap;import java.util.Map;/** * Definition for a point. * class Point { *

2017-04-09 20:21:10 631

原创 linked-list-cycle-ii (链表判环 并返回交点)

题目描述Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up: Can you solve it without using extra space? /** * Definition for singly-linked list. * cl

2017-04-09 20:17:17 342

原创 leetCode - Minimum Depth of Binary Tree

题目描述 Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node. 就是求二叉树的最小深度。/** * Definition for bi

2017-04-09 18:46:43 294

原创 Centos7 Apache-RocketMq4.+搭建及rocketmq demo

阿里云官方已经提供了云消息队列服务 官方文档地址:https://help.aliyun.com/product/29530.html?spm=5176.doc44712.3.1.DvSXmn服务端安装jdk自行安装 安装maven:cd /usr/local/srcwget http://mirrors.hust.edu.cn/apache/maven/maven-3/3.5.0/binar

2017-04-09 13:40:30 6145 1

CPU-Z测试参数详解

cpu-z对系统测试的各项参数进行了 详细的分析和原理介绍~!让您成为“业内人士”。此文档必为卖家买家的必备神器!

2015-11-10

宾馆信息管理系统课程设计报告(大一)

大一的课程设计 一个宾馆信息管理系统 ,同时适用其他 管理系统课题 只需做稍加修改。

2015-09-08

《C语言程序设计》课后习题答案(第四版)谭浩强.docx

《C语言程序设计》课后习题答案(第四版)谭浩强 从此 课后习题再也不是事 帮助同学们练习c语言实践能力 提高技能

2014-11-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除