随笔分类 - 数学
摘要:In Chinese Restaurant 题目连接: http://acm.hust.edu.cn/vjudge/contest/123332 problem/B Description When Vova arrived in Guangzhou, his Chinese friends imm
阅读全文
摘要:tetrahedron/center 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5726 Description Given four points ABCD, if ABCD is a tetrahedron, calculate the in
阅读全文
摘要:Abandoned country 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5723 Description An abandoned country has n(n≤100000) villages which are numbered fr
阅读全文
摘要:Extracurricular Sports 题目连接: http://acm.hust.edu.cn/vjudge/contest/122701 problem/D Description As we all know, to pass PE exams, students need to do
阅读全文
摘要:Robot Game 题目连接: http://acm.hust.edu.cn/vjudge/contest/122701 problem/B Description Sgeoghy has addicted herself to an interesting computer game! In t
阅读全文
摘要:Golf Bot 题目连接: http://acm.hust.edu.cn/vjudge/problem/visitOriginUrl.action?id=129724 Description Do you like golf? I hate it. I hate golf so much that
阅读全文
摘要:3751: [NOIP2014]解方程 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=3751 Description 已知多项式方程: a0+a1 x+a2 x^2+...+an x^n=0 求这个方程在[1,m]内的整数解(n和m均为
阅读全文
摘要:E. Mike and Geometry Problem 题目连接: http://www.codeforces.com/contest/689/problem/E Description Mike wants to prepare for IMO but he doesn't know geome
阅读全文
摘要:D. Remainders Game 题目连接: http://www.codeforces.com/contest/688/problem/D Description Today Pari and Arya are playing a game called Remainders. Pari ch
阅读全文
摘要:谭爷的黑暗沙拉 题目连接: http://mozhu.today/ /problem/show/1401 Description 谭爷有$n$种不同种类的食材(水果&蔬菜),他想做出一份总重量为$k$的黑暗沙拉。 他想让机智的你告诉他,他能做多少种不同的黑暗沙拉! 说明: 1.可以重复选择食材,而且
阅读全文
摘要:E. The Last Fight Between Human and AI 题目连接: http://codeforces.com/contest/676/problem/E Description 100 years have passed since the last victory of t
阅读全文
摘要:瞬间移动 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5698 Description 有一个无限大的矩形,初始时你在左上角(即第一行第一列),每次你都可以选择一个右下方格子,并瞬移过去(如从下图中的红色格子能直接瞬移到蓝色格子),求到第n行第m列
阅读全文
摘要:All X 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5690 Description F(x,m) 代表一个全是由数字x组成的m位数字。请计算,以下式子是否成立: F(x,m) mod k ≡ c Input 第一行一个整数T,表示T组数据。
阅读全文
摘要:C. Money Transfers 题目连接: http://www.codeforces.com/contest/675/problem/C Description There are n banks in the city where Vasya lives, they are located
阅读全文
摘要:Sum Of Gcd 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=4676 Description Given you a sequence of number a1, a2, ..., an, which is a permutation of
阅读全文
摘要:C. Zero One 题目连接: http://codeforces.com/contest/135/problem/C Description Little Petya very much likes playing with little Masha. Recently he has rece
阅读全文
摘要:4403: 序列统计 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=4403 Description 给定三个正整数N、L和R,统计长度在1到N之间,元素大小都在L到R之间的单调不降序列的数量。输出答案对10^6+3取模的结果。 Inpu
阅读全文
摘要:4421: [Cerc2015] Digit Division 题目连接: http://www.lydsy.com/JudgeOnline/problem.php?id=4421 Description 给出一个数字串,现将其分成一个或多个子串,要求分出来的每个子串能Mod M等于0. 将方案数(
阅读全文
摘要:C. Fox and Card Game 题目连接: http://codeforces.com/contest/388/problem/C Description Fox Ciel is playing a card game with her friend Fox Jiro. There are
阅读全文
摘要:B. Jumping Jack 题目连接: http://www.codeforces.com/contest/11/problem/B Description Jack is working on his jumping skills recently. Currently he's locate
阅读全文

浙公网安备 33010602011771号