摘要: POJ-3657 Haybale Guessing(二分答案+并查集) http://poj.org/problem?id=3657 下方有中文版,不想看英文的可直接点这里看中文版题目 Description The cows, who always have an inferiority comp 阅读全文
posted @ 2019-07-29 18:04 jiamian22 阅读(208) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=3659 Description Farmer John has decided to give each of his cows a cell phone in hopes to encourage their social interactio 阅读全文
posted @ 2019-07-29 10:52 jiamian22 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2019-07-29 03:15 jiamian22 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/1069/I来源:牛客网 题目描述 现代数学的著名证明之一是Georg Cantor证明了有理数是可枚举的。他是用下面这一张表来证明这一命题的: 我们以Z字形给上表的每一项编号。第一项是1/1,然后是1/2,2/1,3/1 阅读全文
posted @ 2019-07-29 03:06 jiamian22 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 幂次方(递归) 链接:https://ac.nowcoder.com/acm/contest/1069/L 题目描述 任何一个正整数都可以用2的幂次方表示。例如: 137=27+23+20 同时约定方次用括号来表示,即ab可表示为a(b)。 由此可知,137可表示为: 2(7)+2(3)+2(0) 阅读全文
posted @ 2019-07-29 03:01 jiamian22 阅读(987) 评论(0) 推荐(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 阅读全文
posted @ 2019-07-29 02:46 jiamian22 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 链接:洛谷 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 阅读全文
posted @ 2019-07-29 02:29 jiamian22 阅读(376) 评论(0) 推荐(0) 编辑