跳到主要内容

random_one

随机生成一个1或-1

声明

int random_one()

参数

参数名描述

返回值

1或-1

使用方式

返回文档