![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
刷刷题
文章平均质量分 95
缓步安歌
可可冲冲冲
展开
-
kuangbin 专题一 简单搜索 (POJ 3278) Catch The Cow
Catch The CowTime limit 2000 msMemory limit 65536 kBOS LinuxFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a...原创 2019-05-04 16:10:23 · 132 阅读 · 0 评论 -
kuangbin 专题一 简单搜索 (HDU 2612)Find a way
Time limit1000 msMemory limit32768 kBOSWindowsPass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to meet....原创 2019-05-17 18:45:37 · 222 阅读 · 0 评论 -
kuangbin 专题七 线段树(POJ 3468)A Simple Problem with Integers
A Simple Problem with IntegersTime limit5000 msCase time limit2000msMemory limit131072 kBOSLinuxYou have N integers, A1, A2, … , AN. You need to deal with two kinds of operation...原创 2019-05-24 15:12:20 · 130 阅读 · 0 评论 -
kuangbin 专题二十二 区间DP(CodeForces 149D)Coloring Brackets
Coloring BracketsTime limit5000 msCase time limit2000msMemory limit131072 kBOSLinuxOnce Petya read a problem about a bracket sequence. He gave it much thought but didn’t find a ...原创 2019-09-11 14:23:03 · 161 阅读 · 0 评论 -
kuangbin 专题十九 矩阵(HDU 4990)Reading comprehension
Reading comprehensionTime limit1000 msMemory limit32768 kBOSWindowsRead the program below carefully then answer the question.#pragma comment(linker, "/STACK:1024000000,1024000000")...原创 2019-05-15 22:03:54 · 133 阅读 · 0 评论 -
kuangbin 专题七 线段树(HDU 1166)敌兵布阵
敌兵布阵Time limit1000 msMemory limit32768 kBOSWindowsC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一...原创 2019-05-22 12:04:44 · 203 阅读 · 0 评论 -
kuangbin 专题七 线段树(HDU 1754)I Hate It
I Hate ItTime limit3000 msMemory limit32768 kBOSWindows很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。Input本题目...原创 2019-05-24 14:52:32 · 111 阅读 · 0 评论 -
kuangbin 专题一 简单搜索(POJ1231)棋盘问题
棋盘问题在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一个空格隔开,表示了将在一个n*n的矩阵内描述棋盘,以及摆放棋子的数目。n <= 8 , k <...原创 2019-04-12 23:32:13 · 160 阅读 · 0 评论 -
kuangbin 专题一 简单搜索(POJ 2251)Dungeon Master
Dungeon MasterYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one un...原创 2019-03-29 23:19:34 · 234 阅读 · 0 评论 -
kuangbin 专题二十二 区间DP(POJ 2955)Brackets
BracketsTime limit1000 msMemory limit65536 kBOSLinuxWe give the following inductive definition of a “regular brackets” sequence:the empty sequence is a regular brackets sequence,i...原创 2019-09-11 17:04:42 · 117 阅读 · 0 评论 -
kuangbin 专题二十二 区间DP(POJ 1651)Multiplication Puzzle
Multiplication PuzzleTime limit1000 msMemory limit65536 kBOSLinuxThe multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move ...原创 2019-09-13 18:54:18 · 165 阅读 · 0 评论 -
kuangbin 专题二十二 区间DP(HDU 2476)String painter
String painterTime limit2000 msMemory limit32768 kBOSWindowsThere are two strings A and B with equal length. Both strings are made up of lower case letters. Now you have a powerful ...原创 2019-09-13 19:09:56 · 160 阅读 · 0 评论 -
蓝桥杯 历届试题 PREV-55小计算器
蓝桥杯 历届试题 PREV-55小计算器资源限制时间限制:1.0s 内存限制:256.0MB问题描述模拟程序型计算器,依次输入指令,可能包含的指令有1. 数字:‘NUM X’,X为一个只包含大写字母和数字的字符串,表示一个当前进制的数 2. 运算指令:‘ADD’,‘SUB’,‘MUL’,‘DIV’,‘MOD’,分别表示加减乘,除法取商,除法取余 3. 进制转换指令:‘CHANGE K’,将当前进制转换为K进制(2≤K≤36) 4. 输出指令:‘EQUAL’,以当前进制输出结果原创 2020-10-15 21:49:46 · 154 阅读 · 0 评论 -
Texas hold'em Poker 2019 沈阳网络赛
Texas hold’em PokerTime limit1000 msMemory limit262144KRecently, Yang was addicted to Texas hold’em Poker. So he found a lot of people to play with him. Due to the large number of peopl...原创 2019-12-04 20:34:50 · 602 阅读 · 3 评论 -
Fence Building 2017 亚洲乌鲁木齐
Fence BuildingTime limit1000 msMemory limit262144KFarmer John owns a farm. He first builds a circle fence. Then, he will choose n points and build some straight fences connecting them. ...原创 2019-10-13 21:32:32 · 180 阅读 · 0 评论 -
(HDU 1033)Edge
EdgeFor products that are wrapped in small packings it is necessary that the sheet of paper containing the directions for use is folded until its size becomes small enough. We assume that a sheet of ...原创 2019-02-26 21:37:23 · 195 阅读 · 0 评论 -
(POJ 1017)Packets
PacketsA factory produces products packed in square packets of the same height h and of the sizes 11, 22, 33, 44, 55, 66. These products are always delivered to customers in the square parcels of the...原创 2019-01-19 18:08:54 · 173 阅读 · 0 评论 -
(UVA 291)The House Of Santa Claus
The House Of Santa ClausIn your childhood you most likely had to solve the riddle of the house of Santa Claus. Do you remember that the importance was on drawing the house in a stretch without li...原创 2019-05-05 19:37:42 · 518 阅读 · 0 评论 -
(HDU 6182)A Math Problem
A Math ProblemTime limit 1000 msMemory limit 32768 kBOS WindowsYou are given a positive integer n, please count how many positive integers k satisfy k^k ≤ n.Input There a...原创 2019-05-14 10:36:30 · 256 阅读 · 0 评论 -
(HDU 6188)Duizi and Shunzi
Duizi and ShunziNike likes playing cards and makes a problem of it. Now give you n integers, ai(1≤i≤n).We define two identical numbers (eg:2,2) a Duizi, and three consecutive positive integers (eg:...原创 2019-05-14 11:33:57 · 115 阅读 · 0 评论 -
(HDU 6185)Covering
CoveringTime limit2000msMemory limit32768 kBOSWindowsBob’s school has a big playground, boys and girls always play games here after school.To protect boys and girls from getting hu...原创 2019-05-15 18:35:57 · 165 阅读 · 0 评论 -
(计蒜客蓝桥杯模拟赛 五)程序设计:引爆炸弹
程序设计:引爆炸弹时间限制1000ms内存限制131072K在一个 n×m 的方格地图上,某些方格上放置着炸弹。手动引爆一个炸弹以后,炸弹会把炸弹所在的行和列上的所有炸弹引爆,被引爆的炸弹又能引爆其他炸弹,这样连锁下去。现在为了引爆地图上的所有炸弹,需要手动引爆其中一些炸弹,为了把危险程度降到最低,请算出最少手动引爆多少个炸弹可以把地图上的所有炸弹引爆。输入格式...原创 2019-05-22 10:08:10 · 340 阅读 · 0 评论 -
(POJ 2796) Feel Good
Feel GoodBill is developing a new mathematical theory for human emotions. His recent investigations are dedicated to studying how good or bad days influent people’s memories about some period of life...原创 2019-07-22 10:36:05 · 170 阅读 · 0 评论 -
(HDU 5459 )Jesus Is Here 2015 沈阳
Jesus Is HereI’ve sent Fang Fang around 201314 text messages in almost 5 years. Why can’t she make sense of what I mean?“But Jesus is here!” the priest intoned. “Show me your messages.”Fine, the fi...原创 2019-09-01 21:07:42 · 125 阅读 · 0 评论 -
(HDU 5954)2016亚洲区沈阳站 Do not pour out
Do not pour outTime limit1000 msMemory limit262144KYou have got a cylindrical cup. Its bottom diameter is 2 units and its height is 2 units as well.The height of liquid level in the ...原创 2019-10-01 22:03:21 · 142 阅读 · 0 评论 -
(HDU 1084)What Is Your Grade
What Is Your Grade“Point, point, life of student!”This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many points can you get? Now, I told you the ru...原创 2019-02-27 20:40:29 · 273 阅读 · 1 评论