随笔分类 - 数学 容斥
摘要:F2. Wrong Answer on test 233 (Hard Version) Your program fails again. This time it gets "Wrong answer on test 233" . This is the harder version of the
阅读全文
摘要:D. Winter is here 题目连接: http://codeforces.com/contest/839/problem/D Description Winter is here at the North and the White Walkers are close. John Snow
阅读全文
摘要:Xtreme9.0 Light Gremlins 题目连接: https://www.hackerrank.com/contests/ieeextreme challenges/challenges/light gremlins Description There are a group of gr
阅读全文
摘要:E. Devu and Flowers 题目连接: http://codeforces.com/contest/451/problem/E Description Devu wants to decorate his garden with flowers. He has purchased n b
阅读全文
摘要:Lucky7 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5768 Description When ?? was born, seven crows flew in and stopped beside him. In its childhood
阅读全文
摘要:天行廖的游戏 题目连接: http://acm.uestc.edu.cn/ /problem/show/1294 Description 天行健,君子以自强不息。地势坤,廖爷以厚德载物 一日在喵哈哈村,天行廖和沈宝宝正在玩一个游戏。 天行廖分别在N个纸片上写上一个数字,并放到一个盒子中。 现在沈
阅读全文
摘要:Y sequence 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5297 Description Yellowstar likes integers so much that he listed all positive integers in
阅读全文
摘要:<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 ...
阅读全文
摘要:TC srm.673 300Time Limit: 20 SecMemory Limit: 256 MB题目连接Description给你n(n#include#include#includeusing namespace std;const int mod = 1e9+7;bool cmp(int...
阅读全文
摘要:B. Pasha and PhoneTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/595/problem/BDescriptionPasha has recently bought a new phon...
阅读全文
摘要:FrogsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5514DescriptionThere are m stones lying on a circle, and n fr...
阅读全文
摘要:DominationTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3822DescriptionEdward is the headmast...
阅读全文