Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对不起我的愚蠢问题,但我怎样才能得到一个集合的大小(最大索引号)?
是否有内置函数,或者我必须在循环中计算它?
您要查找的命令是 nops。
这是“操作数数量”的缩写,它也适用于列表。