摘要: Time Limit:2000MSMemory Limit:65536KB64bit IO Format:%lld & %lluSubmitStatusPracticeZOJ 3876DescriptionAs a university advocating self-learning and wo... 阅读全文
posted @ 2015-07-17 21:30 无解大神 阅读(399) 评论(0) 推荐(0)
摘要: Time Limit:2000MSMemory Limit:65536KB64bit IO Format:%lld & %lluSubmitStatusPracticeZOJ 3878DescriptionEdward, a poor copy typist, is a user of the Dv... 阅读全文
posted @ 2015-07-17 21:27 无解大神 阅读(447) 评论(0) 推荐(0)
摘要: Time Limit:3000MSMemory Limit:131072KB64bit IO Format:%lld & %lluSubmitStatusPracticeZOJ 3870DescriptionFor an upcoming programming contest, Edward, t... 阅读全文
posted @ 2015-07-17 21:24 无解大神 阅读(246) 评论(0) 推荐(0)
摘要: Description有三户人家共拥有一座花园,每户人家的太太均需帮忙整理花园。A 太太工作了5 天,B 太太则工作了4 天,才将花园整理完毕。C 太太因为正身怀六甲无法加入她们的行列,便出了90元。请问这笔钱如何分给A、B 二位太太较为恰当?A 应得多少元?90/(5+4)*5=$50 元?如果这... 阅读全文
posted @ 2015-07-17 21:21 无解大神 阅读(185) 评论(0) 推荐(0)
摘要: DescriptionThere are many unsolvable problem in the world.It could be about one or about zero.But this time it is about bigger number.Given an integer... 阅读全文
posted @ 2015-07-17 21:19 无解大神 阅读(242) 评论(0) 推荐(0)
摘要: DescriptionA group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arr... 阅读全文
posted @ 2015-07-17 21:18 无解大神 阅读(158) 评论(0) 推荐(0)
摘要: Description从m个不同元素中取出n(n≤m)个元素的所有组合的个数,叫做从m个不同元素中取出n个元素的组合数。组合数的计算公式如下:C(m,n) =m!/((m-n)!n!)现在请问,如果将组合数C(m,n)写成二进制数,请问转这个二进制数末尾有多少个零。Input第一行是测试样例的个数T... 阅读全文
posted @ 2015-07-17 21:15 无解大神 阅读(212) 评论(0) 推荐(0)
摘要: DescriptionThere is a mysterious organization calledTime-Space Administrative Bureau(TSAB) in the deep universe that we humans have not discovered yet... 阅读全文
posted @ 2015-07-17 21:12 无解大神 阅读(617) 评论(0) 推荐(0)
摘要: DescriptionEdward has an arrayAwithNintegers. He defines the beauty of an array as the summation of all distinct integers in the array. Now Edward wan... 阅读全文
posted @ 2015-07-17 21:09 无解大神 阅读(294) 评论(0) 推荐(0)
摘要: You are working in a team that writes Incredibly Customizable Programming Codewriter (ICPC) which is basically a text editor with bells and whistles. ... 阅读全文
posted @ 2015-07-15 09:39 无解大神 阅读(278) 评论(0) 推荐(0)