pascal中判断集合中元素个数的方法或函数,

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/30 21:56:12

pascal中判断集合中元素个数的方法或函数,
pascal中判断集合中元素个数的方法或函数,

pascal中判断集合中元素个数的方法或函数,
for i:=1 to maxlongint do if i in 集合名称 then k:=k+1;
k就是有多少个元素