由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - C -- sample without replacement
相关主题
one more interview questionhow to input arguments in visual C++ .NET
matlab: how to set defaul value for function argumentsAbout command line in C++
来几个C++测试题C++ template function default argument 很怪?
C里面有没有default argument这么一说,是不是只有在C++里有这个feature?c++设计一问:如何动态地调用不同的算法的dll ?
A simple question on Flex问个c++问题
gdb里怎么call member function问一个C++问题:default parameter and overriding/inheritanc (转载)
Default function template argumentspython: how to use an array as an argument
[合集] A C++ Constructor QuestionC++ 普及课程 (视频):Koenig Lookup - Argument Dependent Lookup (ADL)
相关话题的讨论汇总
话题: sample话题: without
进入Programming版参与讨论
1 (共1页)
f******e
发帖数: 921
1
I have a problem, write a C function to sample without replacement k numbers
from the set {1, 2, ... n} when n and k are the input arguments.
thanks
s****u
发帖数: 118
2
用C要自己写递归的哦,用C++吧

numbers

【在 f******e 的大作中提到】
: I have a problem, write a C function to sample without replacement k numbers
: from the set {1, 2, ... n} when n and k are the input arguments.
: thanks

1 (共1页)
进入Programming版参与讨论
相关主题
C++ 普及课程 (视频):Koenig Lookup - Argument Dependent Lookup (ADL)A simple question on Flex
C++ static member method with default argumentsgdb里怎么call member function
any lexer/parser enthusiasts here?Default function template arguments
C++ Segment Fault[合集] A C++ Constructor Question
one more interview questionhow to input arguments in visual C++ .NET
matlab: how to set defaul value for function argumentsAbout command line in C++
来几个C++测试题C++ template function default argument 很怪?
C里面有没有default argument这么一说,是不是只有在C++里有这个feature?c++设计一问:如何动态地调用不同的算法的dll ?
相关话题的讨论汇总
话题: sample话题: without