当前搜索:

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...
阅读(4) 评论(0)

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...
阅读(6) 评论(0)

垒骰子(25 point(s))(矩阵快速幂+快速幂)

垒骰子(25 point(s))赌圣atm晚年迷恋上了垒骰子,就是把骰子一个垒在另一个上边,不能歪歪扭扭,要垒成方柱体。经过长期观察,atm 发现了稳定骰子的奥秘:有些数字的面贴着会互相排斥!我们先来规范一下骰子:1 的对面是 4,2 的对面是 5,3 的对面是 6。假设有 m 组互斥现象,每组...
阅读(105) 评论(0)

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

Fantasy of a Summation LightOJ - 1213If yo...
阅读(9) 评论(0)

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

Large Division LightOJ - 1214 ...
阅读(5) 评论(0)

Mysterious Bacteria LightOJ - 1220(整数唯一分解定理+筛素数)

Mysterious Bacteria LightOJ - 1220Dr. Mob ...
阅读(11) 评论(0)

Harmonic Number LightOJ - 1234(打表+技巧||调和级数逼近公式)

Harmonic Number LightOJ - 1234In mathemati...
阅读(10) 评论(0)

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

Pairs Forming LCM LightOJ - 1236Find the r...
阅读(11) 评论(0)

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

Harmonic Number (II) LightOJ - 1245I was trying to solve problem '1234 - Harmo...
阅读(7) 评论(0)

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...
阅读(11) 评论(0)

Lazier Salesgirl ZOJ - 3607 (思维,贪心)

Lazier Salesgirl ZOJ - 3607 Kochiya Sanae is a lazy girl who makes and sells bread. S...
阅读(11) 评论(0)

Draw Something Cheat ZOJ - 3603 (坑人的模拟)

Draw Something Cheat ZOJ - 3603 Have you played Draw Something? It's currently one of the hottest social ...
阅读(11) 评论(0)

Modular Inverse ZOJ - 3609 (扩展欧几里得求逆元或者欧拉定理)

Modular Inverse ZOJ - 3609 The modular modular multiplicative inverse of an integer a...
阅读(17) 评论(0)

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 ...
阅读(17) 评论(0)

Mistwald ZOJ - 3497 (矩阵快速幂)

Mistwald ZOJ - 3497 In chapter 4 of the game Trails in the Sky SC, Estelle Bright and...
阅读(11) 评论(0)

Sorting the Coins(思维)

Sorting the Coins Recently, Dima met with Sasha in a philatelic store, and since then...
阅读(16) 评论(0)

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...
阅读(16) 评论(0)

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...
阅读(8) 评论(0)

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...
阅读(7) 评论(0)

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 ...
阅读(11) 评论(0)
    个人资料
    持之以恒
    等级:
    访问量: 3万+
    积分: 4134
    排名: 9095
    文章存档
    最新评论