随笔分类 - 数学
摘要:xiaoxin juju needs help 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5651 Description As we all known, xiaoxin is a brilliant coder. He knew palind
阅读全文
摘要:so easy 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5650 Description Given an array with n integers, assume f(S) as the result of executing xor op
阅读全文
摘要:Buildings 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5301 Description Your current task is to make a ground plan for a residential building locat
阅读全文
摘要:DZY Loves Partition 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5646 Description DZY loves partitioning numbers. He wants to know whether it is po
阅读全文
摘要:Pocket Cube 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5292 Description Pocket Cube is the 2×2×2 equivalent of a Rubik’s Cube(3×3×3). The cube co
阅读全文
摘要:Y sequence 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5297 Description Yellowstar likes integers so much that he listed all positive integers in
阅读全文
摘要:C. Watchmen 题目连接: http://www.codeforces.com/contest/651/problem/C Description Watchmen are in a danger and Doctor Manhattan together with his friend D
阅读全文
摘要:772002画马尾 题目连接: http://acm.uestc.edu.cn/ /problem/show/1280 Description 众所周知772002很喜欢马尾,所以他决定画几幅马尾送给他的女朋友。 772002会画m种马尾,772002还有n张纸,n张纸分别编号1到n,每张纸上只能画
阅读全文
摘要:现在游戏开始! “切,又是无聊的一周。”沈柯倚靠在墙边,不屑的说道。 “以生存为赌注,拼上性命寻找出路什么的,我才不会怕呢。”廖奇握紧拳头,自信地说道。 ...... “啊,为什么,为什么,游戏为什么又开始了?!怎么会这么快?!”,小郭蹲在角落里面,捂住头,瑟瑟发抖的样子。 ...... 我当然还是
阅读全文
摘要:E. Thief in a Shop 题目连接: http://www.codeforces.com/contest/632/problem/E Description A thief made his way to a shop. As usual he has his lucky knapsac
阅读全文
摘要:D. Longest Subsequence 题目连接: http://www.codeforces.com/contest/632/problem/D Description You are given array a with n elements and the number m. Consi
阅读全文
摘要:C. XOR Equation 题目连接: http://www.codeforces.com/contest/635/problem/C Description Two positive integers a and b have a sum of s and a bitwise XOR of x
阅读全文
摘要:H. Fibonacci ish II 题目连接: http://codeforces.com/contest/633/problem/H Description Yash is finally tired of computing the length of the longest Fibonac
阅读全文
摘要:E. Startup Funding 题目连接: http://codeforces.com/contest/633/problem/E Description An e commerce startup pitches to the investors to get funding. They h
阅读全文
摘要:B. A Trivial Problem 题目连接: http://www.codeforces.com/contest/633/problem/B Description Mr. Santa asks all the great programmers of the world to solve
阅读全文
摘要:智商杯考试 题目连接: http://acm.uestc.edu.cn/ /problem/show/1277 Description 你是一个挂科选手。 你现在正在考试,你很方。 你参加的考试叫做智商杯考试。 这个考试很奇怪,考试一开始就把所有答案全部发给你了,但是并不告诉你答案和考试题目的对应关
阅读全文
摘要:F. Double Knapsack 题目连接: http://www.codeforces.com/contest/618/problem/F Description You are given two multisets A and B. Each multiset has exactly n
阅读全文
摘要:D. Rat Kwesh and Cheese 题目连接: http://www.codeforces.com/contest/621/problem/D Description Wet Shark asked Rat Kwesh to generate three positive real nu
阅读全文
摘要:D. Birthday 题目连接: http://www.codeforces.com/contest/623/problem/D Description A MIPT student named Misha has a birthday today, and he decided to celeb
阅读全文
摘要:F. The Sum of the k th Powers 题目连接: http://www.codeforces.com/contest/622/problem/F Description There are well known formulas: , , . Also mathematicia
阅读全文

浙公网安备 33010602011771号