用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 .

推荐答案



这篇关于用C或C ++编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-27 16:58
查看更多