随笔分类 - 数学
摘要:E. Wizards and Bets 题目连接: http://www.codeforces.com/contest/167/problem/E Description In some country live wizards. They like to make weird bets. Two
阅读全文
摘要:Garage 题目连接: http://codeforces.com/gym/100269/attachments Description Wow! What a lucky day! Your company has just won a social contract for building
阅读全文
摘要:E. Thoroughly Bureaucratic Organization 题目连接: http://www.codeforces.com/contest/201/problem/E Description Once n people simultaneously signed in to th
阅读全文
摘要:Clarke and math 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5628 Description Clarke is a patient with multiple personality disorder. One day, he t
阅读全文
摘要:C. Wizards and Numbers 题目连接: http://codeforces.com/problemset/problem/167/C Description In some country live wizards. They love playing with numbers.
阅读全文
摘要:Clarke and points 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5626 Description Clarke is a patient with multiple personality disorder. One day he
阅读全文
摘要:1045: [HAOI2008] 糖果传递 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=1045 Description 有n个小朋友坐成一圈,每人有ai个糖果。每人只能给左右两人传递糖果。每人每次传递一个糖果代价为1。 Input 小
阅读全文
摘要:A. Guest From the Past 题目连接: http://www.codeforces.com/contest/625/problem/A Description Kolya Gerasimov loves kefir very much. He lives in year 1984
阅读全文
摘要:2751: [HAOI2012]容易题(easy) 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=2751 Description 为了使得大家高兴,小Q特意出个自认为的简单题(easy)来满足大家,这道简单题是描述如下: 有一个数列A已
阅读全文
摘要:<center Playing with Superglue</center 题目连接:http://codeforces.com/problemset/problem/176/C DescriptionTwo players play a game. The game is played on...
阅读全文
摘要:<center Ball Painting</center 题目连接:http://codeforces.com/gym/100015/attachments DescriptionThere are 2N white balls on a table in two rows, making a...
阅读全文
摘要:<center Another Rock Paper Scissors Problem</center 题目连接:http://codeforces.com/gym/100015/attachments DescriptionSonny uses a very peculiar pattern ...
阅读全文
摘要:<center GCD</center 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=1695 DescriptionGiven 5 integers: a, b, c, d, k, you're to find x in a...b, y in ...
阅读全文
摘要:<center Sumdiv</center 题目连接:http://poj.org/problem?id=1845 DescriptionConsider two natural numbers A and B. Let S be the sum of all natural divisors...
阅读全文
摘要:<center E. Sum of Remainders</center 题目连接:http://www.codeforces.com/contest/616/problem/E DescriptionThe only line contains two integers n, m (1 ≤ n...
阅读全文
摘要:<center C. Beautiful Numbers</center 题目连接:http://www.codeforces.com/contest/300/problem/C DescriptionVitaly is a very weird man. He's got two favori...
阅读全文
摘要:<center C. Parity Game</center 题目连接:http://www.codeforces.com/contest/298/problem/C DescriptionYou are fishing with polar bears Alice and Bob. While...
阅读全文
摘要:<center A. Pasha and Stick</center 题目连接:http://www.codeforces.com/contest/610/problem/A DescriptionPasha has a wooden stick of some positive integer...
阅读全文
摘要:<center N M bulbs</center 题目连接:http://codeforces.com/contest/510/problem/C DescriptionN M个灯泡排成一片,也就是排成一个N M的矩形,有些开着,有些关着,为了节约用电,你要关上所有灯,但是你又很懒。刚好有个熊...
阅读全文
摘要:喵哈哈的矩阵Time Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/1250Description人尽皆知,在喵哈哈村,有一个法力无边的廖神他随手一挥,便移走山岳;他随手一指,便填平沟壑;他抬头...
阅读全文

浙公网安备 33010602011771号