用C或C ++编程

用C或C ++编程

问题描述:

由100个元素组成的数组,并用数字1到100填充它,这样一个数字应跳过而一个数字应重复.找到重复的数字和被跳过的数字.

an array of 100 element and fill it with the number 1 to 100 such that one number should skip and one number should repeat . find the number which is repeat and which is skipped .

对不起?那没有什么意义:我所能做的就是为我做功课,你将不得不猜测问题的实质."
Sorry? That doesn''t make a lot of sense: all I could get was "do my homework for me, you will have to guess what the question actually is."


我们不知道"人们为他们做功课.这不是因为我们感觉优越,而是因为如果我们为您做功课,您将不会学到任何东西.如果您自己付出一些努力,并且遇到了具体问题,请返回并询问该问题,您将获得比想象中更多的帮助.

继续并进行编码.
We don''t do people''s homework for them. It''s not because we feel superior, but because YOU won''t learn anything if we do your homework for you. If you put some effort into doing this yourself, and have a SPECIFIC PROBLEM, come back and ask about THAT PROBLEM, and you''ll likely get more help than you could ever imagine.

Go forth, and code.