自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(45)
  • 资源 (23)
  • 收藏
  • 关注

原创 Catch That Cow

Catch That CowTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 75017 Accepted: 23685DescriptionFarmer John has been informed of the location of a fugitiv

2016-07-30 10:48:22 121

原创 POJ 2251:Dungeon Master(三维BFS)

Dungeon MasterTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 26580 Accepted: 10361DescriptionYou are trapped in a 3D dungeon and need to find the quick

2016-07-29 21:22:25 138

原创 hdu 1242 Rescue(BFS)(犯晕)

Problem DescriptionAngel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. There are WALLs, ROADs, and GUARDs in the prison.Ang...

2016-07-29 17:23:38 227

原创 hdu Oil Deposits(DFS)

Problem DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a...

2016-07-29 08:42:18 203

原创 hdu 1181 变形课(DFS)

Problem Description呃......变形课上Harry碰到了一点小麻烦,因为他并不像Hermione那样能够记住所有的咒语而随意的将一个棒球变成刺猬什么的,但是他发现了变形咒语的一个统一规律:如果咒语是以a开头b结尾的一个单词,那么它的作用就恰好是使A物体变成B物体.Harry已经将他所会的所有咒语都列成了一个表,他想让你帮忙计算一下他是否能完成老师的作业,将一个B(ball...

2016-07-28 20:51:08 199

原创 Red and Black(DFS)

DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjacent til

2016-07-28 15:13:27 211

原创 NYOJ 58-最少步数【DFS&&BFS】

 描述这有一个迷宫,有0~8行和0~8列: 1,1,1,1,1,1,1,1,1 1,0,0,1,0,0,1,0,1 1,0,0,1,1,0,0,0,1 1,0,1,0,1,1,0,1,1 1,0,0,0,0,1,0,0,1 1,1,0,1,0,1,0,0,1 1,1,0,1,0,1,0,0,1 1,1,0,1,0,0,0,0,1 1,1,1,1,1,1,1,1,10...

2016-07-28 10:54:17 333

原创 hdoj 1969 Pie 【二分】

Problem DescriptionMy birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F of my friends are coming to

2016-07-27 20:08:33 179

原创 Expanding Rods

DescriptionWhen a thin rod of length L is heated n degrees, it expands to a new length L' = (1+n*C)*L, where C is the coefficient of heat expansion.When a thin rod is mounted on two solid walls ...

2016-07-27 16:29:19 187

原创 Crossed Ladders(二分)

DescriptionA narrow street is lined with tall buildings. An x foot long ladder is rested at the base of the building on the right side of the street and leans on the building on the left side. A y

2016-07-27 11:22:09 375

原创 The Frog's Games(二分)

Problem DescriptionThe annual Games in frogs' kingdom started again. The most famous game is the Ironfrog Triathlon. One test in the Ironfrog Triathlon is jumping. This project requires the frog a

2016-07-27 09:52:02 362

转载 Can you find it?(二分)

Problem DescriptionGive you three sequences of numbers A, B, C, then we give you a number X. Now you need to calculate if you can find the three numbers Ai, Bj, Ck, which satisfy the formula Ai+Bj

2016-07-26 18:06:57 156

原创 HDU1551:Cable master(二分)

DescriptionInhabitants of the Wonderland have decided to hold a regional programming contest. The Judging Committee has volunteered and has promised to organize the most honest contest ever. It wa

2016-07-26 16:01:05 182

原创 Can you solve this equation?(二分)

Problem DescriptionNow,given the equation 8*x^4 + 7*x^3 + 2*x^2 + 3*x + 6 == Y,can you find its solution between 0 and 100;Now please try your lucky.  InputThe first line of the input conta...

2016-07-26 10:58:49 209

原创 Codeforces 612C Replace To Make Regular Bracket Sequence 【stack】

C. Replace To Make Regular Bracket Sequencetime limit per test 1 secondmemory limit per test 256 megabytesinput standard inputoutput standard outputYou are give

2016-07-25 21:38:52 186

原创 HDU1702:ACboy needs your help again!(栈和队列的应用)

Problem DescriptionACboy was kidnapped!! he miss his mother very much and is very scare now.You can't image how dark the room he was put into is, so poor :(.As a smart ACMer, you want to get A

2016-07-25 17:05:14 216

原创 C++栈和队列

使用标准库的栈和队列时,先包含相关的头文件#include<stack>#include<queue>定义栈如下:stack<int> stk;定义队列如下:queue<int> q;栈提供了如下的操作[cpp]view plaincopys.empty()如果栈为...

2016-07-25 15:47:30 160

原创 Radar Installation

DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea side. And any radar installation, l

2016-07-23 19:54:03 203

原创 Doing Homework again(贪心)

Problem DescriptionIgnatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignatius hands in ...

2016-07-23 16:44:00 270

原创 Key Set(快速幂)

Problem Descriptionsoda has a set S with n integers {1,2,…,n}. A set is called key set if the sum of integers in the set is an even number. He wants to know how many nonempty subsets ofS a

2016-07-23 15:25:31 239

原创 Pseudoprime numbers

Problem DescriptionFermat's theorem states that for any prime number p and for any integer a > 1, a^p == a (mod p). That is, if we raise a to the pth power and divide by p, the remainder is a. Some

2016-07-23 11:56:24 251

原创 快速幂二进制取模算法

矩阵的快速幂是用来高效地计算矩阵的高次方的。将朴素的o(n)的时间复杂度,降到log(n)。这里先对原理(主要运用了矩阵乘法的结合律)做下简单形象的介绍:一般一个矩阵的n次方,我们会通过连乘n-1次来得到它的n次幂。 但做下简单的改进就能减少连乘的次数,方法如下: 把n个矩阵进行两两分组,比如:A*A*A*A*A*A =&gt; (A*A)*(A*A)...

2016-07-23 10:57:46 4584

原创 人见人爱A^B(快速幂求余)

Description求A^B的最后三位数表示的整数。 说明:A^B的含义是“A的B次方”  Input输入数据包含多个测试实例,每个实例占一行,由两个正整数A和B组成(1 Output对于每个测试实例,请输出A^B的最后三位表示的整数,每个输出占一行。  Sample Input

2016-07-23 10:23:01 394

原创 快速幂取模

求n的m次方#includeint quickpow(int n,int m){ int ans=1,base=n; while(m) { if(m&1) ans*=base; base*=base; m>>=1; } return ans;}int main(){ int n,m; while(~scanf("%d%d",&n,&m)) {

2016-07-23 09:56:22 329

原创 TIANKENG’s restaurant(贪心)

TIANKENG’s restaurantTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 1054    Accepted Submission(s): 455Problem Description

2016-07-22 20:41:05 203

原创 Rightmost Digit

Problem DescriptionGiven a positive integer N, you should output the most right digit of N^N. InputThe input contains several test cases. The first line of the input is a single integer T

2016-07-22 17:52:02 288

原创 Repair the Wall(贪心)

Problem DescriptionLong time ago , Kitty lived in a small village. The air was fresh and the scenery was very beautiful. The only thing that troubled her is the typhoon.When the typhoon came, ev

2016-07-22 16:36:39 174

原创 Saving HDU

Problem Description话说上回讲到海东集团面临内外交困,公司的元老也只剩下XHD夫妇二人了。显然,作为多年拼搏的商人,XHD不会坐以待毙的。  一天,当他正在苦思冥想解困良策的时候,突然想到了自己的传家宝,那是公司成立的时候,父亲作为贺礼送来的一个锦囊,徐父当时交代,不到万不得已的时候,不要打开它。“现在不正是最需要的时候吗?”,一边想,XHD一边找到了这个精心保管的锦囊,

2016-07-22 16:04:25 155

原创 FatMouse' Trade

Description康康准备了 M 斤的食物, 准备跟舍长交换哲学之宝 ♂舍长有 N 个房间. 第 i 个房间有 J[i] 的 ♂ 需要 F[i] 斤的食物. 康康可以不换完整个房间的♂ ,他可以用 F[i]* a% 的食物 换 J[i]* a% 的 ♂ 现在给你一个实数 M 问你康康最多能获得多少的 ♂InputThe input consist

2016-07-22 15:36:02 215

原创 今年暑假不AC( 活动安排)

Description“今年暑假不AC?” “是的。” “那你干什么呢?” “看世界杯呀,笨蛋!” “@#$%^&*%...” 确实如此,世界杯来了,球迷的节日也来了,估计很多ACMer也会抛开电脑,奔向电视了。 作为球迷,一定想看尽量多的完整的比赛,当然,作为新时代的好青年,你一定还会看一些其它的节目,比如新闻联播(永远不要忘记关心国家大事)、非常6+7、超级

2016-07-22 11:57:00 387

原创 Tricky Sum

Description求和是一种最常见的运算,我们经常做的就是1加到n的和。例如,1加到100的和是5050。但是现在,我们稍微变动一下求和方法,对于属于2的幂次的数,我们做的是减法,其余仍旧做加法。例如,当n=4的时候,最后的结果应该是-1-2+3-4=-4,因为1、2、4分别是2的0次方、2的1次方、2的2次方。现在请你来计算t次这样的运算。Input输入第

2016-07-22 09:00:35 284

原创 CodeForces 597A Divisibility(技巧)

DescriptionFind the number of k-divisible numbers on the segment [a, b]. In other words you need to find the number of such integer values x that a ≤ x ≤ b and x is divisible by k.In

2016-07-22 08:37:59 351

原创 Pasha and Stick

DescriptionPasha has a wooden stick of some positive integer length n. He wants to perform exactly three cuts to get four parts of the stick. Each part must have some positive integer length and t

2016-07-21 21:40:44 176

原创 New Year and Days

DescriptionToday is Wednesday, the third day of the week. What's more interesting is that tomorrow is the last day of the year 2015.Limak is a little polar bear. He enjoyed this year a lot. Now,

2016-07-21 21:22:48 145

原创 Patrick and Shopping

DescriptionToday Patrick waits for a visit from his friend Spongebob. To prepare for the visit, Patrick needs to buy some goodies in two stores located near his house. There is a d1 meter long r

2016-07-21 17:13:56 162

原创 the Sum of Cube

Problem DescriptionA range is given, the begin and the end are both integers. You should sum the cube of all the integers in the range. InputThe first line of the input is T(1 Each case of

2016-07-21 08:52:32 213

原创 不要62

Problem Description杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别的士司机和乘客的心理障碍,更安全地服务大众。不吉利的数字为所有含有4或62的号码。例如:62315 73418 88914都属于不吉利号码。但是,61152虽然含有6和

2016-07-21 08:48:51 243

原创 最小公倍数

Problem Description给定两个正整数,计算这两个数的最小公倍数。 Input输入包含多组测试数据,每组只有一行,包括两个不大于1000的正整数. Output对于每个测试用例,给出这两个数的最小公倍数,每个实例输出一行。 Sample Input10 14 Sample Output70includ

2016-07-21 08:41:02 220

原创 素数判定

hdoj 2012Problem Description对于表达式n^2+n+41,当n在(x,y)范围内取整数值时(包括x,y)(-39 Input输入数据有多组,每组占一行,由两个整数x,y组成,当x=0,y=0时,表示输入结束,该行不做处理。 Output对于每个给定范围内的取值,如果表达式的值都为素数,则输出"OK",否则请输出“Sorry”,每组输

2016-07-21 08:38:26 710

原创 美素数

Problem Description  小明对数的研究比较热爱,一谈到数,脑子里就涌现出好多数的问题,今天,小明想考考你对素数的认识。  问题是这样的:一个十进制数,如果是素数,而且它的各位数字和也是素数,则称之为“美素数”,如29,本身是素数,而且2+9 = 11也是素数,所以它是美素数。  给定一个区间,你能计算出这个区间内有多少个美素数吗? Input

2016-07-20 20:38:27 606

MobaXterm.11.0_CN.zip

中文版MobaXterm是一个全功能的终端软件,支持SSH,FTP,串口,VNC,X server等功能,有丰富的插件,可以进一步增强功能,已经可以让我们装逼装上天。

2020-04-21

Notepad3_5.19.630.2381_x64.zip

Notepad3要比notepad++好用的多,版本也比较新,轻量快捷的文本编辑软件,在日常编辑文本是非常够用的

2020-04-08

MobaXterm.11.0.zip

MobaXterm是一个全功能的终端软件,支持SSH,FTP,串口,VNC,X server等功能,有丰富的插件,可以进一步增强功能,已经可以让我们装逼装上天。

2020-03-27

jd-gui-1.6.5.zip

jd-gui可以查看class文件,主要用于对jar或者是class文件的查看,对于线上的坏境问题排查时,如果需要查看文件可以使用这个工具

2020-03-26

WinSCP.zip

可以向linux服务器中上传文件,好用,

2020-02-13

finalshell_install.zip

ssh远程连接工具,可以连接linux系统,很好用,ssh远程连接工具,可以连接linux系统,很好用

2020-02-13

阿里编程规范华山版1.5.rar

本次开发编码规范手册的变更,相比上一版本存在较多的变化。 主要集中在,对于其中的原理有了更深层次的追踪和了解: 1. 集合元素章节对于集合元素的处理上容易出现问题的地方。 2. 新增敏捷模式下,对设计文档的要求(哪些必须有,哪些可以无) 3. 对于数据库查询语句的规约,索引的使用规约 4. 数据库字段命名规则,库表字段命名 5. 单元测试的要求 6. 并发处理JDK8

2019-12-07

智游前端学习.zip

智游实习前端HTML+CSS学习

2019-05-29

Web前端静态页面.zip

只包涵前端静态页面,包括html,css和js,有一整套的页面,包括首页,搜索,订单,个人主页,商标,注册,登陆和秒杀团购页面等。

2019-05-11

黑马商城加后端管理。。

使用servlet+jsp实现的黑马商城系统,使用mysql作为数据库,数据库下载链接:https://pan.baidu.com/s/1MIvn8bbjanuwVGz72rwsjw 提取码:2c6w

2019-03-15

黑马49期Hibernate学习

黑马49期Hibernate学习资料,有完整的笔记和视频,视频在资料里面为BT种子

2019-03-03

黑马版本控制工具svn学习

黑马版本控制工具svn的视频和文档都有,是学习svn的学习资料

2019-03-02

tomcat8解压版(免安装)

tomcat8解压版(免安装)能够使电脑同时安装多个tomcat,比安装版要方便的多,因为该资源被下载了很多次,下载所需积分变多,大家可以去官网自行下载,https://tomcat.apache.org/download-80.cgi,打开此链接进行下载

2019-03-02

Xftp5远程连接软件

xftp5免费版_下载,xftp5工具,xftp5免费版_下载(选择家庭或个人安装)

2018-06-30

mysql-connector-java-5.1.46

mysql-connector-java-5.1.46,mysql-connector-java-5.1.46

2018-05-22

jdk1.8中文文档

jdk中文翻译,jdk中文,1.8 API 中文版,是你学习java的利器。

2018-04-23

北京动力节点SSM框架讲义(完整版

北京 动力节点ssm讲义 包涵spring+springmvc+mybatis,也包含视频教学

2018-02-11

c++汽车售票系统

采用txt文件作为保存数据的库,里面包涵完整的exe可运行文件和java代码,并且有实验报告。

2018-02-08

HADOOP权威指南 第3版 中文版 完整版的

这次的HADOOP权威指南 第3版 中文版是完整版的,解压后有130M。Hadoop是一个开发和运行处理大规模数据的软件平台,是Appach的一个用java语言实现开源软件框架,实现在大量计算机组成的集群中对海量数据进行分布式计算。本书由浅入深,结合理论和实践,向您介绍Hadoop这款理想的工具

2018-02-08

即时通信课程设计

本系统建立在Java平台上,系统的设计使用了面向对象技术和面向对象的设计原则。系统采用C/S结构,客户端与客户端以及客户端与服务器端之间通过Socket传送消息。使用Java语言编写,开发工具采用MyEclipse,以SQL Server 2008为数据库。服务器端设计与实现过程中,采用了多线程技术,可以在单个程序当中同时运行多个不同的线程,执行不同的任务。包括完整的数据库文件和java代码,更重要的使有7000多字的报告已经为你准备好了,快来下载吧。

2018-02-08

Spring框架JAR包

完整的Spring框架的JAR包,使用Java语言进行开发,使用它的Spring框架,需要在项目中导入相应的jar包,这个压缩包中既是相应的jar包。

2018-02-05

快学Scala.中文完整版

中文版scala。《快学Scala》是一门以Java虚拟机(JVM)为目标运行环境并将面向对象和函数式编程语言的特性结合在一起的编程语言。你可以使用Scala编写出更加精简的程序,同时充分利用并发的威力。由于Scala运行于JVM之上,因此它可以访问任何Java类库并且与Java框架进行互操作。《快学Scala》从实用角度出发,给出了一份快速的、基于代码的入门指南。Horstmann以“博客文章大小”的篇幅介绍了Scala的概念,让你可以快速地掌握和应用。实际上手的操作,清晰定义的能力层次,从初级到专家级,全程指导。

2018-02-02

空空如也

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

TA关注的人

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