所有安排一个字 [英] all arrangement of a word

查看:71
本文介绍了所有安排一个字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,

你能帮我写一些代码来列出一个单词的所有排列吗?

例如

" unix"

它有可能像

nixu,ixun ,,,等等。

我想我们可以得到4!(4 * 3 * 2 *!)= 24种可能性


但如何用C列出它们?

谢谢

Hi friends,
Can you help me write some code to list all the arrangement of a word?
for example
"unix"
it has possibilities like
nixu,ixun,,,and so on.
I think we can get 4!(4*3*2*!)=24 possibilities

But how to list them all by C?
thanks

推荐答案

longs ... @ marchmail.com写道:
longs...@marchmail.com wrote:

朋友们,

你能帮忙吗?我写了一些代码来列出

a字的所有排列?

例如

" unix"

它有可能像

nixu,ixun ,,,等等。

我想我们可以得到4!(4 * 3 * 2 *!)= 24种可能性


但如何用C列出所有这些?
Hi friends,
Can you help me write some code to list all the arrangement of
a word?
for example
"unix"
it has possibilities like
nixu,ixun,,,and so on.
I think we can get 4!(4*3*2*!)=24 possibilities

But how to list them all by C?

http:// groups.google.com/group/comp....c0260bb56e83f2


-

彼得

http://groups.google.com/group/comp....c0260bb56e83f2

--
Peter

< br>

lo******@marchmail.com 写道:

朋友们,

你能帮我写一些代码来列出一个单词的所有排列吗?

例如

" unix"

它有可能像

nixu,ixun ,,,等等。

我想我们可以得到4!(4 * 3 * 2 *!)= 24种可能性


但如何用C列出它们?

谢谢
Hi friends,
Can you help me write some code to list all the arrangement of a word?
for example
"unix"
it has possibilities like
nixu,ixun,,,and so on.
I think we can get 4!(4*3*2*!)=24 possibilities

But how to list them all by C?
thanks



您尝试过什么?你在哪里遇到问题?什么C

语言问题你有问题?


或者你只是想让我们为你做功课?

-

Keith Thompson(The_Other_Keith) ks***@mib.org < ; http://www.ghoti.net/~kst>

诺基亚

我们必须做点什么。这是事情。因此,我们必须这样做。

- Antony Jay和Jonathan Lynn,是部长

What have you tried? Where did you run into problems? What C
language issues are you having trouble with?

Or did you just want us to do your homework for you?

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"


7月7日,12日:25 * pm,Keith Thompson< ks ... @ mib.orgwrote:
On Jul 7, 12:25*pm, Keith Thompson <ks...@mib.orgwrote:

longs ... @ marchmail.com写道:
longs...@marchmail.com writes:

朋友们,

你能帮我写一些代码来列出一个单词的所有排列吗?

例如

" unix"

它有可能像

nixu,ixun ,,,等等。

我想我们可以得到4!(4 * 3 * 2 *!)= 24种可能性
Hi friends,
Can you help me write some code to list all the arrangement of a word?
for example
"unix"
it has possibilities like
nixu,ixun,,,and so on.
I think we can get 4!(4*3*2*!)=24 possibilities


但如何用C列出它们?

谢谢
But how to list them all by C?
thanks



您尝试过什么? *你在哪里遇到问题? *你有什么问题?你需要麻烦吗?


或者你只是想让我们为你做功课?


-

Keith Thompson(The_Other_Keith)ks ... @ mib.org *< http://www.ghoti.net/~kst>

诺基亚

我们必须做点什么。 *这是事情。 *因此,我们必须这样做。

* * - Antony Jay和Jonathan Lynn,是部长


What have you tried? *Where did you run into problems? *What C
language issues are you having trouble with?

Or did you just want us to do your homework for you?

--
Keith Thompson (The_Other_Keith) ks...@mib.org *<http://www.ghoti.net/~kst>
Nokia
"We must do something. *This is something. *Therefore, we must do this."
* * -- Antony Jay and Jonathan Lynn, "Yes Minister"





我只需要知道如何做到这一点。

Hi,
I just need some idea about how to do this.


这篇关于所有安排一个字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