摘要: Grandpa's EstateBeing the only living descendant of his grandfather, Kamran the Believer inherited all of the grandpa's belongings. Th... 阅读全文
posted @ 2017-07-16 17:55 _大美 阅读(91) 评论(0) 推荐(0)
摘要: Space AntTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 4501 Accepted: 2834DescriptionThe most exciting space discovery occ... 阅读全文
posted @ 2017-07-16 17:51 _大美 阅读(148) 评论(0) 推荐(0)
摘要: DescriptionOnce upon a time there was a greedy King who ordered his chief Architect to build a wall around the King's castle. The King... 阅读全文
posted @ 2017-07-16 17:45 _大美 阅读(107) 评论(0) 推荐(0)
摘要: 给出正整数 n 和 m,统计满足以下条件的正整数对 (a,b) 的数量:1. 1≤a≤n,1≤b≤m;2. a×b 是 2016 的倍数。Input输入包含不超过 30 组数据。每组数据包含两个整数 n,m (1≤n,m≤10 9).Output对于每组数据,输出一个... 阅读全文
posted @ 2017-07-16 17:42 _大美 阅读(170) 评论(0) 推荐(0)
摘要: 1262: 魔法宝石题目描述小s想要创造n种魔法宝石。小s可以用ai的魔力值创造一棵第i种魔法宝石,或是使用两个宝石合成另一种宝石(不消耗魔力值)。请你帮小s算出合成某种宝石的所需的最小花费。输入第一行为数据组数T(1≤T≤3)。对于每组数据,首先一行为n,m(1≤n... 阅读全文
posted @ 2017-07-16 17:39 _大美 阅读(199) 评论(0) 推荐(0)
摘要: 1143 - 计算几何你瞎暴力Time Limit:5s Memory Limit:256MByteSubmissions:1735Solved:341DESCRIPTION今天HHHH考完了期末考试,他在教学楼里闲逛,他看着教学楼里一间间的教室,于是开始思考:如果从... 阅读全文
posted @ 2017-07-16 10:09 _大美 阅读(157) 评论(0) 推荐(0)