楼主: zzy992000
1875 4

[问答] 紧急高薪求助R语言编写高手 [推广有奖]

  • 2关注
  • 1粉丝

已卖:231份资源

本科生

84%

还不是VIP/贵宾

-

威望
0
论坛币
3186 个
通用积分
2.6534
学术水平
5 点
热心指数
5 点
信用等级
0 点
经验
9064 点
帖子
60
精华
0
在线时间
107 小时
注册时间
2007-4-8
最后登录
2025-10-30

楼主
zzy992000 在职认证  发表于 2011-3-12 23:39:06 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
高薪求助R语言编写高手帮忙编写一个小编程,请联系我QQ805319660,或留下你的联系方式,O(∩_∩)O谢谢
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:求助R语言 高薪求助 R语言 联系方式 联系我 求助 高手 语言 编写 高薪

沙发
ntsean 发表于 2011-3-13 02:14:23
什么方面的?

藤椅
zzy992000 在职认证  发表于 2011-3-13 09:50:05
统计方面的,大致要求如下:
Exercise 2: Mastermind
Mastermind is a code-breaking game in which there are two players: the codemaker and the code-breaker. At the start of the game, the code-maker determines a secret code consisting of four numbers, each number being contained in the set A = f1; 2; 3; 4; 5; 6g. The code-breaker then tries to guess the code providing a four number sequence using the set A. The code-maker then gives feedback using black
and white pegs. For each number that is guessed correctly (i.e. being the correct number in the correct position), one black peg is provided. The corresponding numbers in the secret code and in the guess are \used up". For each of the other guesses, a number of white pegs is provided in the following iterative process:
It is decided whether the number guessed corresponds to one of the numbers in the secret code. If so, one white peg is added and the number in the guess and in the secret code are used up. One then continues with the next remaining number in the guess and the remaining numbers in the secret code to add further white pegs (if any).   Once the feedback is provided, the code-breaker produces the next guess and triggers the next round of feedback. The process continues until the code-breaker has found
the secret code. To understand the feedback process and the notion of \used up\ numbers, consider
the following examples:
1. Let the true code be 1; 2; 4; 6 and the guess be 1; 2; 4; 6. In this case the feedback consists of four black pegs.
2. Let the true code be 1; 2; 4; 6 and the guess be 1; 1; 5; 5. In this case one black peg is provided for getting the rst number right. This uses up the rst number, so the remaining numbers are 2; 4; 6 in the true code and 1; 5; 5 in the guess. So, no further pegs are awarded.
3. Let the true code be 1; 2; 4; 6 and the guess be 1; 1; 2; 5. In this case one black peg is provided. The remaining numbers are 2; 4; 6 for the true code and 1; 2; 5 for the guess. So a further white peg is awarded so that overall we get one black peg and one white peg.
4. Let the true code be 1; 1; 2; 3 and the guess be 4; 4; 1; 4. In this case, only one white peg is awarded, even though the code contains the number one several times.
5. Let the true code be 1; 2; 3; 4 and the guess be 6; 1; 1; 1. In this case only one white peg is awarded even though the guess contains the correct number one several times.
6. Let the true code be 1; 1; 2; 2 and the guess be 3; 3; 1; 1. In this case two white pegs are awarded.

板凳
ntsean 发表于 2011-3-13 11:37:33
要编什么样的程序

报纸
zzy992000 在职认证  发表于 2011-3-18 13:42:28
哦已经不需要了,谢谢热心的朋友

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-17 11:18