小坏蛋_千千

I was caught in a heavy rain!

Codeforces 892 C. Pride (枚举)

Description You have an array a with length n, you can perform operations. Each operation is like this: choose two adjacent elements from a, say x ...

2017-11-18 11:17:52

阅读数:503

评论数:0

HDU 6052 To my boyfriend (计数)

Description Dear Liao I never forget the moment I met with you. You carefully asked me: “I have a very difficult problem. Can you teach me?”. ...

2017-08-09 15:02:21

阅读数:166

评论数:0

山东省第八届 ACM 省赛 sum of power (求和、水)

Problem Description Calculate ∑ni=1im mod (1000000000+7)\sum_{i=1}^ni^m~mod~(1000000000+7) for given n,m. Input Input contains two integers n,m(1...

2017-05-09 19:04:21

阅读数:519

评论数:0

POJ 2029 Get Many Persimmon Trees (枚举)

Description Seiji Hayashi had been a professor of the Nisshinkan Samurai School in the domain of Aizu for a long time in the 18th century. In order...

2017-03-17 20:04:09

阅读数:288

评论数:0

POJ 1054 The Troublesome Frog (枚举+优化)

Description In Korea, the naughtiness of the cheonggaeguri, a small frog, is legendary. This is a well-deserved reputation, because the frogs jump ...

2017-03-16 17:41:31

阅读数:304

评论数:0

HDU 4858 项目管理 (简单图+暴力)

Problem Description 我们建造了一个大项目!这个项目有n个节点,用很多边连接起来,并且这个项目是连通的! 两个节点间可能有多条边,不过一条边的两端必然是不同的节点。 每个节点都有一个能量值。 现在我们要编写一个项目管理软件,这个软件呢有两个操作:...

2017-03-12 19:35:31

阅读数:256

评论数:0

POJ 3096 Surprising Strings (枚举)

Description The D-pairs of a string of letters are the ordered pairs of letters that are distance D from each other. A string is D-unique if all of...

2017-03-08 12:52:43

阅读数:393

评论数:0

HDU 6015 Skip the Class (枚举)

问题描述 终于又开学啦。呃喵最喜欢的就是开学了,因为这样她又可以愉快地翘课了(啊?) 呃喵接下来有n节课程需要上(换句话说,可以翘。) 每节课程有相应的课程类型与课程翘课价值。 有一点需要注意的是,呃喵不可以翘同一类课程超过两次,就是如果这类课已经翘了两次,接下来...

2017-02-26 12:40:40

阅读数:352

评论数:0

POJ 2965 The Pilots Brothers' refrigerator (枚举)

Description The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator. There are 1...

2017-02-17 17:14:48

阅读数:215

评论数:0

POJ 1753 Flip Game (枚举)

Description Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white ...

2017-02-16 18:42:25

阅读数:271

评论数:0

POJ 1129 Channel Allocation (枚举)

Description When a radio station is broadcasting over a very large area, repeaters are used to retransmit the signal so that every receiver has a s...

2017-02-07 15:29:36

阅读数:204

评论数:0

hiho一下 第135周 九宫 (枚举幻方)

描述 小Hi最近在教邻居家的小朋友小学奥数,而最近正好讲述到了三阶幻方这个部分,三阶幻方指的是将1~9不重复的填入一个3*3的矩阵当中,使得每一行、每一列和每一条对角线的和都是相同的。 三阶幻方又被称作九宫格,在小学奥数里有一句非常有名的口诀:“二四为肩,六八为足,左三右七,戴九履一...

2017-01-28 23:11:36

阅读数:673

评论数:0

HDU 5835:Danganronpa (不明)

Danganronpa Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 315    Accepted Submission(s): 2...

2016-08-15 10:40:07

阅读数:266

评论数:0

POJ 3276:Face The Right Way (开关问题)

Face The Right Way Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 4172   Accepted: 1918 Description Farmer John has arranged...

2016-08-12 21:10:11

阅读数:235

评论数:0

HDU 5806:NanoApe Loves Sequence Ⅱ

NanoApe Loves Sequence Ⅱ Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 262144/131072 K (Java/Others) Total Submission(s): 520    Accepted S...

2016-08-07 11:19:07

阅读数:261

评论数:0

HDU 5805:NanoApe Loves Sequence

NanoApe Loves Sequence Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 262144/131072 K (Java/Others) Total Submission(s): 409    Accepted Sub...

2016-08-07 11:02:51

阅读数:495

评论数:6

HDU 5804:Price List

Price List Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 262144/131072 K (Java/Others) Total Submission(s): 270    Accepted Submission(s)...

2016-08-07 09:51:52

阅读数:308

评论数:0

山东省第七届ACM省赛------The Binding of Isaac

The Binding of Isaac Time Limit: 2000MS Memory limit: 65536K 题目描述 Ok, now I will introduce this game to you... Isaac is trapped in a maze...

2016-06-10 21:49:25

阅读数:598

评论数:0

山东省第七届ACM省赛------Fibonacci

Fibonacci Time Limit: 2000MS Memory limit: 131072K 题目描述 Fibonacci numbers are well-known as follow:   Now given an integer N, please find out whe...

2016-06-10 21:43:42

阅读数:584

评论数:0

山东省第七届ACM省赛------Julyed

Julyed Time Limit: 2000MS Memory limit: 65536K 题目描述     Julyed is preparing for her CET-6. She has N words to remember, but there is only M days ...

2016-06-10 21:37:10

阅读数:552

评论数:0

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