小坏蛋_千千

I was caught in a heavy rain!

山东省第八届 ACM 省赛 fireworks (组合数+逆元)

Description Hmz likes to play fireworks, especially when they are put regularly. Now he puts some fireworks in a line. This time he put a trig...

2017-05-23 16:52:38

阅读数:584

评论数:0

山东省第八届 ACM 省赛 Parity check (规律、水)

Description Fascinated with the computer games, Gabriel even forgets to study. Now she needs to finish her homework, and there is an easy problem: ...

2017-05-23 16:27:10

阅读数:453

评论数:0

山东省第八届 ACM 省赛 Quadrat (找规律)

Description It is well-known that for any n there are exactly four n-digit numbers (including ones with leading zeros) that are self-squares: the l...

2017-05-23 15:58:53

阅读数:662

评论数:0

山东省第八届 ACM 省赛 company (贪心、水)

Problem Description There are n kinds of goods in the company, with each of them has a inventory of cnti and direct unit benefit vali. Now you find...

2017-05-09 19:51:11

阅读数:1046

评论数:0

山东省第八届 ACM 省赛 CF (01背包、水)

Problem Description LYD loves codeforces since there are many Russian contests. In an contest lasting for T minutes there are n problems, and for t...

2017-05-09 19:30:19

阅读数:1147

评论数: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

阅读数:535

评论数:0

山东省第八届 ACM 省赛 quadratic equation (水、坑)

Problem Description With given integers a,b,c, you are asked to judge whether the following statement is true: “For any x, if a⋅x2+b⋅x2+c=0a⋅x^2+b⋅...

2017-05-09 18:48:38

阅读数:667

评论数:0

山东省第二届 ACM 省赛 Simple Game (Nim+Bash)

Problem Description Here is a simple game. In this game, there are several piles of stones and two players. The two players play in turn. In each t...

2017-05-03 09:36:25

阅读数:449

评论数:0

山东省第六届 ACM 省赛 Stars (尺取法)

Problem Description There are N (1 ≤ N ≤ 400) stars in the sky. And each of them has a unique coordinate (x, y) (1 ≤ x, y ≤ N). Please calculate th...

2017-04-27 17:33:48

阅读数:476

评论数:0

山东省第七届 ACM 省赛 Proxy (最短路)

Problem Description Because of the GFW (Great Firewall), we cannot directly visit many websites, such as Facebook, Twitter, YouTube, etc. But with ...

2017-04-27 09:10:54

阅读数:400

评论数:0

山东省第七届ACM省赛------Memory Leak

Memory Leak Time Limit: 2000MS Memory limit: 131072K 题目描述 Memory Leak is a well-known kind of bug in C/C++. When a string is longer than e...

2016-06-12 21:51:53

阅读数:655

评论数:0

山东省第七届ACM省赛------Reversed Words

Reversed Words Time Limit: 2000MS Memory limit: 131072K 题目描述 Some aliens are learning English. They have a very strange way in writing that they ...

2016-06-12 21:30:11

阅读数:704

评论数:0

山东省第七届ACM省赛------Triple Nim

Triple Nim Time Limit: 2000MS Memory limit: 65536K 题目描述 Alice and Bob are always playing all kinds of Nim games and Alice always goes first. Here...

2016-06-12 21:26:39

阅读数:663

评论数: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

阅读数:615

评论数: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

阅读数:611

评论数: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

阅读数:566

评论数:0

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