喵宅苑 MewoGarden × 技术宅社区II | Z站 Z Station 棒棒哒纯文字二次元技术社区

正文

IBM Ponder This 和 UyHiP 三月谜题

作者:轻舟过
[i=s] 本帖最后由 轻舟过 于 2013-4-12 19:56 编辑 IBM Ponder This 谜题: 原链接:http://domino.research.ibm.com/C ... nges/March2013.html 英文原文:

There are five products in a store; let's call them A, B, C, D, and E.

The prices of those products are all integers between one and five cents each.

When you pay, the sum is rounded to the closest five cents.

Let's assume that your account is fined with half a point every time your purchase is not an integer multiplication of five cents.

The price of A is one cent, but you don't know anything about the prices of B-E, nor are you aware of the fines you accumulate along the way. The only information you get, at the end of the month, is whether the cumulative number of points you were fined is an integer or not.

For example, after buying the following six purchases: AB AC AABC AAABCC AAABBC BBBBC you can know whether B and C are both 4 or not.

Can you devise a set of purchases, one for each day, such that at the end of the month you'd be able to know whether or not the prices of B-E have exactly two different values?

Please submit your answer as at most 31 lines (one per day) where each line contains a list of items you buy on that day.

We will post the names of those who submit a correct, original solution! If you don't want your name posted then please include such a statement in your submission!

We invite visitors to our website to submit an elegant solution. Send your submission to the webmaster.

If you have any problems you think we might enjoy, please send them in. All replies should be sent to: webmster@us.ibm.com

用中文来说,大意就是说商店里有5种商品A、B、C、D、E 每种商品的价格是1-5之间的整数 每次买完东西结账的时候,商品的价格总和将四舍五入到5的倍数 如果买的东西的东西的价格之和不是5的倍数,结账的时候你的账号将会被扣除0.5分 商品A的价格是1,而B-E的价格是未知的,你也无法得知你的账号被累计扣除的分数。你能得知的信息,就只有到月底的时候被累计扣除的分数是不是一个整数 例如,进行下列6次购买后: AB AC AABC AAABCC AAABBC BBBBC 你可以知道B和C的价格是否都是4 你能给出一个购买方案,每天至多购买一次,然后在月底的时候你能推断出B-E的商品价格是否只有两种值吗? 你的答案应该至多只有31行(一行对应一天的情况),每行包含了当天购买了物品的列表 Using your Head is Permitted谜题: 原链接:http://www.brand.site.co.il/riddles/201303q.html
Consider Sequence A185028 of the Online Encyclopedia of Integer Sequences.Can you answer the question that appears in the "COMMENTS"? Specifically, can you prove or disprove the finiteness of the sequence? The sequence and the question were both formulated by Moshe Wolf. It got to me in riddle form by Oded Margalit. Thanks, Oded and Moshe!
回答数列百科全书中数列A185028中COMMENTS部分的问题。数列A185028中数字的特点是,数字的十进制表示所有位数都为d,并且将该数字转化成二进制之后,其中有d个1。COMMENTS部分所问的是,888888是否是这个数列中最大的元素?也就是证明或者证伪“该数列只有有限个元素”这一命题。 ———————————————————————————— 这两个问题都不简单,做出的话会有很多奖励哦~(奖励下个月出了答案了再发放哦)

回复

第一题看着像电路设计啊

作者:轻舟过
dchneric 发表于 2013-3-8 08:57 第一题看着像电路设计啊
嗯,我也想到逻辑电路什么的 类似于构造电路使得某一些输入为真,令一些输入为假 不过这里的输入都是1-5,而不是0-1
查看回复

第一题看着像电路设计啊

作者:dchneric
第一题看着像电路设计啊
查看回复

你确定这有人做得出

作者:qingwa901
你确定这有人做得出? 总觉得做出了就和我们不是一个世界的了
查看回复
上一页
下一页
0%
站点地图友情链接:
喵宅苑
喵空间社区程序
喵宅苑 静态版
宅喵RPG地图编辑器
络合兔
Lanzainc
技术宅
小五四博客
莉可POI
Mithril.js
枫の主题社
Project1
午后少年
机智库
七濑胡桃
xiuno
幻想の日常
魂研社
Nothentai
0xffff
欲望之花
泽泽社长
淀粉月刊
HAYOU
红客联盟
异次元
轻之国度
神奇宝贝新生代
游戏狗
口袋双子星
我的世界论坛
梦次元
动漫东东
动漫国际
精艺论坛
78动漫
吐槽弹幕网
漫客栈