qidao123.com技术社区-IT企服评测·应用市场

标题: 【Yuexingfei_qwq的原创游戏】 [打印本页]

作者: 我可以不吃啊    时间: 2025-3-30 20:53
标题: 【Yuexingfei_qwq的原创游戏】
好的其实标题里的Yuexingfei_qwq指的是我。
不定时持续更新ing……
有bug实时回复或私信我哈……
本文同步发表在以下Blog:
洛谷:https://www.luogu.com.cn/article/a0nqm3my(看不到的话可以看https://www.luogu.me/article/a0nqm3my,记得每次点进去的时候都按一下“更新文章内容”按键)
CSDN:https://blog.csdn.net/yuexingfei_111/article/details/146573222?spm=1011.2415.3001.5331
博客园:https://www.cnblogs.com/yxf2013/p/18797025
“.h”文件(自编头文件)

game_1.h(常用游戏函数):
[code]#include #include #include #include #include #include #include #include #define _cl system("cls")#define _pa system("pause")#define _sl(x) Sleep(x)#define _PI 3.1415926535897932384626#define _ge getch()#define _Get(x) GetAsyncKeyState('x')#define _KE(x) ((GetAsyncKeyState(x) & 0x8000) ? 1:0)#define _sr srand(time(NULL))#define _ra(a, b) (rand() % (b - a + 1)) + ausing namespace std;typedef long long ll;typedef string str;using ull = unsigned long long;inline ll x_y(ll x, ll y, ll p = (1LL >= 1;        }        return ans_1;}inline void Sleep_write(const string &s, const int &y = 10, const string &t = "cout") {//逐字输出        for (auto i : s) {                if (t == "cin") {                        cout




欢迎光临 qidao123.com技术社区-IT企服评测·应用市场 (https://dis.qidao123.com/) Powered by Discuz! X3.4