自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 减肥计划

DescriptionFHC最近感觉自己体重有点超标了,决定要减肥FHC现在的体重为a公斤,他想减到b公斤。(a>b)他每天减肥的方式有两种,一种是节食减肥 每天可以减1公斤。一种是运动减肥,每天可减a%c[i] 公斤。(c是给定的一个数组,c[i]表示c中任意一个数,a是当前FHC的体重,是随着减肥过程变化的)问:FHC最少需要多少天能减到b公斤。Inpu...

2019-09-22 22:47:00 275

转载 Zero Array---思维题

链接 submitB. Zero Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an arraya1,a2,…,...

2019-08-10 11:42:00 206

转载 快速幂+快速乘

Givena,b,cfind the value ofabmodc(1≤a,b,c<263).InputContains multiple test cases. Each test is given in one line and contains three integersa,bandc.OutputFor each t...

2019-08-09 10:44:00 94

转载 线段树求逆序对

题目链接hdu-5775P is a permutation of the integers from 1 to N(index starting from 1).Here is the code of Bubble Sort in C++.for(int i=1;i<=N;++i) for(int j=N,t;j>i;—j) if(P[j-...

2019-08-09 10:39:00 241

转载 在一个含有1-n的序列中,每次找到第Ki小的数,并把它删除(线段树)

提交链接Data structure is one of the basic skills for Computer Science students, which is a particular way of storing and organizing data in a computer so that it can be used efficiently. Today let...

2019-08-09 10:05:00 141

转载 线段树(询问函数中更新函数)

题目链接At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is the place where all possible announcements are posted...

2019-08-07 20:02:00 96

转载 暴力出奇迹(第二周限时训练)

题目链接:You are given a picture consisting ofnnrows andmmcolumns. Rows are numbered from11tonnfrom the top to the bottom, columns are numbered from11tommfrom the left to the right. Eac...

2019-08-01 20:48:00 98

转载 Letters Shop

B. Letters Shoptime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe letters shop showcase is a stringss, co...

2019-08-01 20:22:00 117

转载 图论水题但是没想到

Note that this is the first problem of the two similar problems. You can hack this problem only if you solve both problems.You are given a tree withnnnodes. In the beginning,00is written on...

2019-08-01 19:48:00 100

空空如也

空空如也

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

TA关注的人

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