自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

楚江枫

不忘初心,方得始终

  • 博客(42)
  • 收藏
  • 关注

原创 【Codeforces 600C. Make Palindrome】& 构造

C. Make Palindrome time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output A string is called palindrome if it reads the same from left to right a

2017-08-23 18:05:22 409

原创 【Gym - 101350A. Sherlock Bones】 & 思维

A. Sherlock Bones time limit per test1.5 s memory limit per test256 MB inputstandard input outputstandard output The great dog detective Sherlock Bones is on the verge of a new discovery. But for

2017-08-23 17:37:22 645

原创 【FZUoj 2283 Tic-Tac-Toe】& dfs & 博弈

Problem 2283 Tic-Tac-Toe Accept: 159 Submit: 340 Time Limit: 1000 mSec Memory Limit : 262144 KBProblem DescriptionKim likes to play Tic-Tac-Toe.Given a current state, and now Kim is goin

2017-08-21 22:08:36 493

原创 【Gym - 101350 E - Competitive Seagulls】 & 博弈

There are two seagulls playing a very peculiar game. First they line up N unit squares in a line, all originally colored white.Let L be the length of the longest continuous sub-segment of white unit sq

2017-08-21 21:13:48 815

原创 【Gym - 101350 D - Magical Bamboos 】& gcd

In a magical forest, there exists N bamboos that don’t quite get cut down the way you would expect.Originally, the height of the ith bamboo is equal to hi. In one move, you can push down a bamboo and d

2017-08-21 21:03:36 483

原创 【 Gym - 101350 D - Magical Bamboos】

In a magical forest, there exists N bamboos that don’t quite get cut down the way you would expect.Originally, the height of the ith bamboo is equal to hi. In one move, you can push down a bamboo and d

2017-08-21 20:50:30 654

原创 【Gym - 101350K Owl Geeks Gym - 101350K】

The owls have the following equation:Y = a × x2 + b × xWith a, b, and N given, they decide to put into a set the integer values of Y that are less than or equal to N and that are outputted from the equ

2017-08-21 20:41:27 811

原创 【Codeforces 840 A. Leha and Function】& 构造

A. Leha and Function time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Leha like all kinds of strange things. Recently he liked the function

2017-08-19 09:45:42 1196

原创 【Codeforces 839 C. Journey】& dfs

C. Journey time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output There are n cities and n - 1 roads in the Seven Kingdoms, each road connects tw

2017-08-16 16:16:02 277

原创 【HDU 6129 Just do it】& 数学推导

Just do itTime Limit: 5000/2500 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others) Total Submission(s): 680 Accepted Submission(s): 385Problem Description There is a nonnegative integ

2017-08-16 12:21:22 333

原创 【HDU 6127 Hard challenge】& 斜率

Hard challengeTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others) Total Submission(s): 796 Accepted Submission(s): 321Problem Description There are n points on th

2017-08-16 11:48:53 308

原创 【HDU 6130 Kolakoski】& Kolakoski & 打表

KolakoskiTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others) Total Submission(s): 528 Accepted Submission(s): 275Problem Description This is Kolakosiki sequence:

2017-08-16 09:54:21 1428

原创 【Codeforces 839D. Winter is here】& 莫比乌斯反演

D. Winter is here time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output Winter is here at the North and the White Walkers are close. John Snow h

2017-08-15 11:08:21 357

原创 【Codeforces 837C. Two Seals】

C. Two Seals time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output One very important person has a piece of paper in the form of a rectangle a ×

2017-08-15 09:37:38 519

原创 【HPU 1415: 小ho的01串】& 尺取

1415: 小ho的01串 [字符串] 时间限制: 1 Sec 内存限制: 128 MB提交: 269 解决: 131 统计 题目描述 有一个由0和1组成的字符串,它好长呀——–一望无际恩,说正题,小ho的数学不太好,虽然是学计算机的但是看见0和1也是很头疼的,现在他的老师想让他计算出来包含K个1的子串有多少个—–呀,头要炸了!!!小ho知道你的数学棒棒哒,所以来找你帮忙了。输入 第一行是一

