由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] 请教一个大公司的笔试题,关于c++随机数的
相关主题
MINOS linear programming
相关话题的讨论汇总
话题: c++话题: write话题: minos话题: try话题: numbers
进入Programming版参与讨论
1 (共1页)
b***y
发帖数: 2799
1
☆─────────────────────────────────────☆
minos (minos) 于 (Wed Oct 29 16:13:48 2008) 提到:
Write a C++ class for generating N integer numbers from 0 to N-1 in "
random" order. Also if given a text file with N integers, write a program to
test if all the numbers in the file are unique and are from 0 to N.
Try to write them in C++ format, and try to find a solution which saves time
and memory. In C++, use classes to hold the data and methods (functions),
then use main() function to create obje
1 (共1页)
进入Programming版参与讨论
相关主题
MINOS linear programming
相关话题的讨论汇总
话题: c++话题: write话题: minos话题: try话题: numbers