随笔分类 - 数论
摘要:Equipment Box 题目链接: http://acm.hust.edu.cn/vjudge/contest/130510 problem/B Description There is a large room in the Pyramid called Room of No Return.
阅读全文
摘要:Triples 题目链接: http://acm.hust.edu.cn/vjudge/contest/130303 problem/H Description http://7xjob4.com1.z0.glb.clouddn.com/4c05ed01e62e808388fc90e37554d58
阅读全文
摘要:Two Arithmetic Progressions 题目链接: http://codeforces.com/contest/710/problem/D Description You are given two arithmetic progressions: a1k + b1 and a2l
阅读全文
摘要:Weird Numbers 题目链接: http://acm.hust.edu.cn/vjudge/contest/129733 problem/F Description Binary numbers form the principal basis of computer science. Mo
阅读全文
摘要:Pythagorean Triples 题目链接: http://codeforces.com/contest/707/problem/C Description Input Output Examples input 3 output 4 5 input 6 output 8 10 input 1
阅读全文
摘要:Linear Ecosystem 题目链接: http://acm.hust.edu.cn/vjudge/contest/127401 problem/B Description http://7xjob4.com1.z0.glb.clouddn.com/99b0fe905e5bd89a24c882
阅读全文
摘要:abs 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5778 Description Given a number x, ask positive integer y≥2, that satisfy the following conditions
阅读全文
摘要:Zhu and 772002 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5833 Description Zhu and 772002 are both good at math. One day, Zhu wants to test the a
阅读全文
摘要:physics 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5826 Description There are n balls on a smooth horizontal straight track. The track can be con
阅读全文
摘要:A Simple Chess 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5794 Description There is a n×m board, a chess want to go to the position (n,m) from th
阅读全文
摘要:A Boring Question 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5793 Description Input The first line of the input contains the only integer T, Then
阅读全文
摘要: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
阅读全文
摘要:Exclusive or 题目链接: http://acm.hust.edu.cn/vjudge/contest/121336 problem/J Description Given n, find the value of Note: ♁ denotes bitwise exclusive or.
阅读全文
摘要:It's All In The Mind 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5742 Description Professor Zhang has a number sequence a1,a2,...,an. However, the
阅读全文
摘要:Sqrt Bo 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5752 Description Let's define the function f(n)=⌊n−−√⌋. Bo wanted to know the minimum number y
阅读全文
摘要:Permutation Bo 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5753 Description There are two sequences h1∼hn and c1∼cn. h1∼hn is a permutation of 1∼n
阅读全文
摘要:Life Winner Bo 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5754 Description Bo is a "Life Winner".He likes playing chessboard games with his girlf
阅读全文
摘要:Couple doubi 题目链接: http://acm.hust.edu.cn/vjudge/contest/121334 problem/D Description DouBiXp has a girlfriend named DouBiNan.One day they felt very b
阅读全文
摘要:CA Loves GCD 题目链接: http://acm.hust.edu.cn/vjudge/contest/123316 problem/B Description CA is a fine comrade who loves the party and people; inevitably
阅读全文
摘要:ztr loves math 题目链接: http://acm.hust.edu.cn/vjudge/contest/123316 problem/A Description ztr loves research Math.One day,He thought about the "Lower Ed
阅读全文