自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 禁止Gradle检查PNG的合法性

学习第一行代码时,在工程中加入png图时报错经过查资料发现这是png图片没有达到标准在build.gradle中加入以下代码android{ ... aaptOptions.cruncherEnabled=false aaptOptions.useNewCruncher=false ...}问题得到解决

2017-04-29 17:38:58 554

原创 POJ 1276 Cash Machine

DescriptionA Bank plans to install a machine for cash withdrawal. The machine is able to deliver appropriate @ bills for a requested cash amount. The machine uses exactly N distinct bill denominatio

2014-11-25 21:17:03 232

原创 HDU 5105 Math Problem

Problem DescriptionHere has an function:  f(x)=|a∗x3+b∗x2+c∗x+d|(L≤x≤R)Please figure out the maximum result of f(x). InputMultiple test cases(less than 100). For each test case, there wi

2014-11-18 20:14:35 339

原创 hdu 5104 Primes Problem

Problem DescriptionGiven a number n, please count how many tuple(p1, p2, p3) satisfied that p1 InputMultiple test cases(less than 100), for each test case, the only line indicates the positi

2014-11-18 19:53:31 264

原创 hdu 5087 Revenge of LIS II

Problem DescriptionIn computer science, the longest increasing subsequence problem is to find a subsequence of a given sequence in which the subsequence's elements are in sorted order, lowest to hig

2014-11-02 17:23:14 288

原创 hdu 5086 Revenge of Segment Tree

Problem DescriptionIn computer science, a segment tree is a tree data structure for storing intervals, or segments. It allows querying which of the stored segments contain a given point. It is, in p

2014-11-01 22:57:13 373

原创 hdu 4472 dp

Problem DescriptionProf. Tigris is the head of an archaeological team who is currently in charge of an excavation in a site of ancient relics.This site contains relics of a village where civilizat

2014-10-30 22:35:35 243

原创 FZU 2103 排列组合

Problem DescriptionBin has a dream that he and Jing are both in a wonderland full of beautiful gifts. Bin wants to choose some gifts for Jing to get in her good graces.There are N different gift

2014-10-30 22:31:05 429

原创 hdu 2199 二分

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

2014-10-30 22:28:09 286

原创 hdu 4405 飞行棋 (dp)

Problem DescriptionHzz loves aeroplane chess very much. The chess map contains N+1 grids labeled from 0 to N. Hzz starts at grid 0. For each step he throws a dice(a dice have six faces with equal pr

2014-10-30 22:26:20 398

原创 hdu 1978 dfs+dp

Problem Description这是一个简单的生存游戏,你控制一个机器人从一个棋盘的起始点(1,1)走到棋盘的终点(n,m)。游戏的规则描述如下:1.机器人一开始在棋盘的起始点并有起始点所标有的能量。2.机器人只能向右或者向下走,并且每走一步消耗一单位能量。3.机器人不能在原地停留。4.当机器人选择了一条可行路径后,当他走到这条路径的终点时,他将只有终点所标记的能量。

2014-10-30 22:25:26 416

原创 hdu 2717 bfs

Problem DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number line and the cow is at a p

2014-10-30 22:24:42 298

原创 hdu 1230 水

Problem Description读入两个不超过25位的火星正整数A和B,计算A+B。需要注意的是:在火星上,整数不是单一进制的,第n位的进制就是第n个素数。例如:地球上的10进制数2,在火星上记为“1,0”,因为火星个位数是2进制的;地球上的10进制数38,在火星上记为“1,1,1,0”,因为火星个位数是2进制的,十位数是3进制的,百位数是5进制的,千位数是7进制的……Input

2014-10-30 22:19:45 274

空空如也

空空如也

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

TA关注的人

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