C/C++の宿題片付けます 135代目
■ このスレッドは過去ログ倉庫に格納されています
0362デフォルトの名無しさん
2010/04/25(日) 12:55:48ここまでの流れを読んだ上で出題者の方に確認してみた所、カウントするのもプログラム上でやれとの事でした
If the random number function does it job perfectly, the distribution to each number should be equal. But they might be slightly off.
の部分は上で仰っていた方がいらした様に、問題文への補足説明の様です
回答結果がどの様な感じになるのかの具体的な説明も付記されていたのでコピペしておきます
For example, user entered N as 50. Then you are filling the array with 50 random values
and then sort. And the count how many 1’s, 2’s, 3’s, 4’s, 5’s, …, 100’s. and then print out
that info.
■ このスレッドは過去ログ倉庫に格納されています