introduction

package
v0.0.0-...-700593a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const MaxRand = 16 // 声明一个具名整型常量

Variables

This section is empty.

Functions

func StatRandomNumbers

func StatRandomNumbers(numRands int) (int, int)

一个函数声明

StatRandomNumbers生成一些不大于MaxRand的非负
随机整数,并统计和返回小于和大于MaxRand/2的随机数
个数。输入参数numRands指定了要生成的随机数的总数。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL