摘要:
POJ-3665 iCow(暴力) http://poj.org/problem?id=3665 题目描述 Fatigued by the endless toils of farming, Farmer John has decided to try his hand in the MP3 pla 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/1069/I来源:牛客网 题目描述 现代数学的著名证明之一是Georg Cantor证明了有理数是可枚举的。他是用下面这一张表来证明这一命题的: 我们以Z字形给上表的每一项编号。第一项是1/1,然后是1/2,2/1,3/1 阅读全文
摘要:
幂次方(递归) 链接:https://ac.nowcoder.com/acm/contest/1069/L 题目描述 任何一个正整数都可以用2的幂次方表示。例如: 137=27+23+20 同时约定方次用括号来表示,即ab可表示为a(b)。 由此可知,137可表示为: 2(7)+2(3)+2(0) 阅读全文
摘要:
http://poj.org/problem?id=3660 Description N (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participating in a programming contest. As we all kno 阅读全文
摘要:
链接:洛谷 POJ 题目描述 Farmer John wants to set up a telephone line at his farm. Unfortunately, the phone company is uncooperative, so he needs to pay for som 阅读全文