2017-08-14 17:49:20 365

原创 【HDU 6119 小小粉丝度度熊】 & 尺取

小小粉丝度度熊Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1036 Accepted Submission(s): 332Problem Description 度度熊喜欢着喵哈哈村的大明星——星星小姐。为什么度度熊会喜欢星星

2017-08-14 11:26:55 481

原创 【HDU 6114 Chess】

ChessTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 229 Accepted Submission(s): 164Problem Description 車是中国象棋中的一种棋子,它能攻击同一行或同一列中没有其他棋子阻隔的棋

2017-08-14 10:36:14 342

原创 【HDU 6113 度度熊的01世界 】 & DFS

度度熊的01世界 Accepts: 967 Submissions: 3064 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 度度熊是一个喜欢计算机的孩子,在计算机的世界中,所有事物实际上都只由0和1组成。现在给你一个n*m的图

2017-08-12 17:16:33 1126 2

原创 【HDU 6112 今夕何夕】

今夕何夕 Accepts: 1345 Submissions: 5533 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 今天是2017年8月6日,农历闰六月十五。小度独自凭栏,望着一轮圆月,发出了“今夕何夕,见此良人”的寂寞感慨

2017-08-12 17:13:46 749

原创 【HDU 6108 小C的倍数问题】 数学

小C的倍数问题 Accepts: 1990 Submissions: 4931 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 根据小学数学的知识,我们知道一个正整数x是3的倍数的条件是x每一位加起来的和是3的倍数。反之,如果

2017-08-12 17:10:15 820

原创 【POJ 3264 Balanced Lineup】 线段树

