文件名称:test4
- 所属分类:
- 数学计算/工程计算
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-03-30
- 文件大小:
- 225kb
- 下载次数:
- 0次
- 提 供 者:
- chen*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
某电视台举办了低碳生活大奖赛。题目的计分规则相当奇怪:
每位选手需要回答10个问题(其编号为1到10),越后面越有难度。答对的,当前分数翻倍;答错了则扣掉与题号相同的分数
(选手必须回答问题,不回答按错误处理)。
每位选手都有一个起步的分数为10分。
某获胜选手最终得分刚好是100分,如果不让你看比赛过程,你能推断出他(她)哪个题目答对了,哪个题目答错了吗?
如果把答对的记为1,答错的记为0,则10个题目的回答情况可以用仅含有1和0的串来表示。例如:0010110011 就是可能的情况。
你的任务是算出所有可能情况。每个答案占一行。
-A television station held a low-carbon life Grand Prix. The topic scoring rules rather strange: each player needs to answer 10 questions (number 1-10), the more difficult the more behind. Answered correctly, the current scores doubled wrong, the same score is deducted Question (players must answer questions, not to answer the wrong treatment). Each player has a starting score of 10 points. A winning player final score exactly 100 points, will not let you watch the game process, you can infer which topic he (she) got it, which topics are wrong? If answered correctly referred to as a wrong answer recorded is 0, then 10 Title answer can be used contain only a string of 1 and 0 to represent. For example: 0010110011 is possible. Your task is to calculate all possible situations. Each answer per line.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test4
.....\Debug
.....\.....\test4.exe
.....\.....\test4.ilk
.....\.....\test4.obj
.....\.....\test4.pch
.....\.....\test4.pdb
.....\.....\vc60.idb
.....\.....\vc60.pdb
.....\test4.cpp
.....\test4.dsp
.....\test4.dsw
.....\test4.ncb
.....\test4.opt
.....\test4.plg