# Cubes for Masha (思维+暴力)

Cubes for Masha Absent-minded Masha got set of n cubes for her birthday.At each of 6 faces of each cube, there is exactly one digi...

# Talented Chef ZOJ - 3778 (思维+贪心)

Talented Chef ZOJ - 3778 As we all know, Coach Gao is a talented chef, because he is able to cook M dishes...

# Fantasy of a Summation LightOJ - 1213(找规律+快速幂)

Fantasy of a Summation LightOJ - 1213If yo...

# Large Division LightOJ - 1214(模运算，数论水题)

Large Division LightOJ - 1214 ...

# Mysterious Bacteria LightOJ - 1220（整数唯一分解定理+筛素数）

Mysterious Bacteria LightOJ - 1220Dr. Mob ...

# Harmonic Number LightOJ - 1234（打表+技巧||调和级数逼近公式）

Harmonic Number LightOJ - 1234In mathemati...

# Pairs Forming LCM LightOJ - 1236(整数唯一分解定理+筛选素数)

Pairs Forming LCM LightOJ - 1236Find the r...

# Harmonic Number (II) LightOJ - 1245 (找规律+数学)

Harmonic Number (II) LightOJ - 1245I was trying to solve problem '1234 - Harmo...

# Gluttony （思维）

Gluttony You are given an array a with n distinct integers. Construct an array b by permuting a such that for every non-empty subs...

# Lazier Salesgirl ZOJ - 3607 (思维，贪心)

Lazier Salesgirl ZOJ - 3607 Kochiya Sanae is a lazy girl who makes and sells bread. S...

# Draw Something Cheat ZOJ - 3603 （坑人的模拟）

Draw Something Cheat ZOJ - 3603 Have you played Draw Something? It's currently one of the hottest social ...

# Modular Inverse ZOJ - 3609 （扩展欧几里得求逆元或者欧拉定理）

Modular Inverse ZOJ - 3609 The modular modular multiplicative inverse of an integer a...

# Restoration of string （拓扑排序）

Restoration of stringA substring of some string is called the most frequent, if the number of its occurrences is not less than number of occurrences ...

# Mistwald ZOJ - 3497 (矩阵快速幂)

Mistwald ZOJ - 3497 In chapter 4 of the game Trails in the Sky SC, Estelle Bright and...

# Sorting the Coins（思维）

Sorting the Coins Recently, Dima met with Sasha in a philatelic store, and since then...

# Wrath （思维模拟）

Wrath Hands that shed innocent blood!There are n guilty people in a line, the i-th of them holds a claw with length Li. The bell r...

# Divisiblity of Differences (思维)

Divisiblity of Differences You are given a multiset of n integers. You should select exactly k of them in a such way that the dif...

# Chtholly's request （思维+回文）

Chtholly's request — Thanks a lot for today.— I experienced so many great things.— You gave me memories like dreams... But I h...

# Position in Fraction （小数除法模拟）

Position in Fraction You have a fraction . You need to find the first occurrence of digit c into decimal notation of the fraction ...

个人资料
等级：
访问量： 3万+
积分： 4134
排名： 9095
文章存档
最新评论