#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h> // 用于随机数种子
// ==================== 跨平台适配(Windows/Linux/Mac) ====================
#ifdef _WIN32
// Windows 环境
#include <windows.h>
#include <conio.h> // Windows 保留 conio.h
#define CLEAR_SCREEN() system("cls")
#define SLEEP(ms) Sleep(ms)
......................
阅读全部 | 2025年11月27日 12:05