摘要:
1.链接地址:http://poj.org/problem?id=1631http://bailian.openjudge.cn/practice/2787/2.题目:总时间限制:3000ms内存限制:65536kB描述给出4个小于10个正整数,你可以使用加减乘除4种运算以及括号把这4个数连接起来得到一个表达式。现在的问题是,是否存在一种方式使得得到的表达式的结果等于24。这里加减乘除以及括号的运算结果和运算的优先级跟我们平常的定义一致(这里的除法定义是实数除法)。比如,对于5,5,5,1,我们知道5 * (5 – 1 / 5) = 24,因此可以得到24。又比如,对于1,1,4,2,我们怎么 阅读全文
posted @ 2014-02-21 23:31
mobileliker
阅读(617)
评论(0)
推荐(0)
摘要:
1.链接地址:http://poj.org/problem?id=1631http://bailian.openjudge.cn/practice/16312.题目:Bridging signalsTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 9882Accepted: 5409Description'Oh no, they've done it again', cries the chief designer at the Waferland chip factory. Once more the r 阅读全文
posted @ 2014-02-21 23:29
mobileliker
阅读(209)
评论(0)
推荐(0)
浙公网安备 33010602011771号