|
|
楼主

楼主 |
发表于 2009-3-4 01:46:10
|
只看该作者
求助!!!
求助!!!!
最近在自己学习sas语言, 有几个问题,查阅了一些网站,但是找不到答案,请各位高手指点一二!
第一,A friend of mine doing a crossword puzzle just called and asked me if I knew a seven letter word such that the third letter is h and the fifth letter is u. I replied exhaust, but that wasn’t correct. Find all such words
第二,Estimate the probability that in a group of 25 people, at least two of them share a birthday. Hint: Simulate a 365-sided die and roll it 25 times. Check if at least two of the values match. Then repeat this process 10,000 times and find the proportion of outcomes that have at least two values matching.
第三,Find all words that are palindromes. Note that a palindromic word is spelled the same in reverse as forwards (e.g., radar). Hint: is there a string function that reverses strings?
谢谢大家!!~!!~ 十分感谢!~~!~!~ |
|