摘要:
//引用io库 类似c#的using use std::cmp::Ordering; use std::io; use rand::Rng; fn main() { println!("这是一个猜数游戏"); println!("请输入一个数字"); loop { //mut 为mutable可变, 阅读全文
posted @ 2024-01-11 22:08
KloseYu
阅读(33)
评论(0)
推荐(0)
摘要:
#include<cstdio> #include<windows.h> #include<time.h> int main() { srand(time(0)); int x, y, z; x = rand() % 100; y = -1; while (z = 0, z <= 100) { wh 阅读全文
posted @ 2024-01-11 22:02
KloseYu
阅读(21)
评论(0)
推荐(0)

浙公网安备 33010602011771号