Balanced Lineup Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 55577 Accepted: 26052 Case Time Limit: 2000MS DescriptionFor the daily milking, Farmer John’s N cows (1 ≤ N ≤

2017-08-12 10:55:16 259

原创 【一个不错的学习网站 ~ QAQ 开源?】

开源?

2017-08-12 10:04:11 349

原创 【POJ 3468 A Simple Problem with Integers】 线段树

A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 115961 Accepted: 36028 Case Time Limit: 2000MS DescriptionYou have N integers, A1, A2, … , AN.

2017-08-11 21:31:40 333

原创 【HPU 1414: Kick Ass】

1414: Kick Ass [字符串] 时间限制: 1 Sec 内存限制: 128 MB提交: 66 解决: 8 统计 题目描述 你玩过一个叫做”Kick Ass - Destroy the web”的游戏吗?如果你想玩的话请点击此处当然,你没有玩过也没关系,这个游戏是通过js来加载一个飞船,让你可以通过控制它发射子弹来摧毁网页上的元素,从而获得分数。我们知道HTML是超文本标记语言,简单地

2017-08-11 19:55:21 483

原创 【HPU 1416 Kick Ass Biu】几何

1416: Kick Ass Biu [几何] 时间限制: 1 Sec 内存限制: 128 MB提交: 119 解决: 16 统计 题目描述 在玩Kick Ass的时候,可以发现子弹的发射与飞船的移动非常有趣。假设屏幕是个n×mn×m(竖直为n,水平为m)的矩形,以矩形左下角为原点,水平方向为x轴,向右为正方向,竖直方向为y轴,像上为正方向,建立平面直角坐标系。你的飞船在(x1,y1)点,射击

2017-08-11 18:15:41 379

原创 【HPU 1410 1410: QAQ & 火星情报局 】 数学 & 规律 & 哥特巴赫的猜想

1410: QAQ & 火星情报局 [数学] 时间限制: 1 Sec 内存限制: 128 MB提交: 224 解决: 28 统计 题目描述 QAQ~超级喜欢看火星情报局,每周六都是他一周中最期待的一天,QAQ喜欢和自己一样心愿是“世界和平”的薛之谦,喜欢“一言不合就飙车”的宇哥,喜欢“再扯的提案都能升华为鸡汤”的汪涵局长….当然也喜欢的里面各种各样奇葩有趣的提案…..最近 K 星颁布了一项新的

2017-08-11 18:12:23 784

原创 【HPU 1409: Watch Dog [最小生成树]】

1409: Watch Dog [最小生成树] 时间限制: 1 Sec 内存限制: 128 MB提交: 47 解决: 15 统计 题目描述 在2050年某城市,一个神秘组织通过一种名叫ctOS的控制系统掌控了全城所有人的联网设备(手机、电脑、监控、交通信号灯,甚至是银行警察局的安保系统),该系统通过很多遍布城市各地的基站来完成对电子设备的控制。Aiden Pearce(艾登·皮尔斯)是一名超级

2017-08-11 18:08:52 377

原创 【Codeforces 835 D. Palindromic characteristics】& 思维

D. Palindromic characteristics time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output Palindromic characteristics of string s with length |s| is

2017-08-11 10:07:22 396

原创 【HDU 6106 Classes】

ClassesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 237 Accepted Submission(s): 151Problem Description The school set up three elective

2017-08-10 21:54:36 477

原创 【HDU 6103 Kirinriki】 & 尺取

KirinrikiTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 541 Accepted Submission(s): 204Problem Description We define the distance of two s

2017-08-10 21:45:04 778 2

原创 【HDU 6092 Rikka with Subset】 思维 & 背包

Rikka with SubsetTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 846 Accepted Submission(s): 418Problem Description As we know, Rikka is po

2017-08-09 09:46:33 281

原创 【51nod 1288 汽油补给 】 贪心 & 思维

汽油补给 李陶冶 (命题人) 基准时间限制:1 秒 空间限制:131072 KB 分值: 160 有(N+1)个城市,0是起点N是终点,开车从0 -> 1 - > 2…… -> N,车每走1个单位距离消耗1个单位的汽油,油箱的容量是T。给出每个城市到下一个城市的距离D,以及当地的油价P,求走完整个旅途最少的花费。如果无法从起点到达终点输出-1。 例如D = {10, 9, 8}, P = {

2017-08-07 17:20:34 788

原创 【HDU 6083 度度熊的午饭时光】 + dp

度度熊的午饭时光Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 64 Accepted Submission(s): 32Problem Description 度度熊最期待每天的午饭时光,因为早饭菜品清淡,晚饭减肥不敢吃太多(胖

2017-08-07 12:16:13 422

原创 【HDU 6082 度度熊与邪恶大魔王】 + dp

度度熊与邪恶大魔王Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 110 Accepted Submission(s): 35Problem Description 度度熊为了拯救可爱的公主,于是与邪恶大魔王战斗起来。邪恶大魔王的

2017-08-07 12:03:34 362

原创 【HDU 6048 Puzzle】 逆序对 & 思维

PuzzleTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 446 Accepted Submission(s): 242Problem Description A Jigsaw puzzle contains N*M-1 p

2017-08-05 11:00:31 431

原创 【Codeforces 835 C. Star sky】+ dp

C. Star sky time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output The Cartesian coordinate system is set in the sky. There you can see n stars,

2017-08-05 09:21:43 487

原创 【HDU 6070 Dirt Ratio】 二分 & 线段树

Dirt RatioTime Limit: 18000/9000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others) Total Submission(s): 1275 Accepted Submission(s): 568 Special JudgeProblem Description In ACM/ICPC

2017-08-04 20:42:36 397

原创 【HDU 6069 Counting Divisors】 + 素数筛 & 思维

Counting DivisorsTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others) Total Submission(s): 1372 Accepted Submission(s): 494Problem Description In mathematics, the

2017-08-04 10:12:44 393

原创 【HDU 6040 Hints of sd0061】 思维 & STL

Hints of sd0061Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 2379 Accepted Submission(s): 721Problem Description sd0061, the legend of

2017-08-03 12:01:20 355

原创 【HDU 6035 Colorful Tree】+ 树形 dp + 思维

Colorful TreeTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 2124 Accepted Submission(s): 908Problem Description There is a tree with n n

2017-08-02 21:53:06 373

空空如也

空空如也

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

TA关注的人

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