新程序——伪Windows:HuaYao v_0.1.5_test

学术版

TIS_Minecraft_CNAI @ 2024-11-01 22:45:57

此帖主要内容:开源院和展示CNAI的新程序——基于C++和graphics.h库的HuaYao v_0.1.5_test

(开发组:@TIS_Minecraft_CNAI @zsh_haha)

C++源代码如下:

/****************************************************************************************************/
//
//HuaYao v_0.1.5_test(曾用名:cnWin12 9.2.0)
//by @TIS_Minecraft_CNAI(曾用名:@cn_haha)
//
//此为作者手写的第一个测试版本,功能与预期相差很多
//当前代码框架能且仅能支持两种内测软件(现为伪代码)
//
//更新的 HuaYao v_0.2.0_test 和 Huayao v_0.1.5_sell 正在开发中
//
//HuaYao v_0.2.0_test 和 Huayao v_0.1.5_sell 会更新代码框架,可能会更换语言
//
/****************************************************************************************************/

/****************************************************************************************************/
//
//使用说明:
//1、在桌面右键单击图标打开测试伪软件
//2、左键单机右下角回到桌面
//3、左键单击任务栏的图标打开已经打开过的测试伪软件
//4、左键单击测试伪软件右上角红色方框以关闭打开过的测试伪软件
//5、左键单击左下方圆形图标,再次单击“关机 >”键,随后按任意键关机
//
/****************************************************************************************************/

/****************************************************************************************************/
//
//目前开发组仅 @TIS_Minecraft_CNAI 和 @zsh_haha 两人
//故急需招聘编码人员以开发更新的 HuaYao v_0.2.0_test 和 Huayao v_0.1.5_sell即以后版本
//
//招聘要求:
//1、会C++,拥有基本的C++编码能力
//2、有充足时间与热情参与此事业
//
//如有人报名,请私信 @TIS_Minecraft_CNAI,即本文作者
//对于所有有意参与者,将在 15 个工作日以内回复
//
/****************************************************************************************************/

#include <bits/stdc++.h>
#include <graphics.h>
#include <windows.h>
using namespace std;

long long width;
long long height;
long long n;
bool IsKaiShif=0;
bool IsLuoGu_Open=0;
bool Is360LiuLanQi_Open=0;
long long IsLuoGu_Open_ShunXu=0;
long long Is360LiuLanQi_Open_ShunXu=0;
long long Now_Open=0;
long long Now_Open_ZongShu=0;

void ZhuoMian_ChuShihua() {
    setfillcolor(BLACK);
    bar(0,0,width+1,height-40);

    setcolor(LIGHTBLUE);
    setfontbkcolor(BLACK);
    setfont(200,250,"幼圆");
    outtextxy(30,300,"cnWin12");

    setcolor(LIGHTBLUE);
    setfont(60,60,"幼圆");
    setfontbkcolor(BLACK);
    outtextxy(5,15,"&");
    setcolor(WHITE);
    setfont(10,10,"黑体");
    outtextxy(5,80," 洛谷");

    setcolor(GREEN);
    setfont(60,60,"幼圆");
    setfontbkcolor(BLACK);
    outtextxy(5,125,"e");
    setcolor(WHITE);
    setfont(10,7,"黑体");
    outtextxy(0,190,"360浏览器");

    long long n=29,Lie=10,ZhuoMianX=0,ZhuoMianY=210;
    setfillcolor(LIGHTCYAN);
    for(int i=3; i<=n; i++) {
        bar(ZhuoMianX+5,ZhuoMianY+10,ZhuoMianX+70-5,ZhuoMianY+100-10);
        if(i%Lie==0) {
            ZhuoMianX+=70;
            ZhuoMianY=10;
        } else {
            ZhuoMianY+=100;
        }
    }
}

void RenWuLan_HuaTu(int n) {
    setfillcolor(LIGHTBLUE);
    bar(0,height-40,width,height);

    setcolor(BLUE);
    setfillcolor(BLUE);
    fillellipse(30,height-20,20,20);
    setcolor(RED);
    setfont(20,20,"黑体");
    setfontbkcolor(BLUE);
    outtextxy(20,height-30,"W");

    setfillcolor(WHITE);
    bar(width-21,height-40,width,height);
    setfillcolor(LIGHTBLUE);
    bar(width-19,height-40,width,height);
    setfillcolor(LIGHTCYAN);

    long long RenWuLanX=60;
    for(int i=1; i<=n; i++) {
        bar(RenWuLanX,height-40,RenWuLanX+60,height);
        RenWuLanX+=65;
    }
    IsLuoGu_Open=0;
}

void LuoGu() {
    setfillcolor(WHITE);
    bar(0,0,width,height-40);

    setfillcolor(LIGHTGRAY);
    bar(width-80,0,width,20);
    setfillcolor(WHITE);
    bar(width-77,3,width-55,17);
    setfillcolor(WHITE);
    bar(width-51,3,width-29,17);
    setfillcolor(RED);
    bar(width-25,3,width-3,17);

    setcolor(LIGHTBLUE);
    setfontbkcolor(WHITE);
    setfont(200,250,"幼圆");
    outtextxy(0,300,"  洛谷  ");
}

void LiuLanQi_360() {
    setfillcolor(WHITE);
    bar(0,0,width,height-40);

    setfillcolor(LIGHTGRAY);
    bar(width-80,0,width,20);
    setfillcolor(WHITE);
    bar(width-77,3,width-55,17);
    setfillcolor(WHITE);
    bar(width-51,3,width-29,17);
    setfillcolor(RED);
    bar(width-25,3,width-3,17);

    setcolor(LIGHTBLUE);
    setfontbkcolor(WHITE);
    setfont(200,200,"幼圆");
    outtextxy(0,300,"360浏览器");
}

int main() {
    setinitmode(1,0,0);
    initgraph(-1,-1);
    width  = getmaxx();
    height = getmaxy();

    ZhuoMian_ChuShihua();

    RenWuLan_HuaTu(n);

    long long xx=10;
    mouse_msg msg= {0};

    while(1) {
        while(mousemsg()) {
            msg=getmouse();
        }
        if(msg.is_down()) {
            if(msg.is_left()) {
                if(msg.x>=0&msg.x<=60&msg.y>=(height-40)&msg.y<=height) {
                    setfillcolor(LIGHTGRAY);
                    bar(0,height-720,405,height-40);
                    setfillcolor(WHITE);
                    bar(10,height-710,255,height-50);
                    setfillcolor(DARKGRAY);
                    bar(305,height-740,365,height-680);
                    setfillcolor(WHITE);
                    bar(310,height-735,360,height-685);
                    setfillcolor(LIGHTGRAY);
                    bar(265,height-85,365,height-65);
                    setfillcolor(WHITE);
                    bar(267,height-87,363,height-63);
                    setcolor(DARKGRAY);
                    setfontbkcolor(WHITE);
                    setfont(14,14,"黑体");
                    outtextxy(270,height-84,"关机 >");
                    IsKaiShif=1;
                } else if(msg.x>=0&msg.x<=405&msg.y>=height-720&msg.y<=height-40) {
                    if(msg.x>=267&msg.x<=353&msg.y>=height-87&msg.y<=height-63) {
                        setfont(25,25,"黑体");
                        setcolor(MAGENTA);
                        outtextxy(width/2-120,height/2-50,"确定关机?(Y/N)");
                        getch();
                        outtextxy(width/2-150,height/2-50,"正在关机.      \\");
                        Sleep(1000);
                        outtextxy(width/2-150,height/2-50,"正在关机..     /");
                        Sleep(1000);
                        outtextxy(width/2-150,height/2-50,"正在关机...    \\");
                        Sleep(1000);
                        outtextxy(width/2-150,height/2-50,"正在关机....   /");
                        Sleep(1000);
                        outtextxy(width/2-150,height/2-50,"正在关机.....  \\");
                        Sleep(900);
                        outtextxy(width/2-150,height/2-50,"正在关机...... /");
                        Sleep(800);
                        outtextxy(width/2-150,height/2-50,"正在关机.......\\");
                        Sleep(500);
                        break;
                    }
                } else if(msg.x>=width-20&msg.x<=width&msg.y>=height-40&msg.y<=height) {
                    ZhuoMian_ChuShihua();
                } else if(IsKaiShif==1) {
                    setfillcolor(BLACK);
                    bar(0,height-720,405,height-40);
                    ZhuoMian_ChuShihua();
                    IsKaiShif=0;
                    if(IsLuoGu_Open==1) {
                        LuoGu();
                        Now_Open=1;
                    }
                    if(Is360LiuLanQi_Open==1) {
                        LiuLanQi_360();
                        Now_Open=2;
                    }
                } else if(msg.x>=60&msg.x<=120&msg.y>=height-40&msg.y<=height) {
                    if(IsLuoGu_Open=1 && IsLuoGu_Open_ShunXu==1) {
                        LuoGu();
                        Now_Open=1;
                    } else if(Is360LiuLanQi_Open==1 && Is360LiuLanQi_Open_ShunXu==1) {
                        LiuLanQi_360();
                        Now_Open=2;
                    }
                } else if(msg.x>=125&msg.x<=185&msg.y>=height-40&msg.y<=height) {
                    if(IsLuoGu_Open=1 && IsLuoGu_Open_ShunXu==2) {
                        LuoGu();
                        Now_Open=1;
                    } else if(Is360LiuLanQi_Open==1 && Is360LiuLanQi_Open_ShunXu==2) {
                        LiuLanQi_360();
                        Now_Open=2;
                    }
                } else if(msg.x>=width-25&msg.x<=width-3&msg.y>=3&msg.y<=17) {
                    if(IsLuoGu_Open==1 || Is360LiuLanQi_Open==1) {
                        if(Now_Open==1 && Now_Open_ZongShu==2) {
                            LiuLanQi_360();
                            RenWuLan_HuaTu(1);
                            n--;
                            Now_Open=2;
                            Now_Open_ZongShu=1;
                            Is360LiuLanQi_Open=1;
                            IsLuoGu_Open=0;
                            IsLuoGu_Open_ShunXu=0;
                            Is360LiuLanQi_Open_ShunXu=1;
                            Sleep(80);
                            continue;
                        } else if(Now_Open==2 && Now_Open_ZongShu==2) {
                            LuoGu();
                            RenWuLan_HuaTu(1);
                            n--;
                            Now_Open=1;
                            Now_Open_ZongShu=1;
                            Is360LiuLanQi_Open=0;
                            IsLuoGu_Open=1;
                            IsLuoGu_Open_ShunXu=1;
                            Is360LiuLanQi_Open_ShunXu=0;
                            Sleep(80);
                            continue;
                        } else if(Now_Open_ZongShu==1) {
                            ZhuoMian_ChuShihua();
                            RenWuLan_HuaTu(0);
                            n=0;
                            Now_Open_ZongShu=0;
                            IsLuoGu_Open=0;
                            Is360LiuLanQi_Open=0;
                            IsLuoGu_Open_ShunXu=0;
                            Is360LiuLanQi_Open_ShunXu=0;
                            continue;
                        }
                    }
                }
            } else if(msg.is_right()) {
                if(msg.x>=0&msg.x<=70&msg.y>=10&msg.y<=80) {
                    if(IsLuoGu_Open==0) {
                        LuoGu();
                        RenWuLan_HuaTu(++n);
                        IsLuoGu_Open=1;
                        Now_Open=1;
                        Now_Open_ZongShu++;
                        if(Is360LiuLanQi_Open_ShunXu==1) {
                            IsLuoGu_Open_ShunXu=2;
                        }
                        if(Is360LiuLanQi_Open_ShunXu==0) {
                            IsLuoGu_Open_ShunXu=1;
                        }
                    }
                } else if(msg.x>=0&msg.x<=70&msg.y>=110&msg.y<=190) {
                    if(Is360LiuLanQi_Open==0) {
                        LiuLanQi_360();
                        RenWuLan_HuaTu(++n);
                        Is360LiuLanQi_Open=1;
                        Now_Open=2;
                        Now_Open_ZongShu++;
                        if(IsLuoGu_Open_ShunXu==1) {
                            Is360LiuLanQi_Open_ShunXu=2;
                        } else if(IsLuoGu_Open_ShunXu==0) {
                            Is360LiuLanQi_Open_ShunXu=1;
                        }
                    }
                }
            }
        }
        Sleep(10);
    }

    closegraph();
    return 0;
}

by TIS_Minecraft_CNAI @ 2024-11-01 22:46:09

开发组:@TIS_Minecraft_CNAI @zsh_haha

本人将持续用 C++ 和 graphics.h 库开发,并将最新成果发到 luogu 上

贴一个一年前写的另一个软件(未完成)(顺便问一下 ):

//SIMS 3.1.8
//by cn_haha
//CNAI
#include<bits/stdc++.h>
#include<graphics.h>
#include<windows.h>
    using namespace std;
    long long width;
    long long height;
    long long NianJi=7;
    long long BanJi=1;
    long long New=1;
    long long JiZhun=250;
    long long LING=0;
    long long YI=1;
    long long SHISI=14;
    long long WUSHI=50;
    long long YuWenChengJiDan_YeMa=1;
    long long ShuXueChengJiDan_YeMa=1;
    long long YingYuChengJiDan_YeMa=1;
    long long ZhengZhiChengJiDan_YeMa=1;
    long long LiShiChengJiDan_YeMa=1;
    long long DiLiChengJiDan_YeMa=1;
    long long ShengWuChengJiDan_YeMa=1;
    bool f=1;

    struct Student_Information{
        string MingZi;
        long long XingBie;
        long long XueHao;
        long long NIanJi;
        long long BAnJi;
        long long NianLing;
        string XueJiHao;
        string ShenFenZhengHao;

        long long TiYu;
        long long ZongFen;
        long long YuWen;
        long long YuWen_1;
        long long YuWen_2;
        long long YuWen_3;
        long long ShuXue;
        long long ShuXue_1;
        long long ShuXue_2;
        long long ShuXue_3;
        long long YingYu;
        long long YingYu_1;
        long long YingYu_2;
        long long YingYu_3;
        long long ZhengZhi;
        long long ZhengZhi_1;
        long long ZhengZhi_2;
        long long ZhengZhi_3;
        long long LiShi;
        long long LiShi_1;
        long long LiShi_2;
        long long LiShi_3;
        long long DiLi;
        long long DiLi_1;
        long long DiLi_2;
        long long DiLi_3;
        long long ShengWu;
        long long ShengWu_1;
        long long ShengWu_2;
        long long ShengWu_3;
        long long WuLi;
        long long WuLi_1;
        long long WuLi_2;
        long long WuLi_3;
        long long HuaXui;
        long long HuaXui_1;
        long long HuaXui_2;
        long long HuaXui_3;
    } Student[4500];

    void ChuShiHua(){
        for(int j=0;j<3;j++){
            for(int i=j*1500;i<(j+1)*1500;i+=4){
                Student[i].MingZi="XiaoMing";
                Student[i].XingBie=1;
                Student[i].XueHao=i%60+1;
                Student[i].NIanJi=j+7;
                Student[i].BAnJi=i/60+1;
                Student[i].NianLing=13;
                Student[i].XueJiHao="G1145141919810";
                Student[i].ShenFenZhengHao="1145141919810";
                Student[i].ZongFen=700;
                Student[i].YuWen=100;
                Student[i].YuWen_1=20;
                Student[i].YuWen_2=30;
                Student[i].YuWen_3=50;
                Student[i].ShuXue=100;
                Student[i].ShuXue_1=20;
                Student[i].ShuXue_2=30;
                Student[i].ShuXue_3=50;
                Student[i].YingYu=100;
                Student[i].YingYu_1=20;
                Student[i].YingYu_2=30;
                Student[i].YingYu_3=50;
                Student[i].ZhengZhi=100;
                Student[i].ZhengZhi_1=20;
                Student[i].ZhengZhi_2=30;
                Student[i].ZhengZhi_3=50;
                Student[i].LiShi=100;
                Student[i].LiShi_1=20;
                Student[i].LiShi_2=30;
                Student[i].LiShi_3=50;
                Student[i].DiLi=100;
                Student[i].DiLi_1=20;
                Student[i].DiLi_2=30;
                Student[i].DiLi_3=50;
                Student[i].ShengWu=100;
                Student[i].ShengWu_1=20;
                Student[i].ShengWu_2=30;
                Student[i].ShengWu_3=50;
                Student[i].WuLi=0;
                Student[i].WuLi_1=0;
                Student[i].WuLi_2=0;
                Student[i].WuLi_3=0;
                Student[i].HuaXui=0;
                Student[i].HuaXui_1=0;
                Student[i].HuaXui_2=0;
                Student[i].HuaXui_3=0;

                Student[i+1].MingZi="XiaoMei";
                Student[i+1].XingBie=0;
                Student[i+1].XueHao=(i+1)%60+1;
                Student[i+1].NIanJi=j+7;
                Student[i+1].BAnJi=i/60+1;
                Student[i+1].NianLing=13;
                Student[i+1].XueJiHao="G1919810114514";
                Student[i+1].ShenFenZhengHao="1919810114514";
                Student[i+1].ZongFen=700;
                Student[i+1].YuWen=100;
                Student[i+1].YuWen_1=20;
                Student[i+1].YuWen_2=30;
                Student[i+1].YuWen_3=50;
                Student[i+1].ShuXue=100;
                Student[i+1].ShuXue_1=20;
                Student[i+1].ShuXue_2=30;
                Student[i+1].ShuXue_3=50;
                Student[i+1].YingYu=100;
                Student[i+1].YingYu_1=20;
                Student[i+1].YingYu_2=30;
                Student[i+1].YingYu_3=50;
                Student[i+1].ZhengZhi=100;
                Student[i+1].ZhengZhi_1=20;
                Student[i+1].ZhengZhi_2=30;
                Student[i+1].ZhengZhi_3=50;
                Student[i+1].LiShi=100;
                Student[i+1].LiShi_1=20;
                Student[i+1].LiShi_2=30;
                Student[i+1].LiShi_3=50;
                Student[i+1].DiLi=100;
                Student[i+1].DiLi_1=20;
                Student[i+1].DiLi_2=30;
                Student[i+1].DiLi_3=50;
                Student[i+1].ShengWu=100;
                Student[i+1].ShengWu_1=20;
                Student[i+1].ShengWu_2=30;
                Student[i+1].ShengWu_3=50;
                Student[i+1].WuLi=0;
                Student[i+1].WuLi_1=0;
                Student[i+1].WuLi_2=0;
                Student[i+1].WuLi_3=0;
                Student[i+1].HuaXui=0;
                Student[i+1].HuaXui_1=0;
                Student[i+1].HuaXui_2=0;
                Student[i+1].HuaXui_3=0;

                Student[i+2].MingZi="XiaoLiang";
                Student[i+2].XingBie=1;
                Student[i+2].XueHao=(i+2)%60+1;
                Student[i+2].NIanJi=j+7;
                Student[i+2].BAnJi=i/60+1;
                Student[i+2].NianLing=13;
                Student[i+2].XueJiHao="G1919810114514";
                Student[i+2].ShenFenZhengHao="1919810114514";
                Student[i+2].ZongFen=700;
                Student[i+2].YuWen=100;
                Student[i+2].YuWen_1=20;
                Student[i+2].YuWen_2=30;
                Student[i+2].YuWen_3=50;
                Student[i+2].ShuXue=100;
                Student[i+2].ShuXue_1=20;
                Student[i+2].ShuXue_2=30;
                Student[i+2].ShuXue_3=50;
                Student[i+2].YingYu=100;
                Student[i+2].YingYu_1=20;
                Student[i+2].YingYu_2=30;
                Student[i+2].YingYu_3=50;
                Student[i+2].ZhengZhi=100;
                Student[i+2].ZhengZhi_1=20;
                Student[i+2].ZhengZhi_2=30;
                Student[i+2].ZhengZhi_3=50;
                Student[i+2].LiShi=100;
                Student[i+2].LiShi_1=20;
                Student[i+2].LiShi_2=30;
                Student[i+2].LiShi_3=50;
                Student[i+2].DiLi=100;
                Student[i+2].DiLi_1=20;
                Student[i+2].DiLi_2=30;
                Student[i+2].DiLi_3=50;
                Student[i+2].ShengWu=100;
                Student[i+2].ShengWu_1=20;
                Student[i+2].ShengWu_2=30;
                Student[i+2].ShengWu_3=50;
                Student[i+2].WuLi=0;
                Student[i+2].WuLi_1=0;
                Student[i+2].WuLi_2=0;
                Student[i+2].WuLi_3=0;
                Student[i+2].HuaXui=0;
                Student[i+2].HuaXui_1=0;
                Student[i+2].HuaXui_2=0;
                Student[i+2].HuaXui_3=0;

                Student[i+3].MingZi="XiaoShuai";
                Student[i+3].XingBie=1;
                Student[i+3].XueHao=(i+3)%60+1;
                Student[i+3].NIanJi=j+7;
                Student[i+3].BAnJi=i/60+1;
                Student[i+3].NianLing=13;
                Student[i+3].XueJiHao="G1919810114514";
                Student[i+3].ShenFenZhengHao="1919810114514";
                Student[i+3].ZongFen=700;
                Student[i+3].YuWen=100;
                Student[i+3].YuWen_1=20;
                Student[i+3].YuWen_2=30;
                Student[i+3].YuWen_3=50;
                Student[i+3].ShuXue=100;
                Student[i+3].ShuXue_1=20;
                Student[i+3].ShuXue_2=30;
                Student[i+3].ShuXue_3=50;
                Student[i+3].YingYu=100;
                Student[i+3].YingYu_1=20;
                Student[i+3].YingYu_2=30;
                Student[i+3].YingYu_3=50;
                Student[i+3].ZhengZhi=100;
                Student[i+3].ZhengZhi_1=20;
                Student[i+3].ZhengZhi_2=30;
                Student[i+3].ZhengZhi_3=50;
                Student[i+3].LiShi=100;
                Student[i+3].LiShi_1=20;
                Student[i+3].LiShi_2=30;
                Student[i+3].LiShi_3=50;
                Student[i+3].DiLi=100;
                Student[i+3].DiLi_1=20;
                Student[i+3].DiLi_2=30;
                Student[i+3].DiLi_3=50;
                Student[i+3].ShengWu=100;
                Student[i+3].ShengWu_1=20;
                Student[i+3].ShengWu_2=30;
                Student[i+3].ShengWu_3=50;
                Student[i+3].WuLi=0;
                Student[i+3].WuLi_1=0;
                Student[i+3].WuLi_2=0;
                Student[i+3].WuLi_3=0;
                Student[i+3].HuaXui=0;
                Student[i+3].HuaXui_1=0;
                Student[i+3].HuaXui_2=0;
                Student[i+3].HuaXui_3=0;
            }
        } 
    }

    void YuWenChengJiDan(long long YuWenChengJiDan_YeMa){
        setfillcolor(BLACK);
        bar(130,250,width,height);
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(130,250,width,360);
        setfillcolor(LIGHTGRAY);
        bar(130,360,width,390);
        setfillcolor(DARKGRAY);
        bar(135,255,165,285);
        setfillcolor(EGERGB(250,85,40));
        bar(137,257,163,283);
        setcolor(EGERGB(0xFF,0xFF,0xFF));
        setbkmode(TRANSPARENT);
        setfont(18,18,"黑体");
        xyprintf(141,261,"%c",'<');

        long long X=240,Y=360,Y_Jia=30;
        long long X1=70,X2=360,X3=255,X4=100;

        setcolor(BLACK);
        setfont(20,0,"楷体 ");

        setfillcolor(DARKGRAY);
        bar(X,Y,X+X1,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
        xyprintf(X+2,Y+5,"学号");

        setfillcolor(DARKGRAY);
        bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+5,Y+5,"  班级  ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X4+5,Y+5,"               姓名               ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X4+5,Y+5,"          总分          ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3+X4+5,Y+5,"           一           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"           二           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"           三           ");

        X=240,Y=390,Y_Jia=23,X1=70,X2=360,X3=255,X4=100;

        setfont(20,0,"楷体 ");
        for(int i=(YuWenChengJiDan_YeMa-1)*30;i<(YuWenChengJiDan_YeMa-1)*30+30;i++){
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X,Y,X+X1,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
            xyprintf(X+5,Y+5,"%lld",Student[i].XueHao);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+5,Y+5,"%lld",Student[i].BAnJi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X4+5,Y+5,"%s",Student[i].MingZi.c_str());

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X4+5,Y+5,"%lld",Student[i].YuWen);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3+X4+5,Y+5,"%lld",Student[i].YuWen_1);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"%lld",Student[i].YuWen_2);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"%lld",Student[i].YuWen_3);

            Y+=Y_Jia;
        }

        setfillcolor(LIGHTGRAY);
        bar(width-20,360,width,height);
        setfillcolor(WHITE);
        bar(width-18,362,width-2,height-1);
        setfillcolor(LIGHTGRAY);
        bar(width-18,362+(YuWenChengJiDan_YeMa-1)*((height-360)/50),width-2,362+(YuWenChengJiDan_YeMa+1)*((height-360)/50));

        setcolor(LIGHTBLUE);
        setbkmode(TRANSPARENT);
        setfont(80,80,"斜体");
        xyprintf(170,260,"语文_");
    }

    void ShuXueChengJiDan(long long ShuXueChengJiDan_YeMa){
        setfillcolor(BLACK);
        bar(130,250,width,height);
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(130,250,width,360);
        setfillcolor(LIGHTGRAY);
        bar(130,360,width,390);
        setfillcolor(DARKGRAY);
        bar(135,255,165,285);
        setfillcolor(EGERGB(250,85,40));
        bar(137,257,163,283);
        setcolor(EGERGB(0xFF,0xFF,0xFF));
        setbkmode(TRANSPARENT);
        setfont(18,18,"黑体");
        xyprintf(141,261,"%c",'<');

        long long X=240,Y=360,Y_Jia=30;
        long long X1=70,X2=360,X3=255,X4=100;

        setcolor(BLACK);
        setfont(20,0,"楷体 ");

        setfillcolor(DARKGRAY);
        bar(X,Y,X+X1,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
        xyprintf(X+2,Y+5,"学号");

        setfillcolor(DARKGRAY);
        bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+5,Y+5,"  班级  ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X4+5,Y+5,"               姓名               ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X4+5,Y+5,"          总分          ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3+X4+5,Y+5,"           一           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"           二           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"           三           ");

        X=240,Y=390,Y_Jia=23,X1=70,X2=360,X3=255,X4=100;

        setfont(20,0,"楷体 ");
        for(int i=(ShuXueChengJiDan_YeMa-1)*30;i<(ShuXueChengJiDan_YeMa-1)*30+30;i++){
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X,Y,X+X1,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
            xyprintf(X+5,Y+5,"%lld",Student[i].XueHao);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+5,Y+5,"%lld",Student[i].BAnJi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X4+5,Y+5,"%s",Student[i].MingZi.c_str());

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X4+5,Y+5,"%lld",Student[i].ShuXue);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3+X4+5,Y+5,"%lld",Student[i].ShuXue_1);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"%lld",Student[i].ShuXue_2);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"%lld",Student[i].ShuXue_3);

            Y+=Y_Jia;
        }

        setfillcolor(LIGHTGRAY);
        bar(width-20,360,width,height);
        setfillcolor(WHITE);
        bar(width-18,362,width-2,height-1);
        setfillcolor(LIGHTGRAY);
        bar(width-18,362+(ShuXueChengJiDan_YeMa-1)*((height-360)/50),width-2,362+(ShuXueChengJiDan_YeMa+1)*((height-360)/50));

        setcolor(LIGHTBLUE);
        setbkmode(TRANSPARENT);
        setfont(80,80,"斜体");
        xyprintf(170,260,"数学_");
    }

    void YingYuChengJiDan(long long YingYuChengJiDan_YeMa){
        setfillcolor(BLACK);
        bar(130,250,width,height);
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(130,250,width,360);
        setfillcolor(LIGHTGRAY);
        bar(130,360,width,390);
        setfillcolor(DARKGRAY);
        bar(135,255,165,285);
        setfillcolor(EGERGB(250,85,40));
        bar(137,257,163,283);
        setcolor(EGERGB(0xFF,0xFF,0xFF));
        setbkmode(TRANSPARENT);
        setfont(18,18,"黑体");
        xyprintf(141,261,"%c",'<');

        long long X=240,Y=360,Y_Jia=30;
        long long X1=70,X2=360,X3=255,X4=100;

        setcolor(BLACK);
        setfont(20,0,"楷体 ");

        setfillcolor(DARKGRAY);
        bar(X,Y,X+X1,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
        xyprintf(X+2,Y+5,"学号");

        setfillcolor(DARKGRAY);
        bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+5,Y+5,"  班级  ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X4+5,Y+5,"               姓名               ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X4+5,Y+5,"          总分          ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3+X4+5,Y+5,"           一           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"           二           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"           三           ");

        X=240,Y=390,Y_Jia=23,X1=70,X2=360,X3=255,X4=100;

        setfont(20,0,"楷体 ");
        for(int i=(YingYuChengJiDan_YeMa-1)*30;i<(YingYuChengJiDan_YeMa-1)*30+30;i++){
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X,Y,X+X1,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
            xyprintf(X+5,Y+5,"%lld",Student[i].XueHao);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+5,Y+5,"%lld",Student[i].BAnJi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X4+5,Y+5,"%s",Student[i].MingZi.c_str());

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X4+5,Y+5,"%lld",Student[i].YingYu);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3+X4+5,Y+5,"%lld",Student[i].YingYu_1);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"%lld",Student[i].YingYu_2);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"%lld",Student[i].YingYu_3);

            Y+=Y_Jia;
        }

        setfillcolor(LIGHTGRAY);
        bar(width-20,360,width,height);
        setfillcolor(WHITE);
        bar(width-18,362,width-2,height-1);
        setfillcolor(LIGHTGRAY);
        bar(width-18,362+(YingYuChengJiDan_YeMa-1)*((height-360)/50),width-2,362+(YingYuChengJiDan_YeMa+1)*((height-360)/50));

        setcolor(LIGHTBLUE);
        setbkmode(TRANSPARENT);
        setfont(80,80,"斜体");
        xyprintf(170,260,"英语_");
    }

    void ZhengZhiChengJiDan(long long ZhengZhiChengJiDan_YeMa){
        setfillcolor(BLACK);
        bar(130,250,width,height);
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(130,250,width,360);
        setfillcolor(LIGHTGRAY);
        bar(130,360,width,390);
        setfillcolor(DARKGRAY);
        bar(135,255,165,285);
        setfillcolor(EGERGB(250,85,40));
        bar(137,257,163,283);
        setcolor(EGERGB(0xFF,0xFF,0xFF));
        setbkmode(TRANSPARENT);
        setfont(18,18,"黑体");
        xyprintf(141,261,"%c",'<');

        long long X=240,Y=360,Y_Jia=30;
        long long X1=70,X2=360,X3=255,X4=100;

        setcolor(BLACK);
        setfont(20,0,"楷体 ");

        setfillcolor(DARKGRAY);
        bar(X,Y,X+X1,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
        xyprintf(X+2,Y+5,"学号");

        setfillcolor(DARKGRAY);
        bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+5,Y+5,"  班级  ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X4+5,Y+5,"               姓名               ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X4+5,Y+5,"          总分          ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3+X4+5,Y+5,"           一           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"           二           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"           三           ");

        X=240,Y=390,Y_Jia=23,X1=70,X2=360,X3=255,X4=100;

        setfont(20,0,"楷体 ");
        for(int i=(ZhengZhiChengJiDan_YeMa-1)*30;i<(ZhengZhiChengJiDan_YeMa-1)*30+30;i++){
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X,Y,X+X1,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
            xyprintf(X+5,Y+5,"%lld",Student[i].XueHao);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+5,Y+5,"%lld",Student[i].BAnJi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X4+5,Y+5,"%s",Student[i].MingZi.c_str());

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X4+5,Y+5,"%lld",Student[i].LiShi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3+X4+5,Y+5,"%lld",Student[i].ZhengZhi_1);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"%lld",Student[i].ZhengZhi_2);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"%lld",Student[i].ZhengZhi_3);

            Y+=Y_Jia;
        }

        setfillcolor(LIGHTGRAY);
        bar(width-20,360,width,height);
        setfillcolor(WHITE);
        bar(width-18,362,width-2,height-1);
        setfillcolor(LIGHTGRAY);
        bar(width-18,362+(ZhengZhiChengJiDan_YeMa-1)*((height-360)/50),width-2,362+(ZhengZhiChengJiDan_YeMa+1)*((height-360)/50));

        setcolor(LIGHTBLUE);
        setbkmode(TRANSPARENT);
        setfont(80,80,"斜体");
        xyprintf(170,260,"政治_");
    }

    void LiShiChengJiDan(long long LiShiChengJiDan_YeMa){
        setfillcolor(BLACK);
        bar(130,250,width,height);
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(130,250,width,360);
        setfillcolor(LIGHTGRAY);
        bar(130,360,width,390);
        setfillcolor(DARKGRAY);
        bar(135,255,165,285);
        setfillcolor(EGERGB(250,85,40));
        bar(137,257,163,283);
        setcolor(EGERGB(0xFF,0xFF,0xFF));
        setbkmode(TRANSPARENT);
        setfont(18,18,"黑体");
        xyprintf(141,261,"%c",'<');

        long long X=240,Y=360,Y_Jia=30;
        long long X1=70,X2=360,X3=255,X4=100;

        setcolor(BLACK);
        setfont(20,0,"楷体 ");

        setfillcolor(DARKGRAY);
        bar(X,Y,X+X1,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
        xyprintf(X+2,Y+5,"学号");

        setfillcolor(DARKGRAY);
        bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+5,Y+5,"  班级  ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X4+5,Y+5,"               姓名               ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X4+5,Y+5,"          总分          ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3+X4+5,Y+5,"           一           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"           二           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"           三           ");

        X=240,Y=390,Y_Jia=23,X1=70,X2=360,X3=255,X4=100;

        setfont(20,0,"楷体 ");
        for(int i=(LiShiChengJiDan_YeMa-1)*30;i<(LiShiChengJiDan_YeMa-1)*30+30;i++){
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X,Y,X+X1,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
            xyprintf(X+5,Y+5,"%lld",Student[i].XueHao);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+5,Y+5,"%lld",Student[i].BAnJi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X4+5,Y+5,"%s",Student[i].MingZi.c_str());

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X4+5,Y+5,"%lld",Student[i].LiShi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3+X4+5,Y+5,"%lld",Student[i].LiShi_1);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"%lld",Student[i].LiShi_2);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"%lld",Student[i].LiShi_3);

            Y+=Y_Jia;
        }

        setfillcolor(LIGHTGRAY);
        bar(width-20,360,width,height);
        setfillcolor(WHITE);
        bar(width-18,362,width-2,height-1);
        setfillcolor(LIGHTGRAY);
        bar(width-18,362+(LiShiChengJiDan_YeMa-1)*((height-360)/50),width-2,362+(LiShiChengJiDan_YeMa+1)*((height-360)/50));

        setcolor(LIGHTBLUE);
        setbkmode(TRANSPARENT);
        setfont(80,80,"斜体");
        xyprintf(170,260,"历史_");
    }

    void DiLiChengJiDan(long long DiLiChengJiDan_YeMa){
        setfillcolor(BLACK);
        bar(130,250,width,height);
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(130,250,width,360);
        setfillcolor(LIGHTGRAY);
        bar(130,360,width,390);
        setfillcolor(DARKGRAY);
        bar(135,255,165,285);
        setfillcolor(EGERGB(250,85,40));
        bar(137,257,163,283);
        setcolor(EGERGB(0xFF,0xFF,0xFF));
        setbkmode(TRANSPARENT);
        setfont(18,18,"黑体");
        xyprintf(141,261,"%c",'<');

        long long X=240,Y=360,Y_Jia=30;
        long long X1=70,X2=360,X3=255,X4=100;

        setcolor(BLACK);
        setfont(20,0,"楷体 ");

        setfillcolor(DARKGRAY);
        bar(X,Y,X+X1,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
        xyprintf(X+2,Y+5,"学号");

        setfillcolor(DARKGRAY);
        bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+5,Y+5,"  班级  ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X4+5,Y+5,"               姓名               ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X4+5,Y+5,"          总分          ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3+X4+5,Y+5,"           一           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"           二           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"           三           ");

        X=240,Y=390,Y_Jia=23,X1=70,X2=360,X3=255,X4=100;

        setfont(20,0,"楷体 ");
        for(int i=(DiLiChengJiDan_YeMa-1)*30;i<(DiLiChengJiDan_YeMa-1)*30+30;i++){
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X,Y,X+X1,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
            xyprintf(X+5,Y+5,"%lld",Student[i].XueHao);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+5,Y+5,"%lld",Student[i].BAnJi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X4+5,Y+5,"%s",Student[i].MingZi.c_str());

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X4+5,Y+5,"%lld",Student[i].DiLi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3+X4+5,Y+5,"%lld",Student[i].DiLi_1);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"%lld",Student[i].DiLi_2);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"%lld",Student[i].DiLi_3);

            Y+=Y_Jia;
        }

        setfillcolor(LIGHTGRAY);
        bar(width-20,360,width,height);
        setfillcolor(WHITE);
        bar(width-18,362,width-2,height-1);
        setfillcolor(LIGHTGRAY);
        bar(width-18,362+(DiLiChengJiDan_YeMa-1)*((height-360)/50),width-2,362+(DiLiChengJiDan_YeMa+1)*((height-360)/50));

        setcolor(LIGHTBLUE);
        setbkmode(TRANSPARENT);
        setfont(80,80,"斜体");
        xyprintf(170,260,"地理_");
    }

    void ShengWuChengJiDan(long long ShengWuChengJiDan_YeMa){
        setfillcolor(BLACK);
        bar(130,250,width,height);
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(130,250,width,360);
        setfillcolor(LIGHTGRAY);
        bar(130,360,width,390);
        setfillcolor(DARKGRAY);
        bar(135,255,165,285);
        setfillcolor(EGERGB(250,85,40));
        bar(137,257,163,283);
        setcolor(EGERGB(0xFF,0xFF,0xFF));
        setbkmode(TRANSPARENT);
        setfont(18,18,"黑体");
        xyprintf(141,261,"%c",'<');

        long long X=240,Y=360,Y_Jia=30;
        long long X1=70,X2=360,X3=255,X4=100;

        setcolor(BLACK);
        setfont(20,0,"楷体 ");

        setfillcolor(DARKGRAY);
        bar(X,Y,X+X1,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
        xyprintf(X+2,Y+5,"学号");

        setfillcolor(DARKGRAY);
        bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+5,Y+5,"  班级  ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X4+5,Y+5,"               姓名               ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X4+5,Y+5,"          总分          ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3+X4+5,Y+5,"           一           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"           二           ");

        setfillcolor(DARKGRAY);
        bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
        setfillcolor(LIGHTGRAY);
        bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
        xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"           三           ");

        X=240,Y=390,Y_Jia=23,X1=70,X2=360,X3=255,X4=100;

        setfont(20,0,"楷体 ");
        for(int i=(ShengWuChengJiDan_YeMa-1)*30;i<(ShengWuChengJiDan_YeMa-1)*30+30;i++){
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X,Y,X+X1,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
            xyprintf(X+5,Y+5,"%lld",Student[i].XueHao);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1,Y,X+X1+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+1,Y+1,X+X1+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+5,Y+5,"%lld",Student[i].BAnJi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X4,Y,X+X1+X2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X4+1,Y+1,X+X1+X2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X4+5,Y+5,"%s",Student[i].MingZi.c_str());

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X4,Y,X+X1+X2+X3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X4+1,Y+1,X+X1+X2+X3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X4+5,Y+5,"%lld",Student[i].ShengWu);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3+X4,Y,X+X1+X2+X3*2+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3+X4+1,Y+1,X+X1+X2+X3*2+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3+X4+5,Y+5,"%lld",Student[i].ShengWu_1);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*2+X4,Y,X+X1+X2+X3*3+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*2+X4+1,Y+1,X+X1+X2+X3*3+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*2+X4+5,Y+5,"%lld",Student[i].ShengWu_2);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*3+X4,Y,X+X1+X2+X3*4+X4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*3+X4+1,Y+1,X+X1+X2+X3*4+X4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*3+X4+5,Y+5,"%lld",Student[i].ShengWu_3);

            Y+=Y_Jia;
        }

        setfillcolor(LIGHTGRAY);
        bar(width-20,360,width,height);
        setfillcolor(WHITE);
        bar(width-18,362,width-2,height-1);
        setfillcolor(LIGHTGRAY);
        bar(width-18,362+(ShengWuChengJiDan_YeMa-1)*((height-360)/50),width-2,362+(ShengWuChengJiDan_YeMa+1)*((height-360)/50));

        setcolor(LIGHTBLUE);
        setbkmode(TRANSPARENT);
        setfont(80,80,"斜体");
        xyprintf(170,260,"生物_");
    }

//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    void QuanKeChengJiBiao(long long BanJi){
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(130,250,width,360);
        setfillcolor(LIGHTGRAY);
        bar(130,360,width,390);
        setfillcolor(DARKGRAY);
        bar(1022,360,1028,height);
        bar(135,255,165,285);
        setfillcolor(EGERGB(250,85,40));
        bar(137,257,163,283);
        setcolor(EGERGB(0xFF,0xFF,0xFF));
        setbkmode(TRANSPARENT);
        setfont(18,18,"黑体");
        xyprintf(141,261,"%c",'<');

        long long X=130,Y=360,Y_Jia=30;
        long long X1=22,X2=100,X3=77;

        setcolor(BLACK);

        for(int i=1;i<=2;i++){
            setfillcolor(DARKGRAY);
            bar(X,Y,X+X1,Y+Y_Jia);
            setfillcolor(LIGHTGRAY);
            bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
            setfont(10,0,"楷体");
            xyprintf(X+5,Y+5,"学");
            xyprintf(X+5,Y+15,"号");
            setfont(20,0,"楷体 ");

            setfillcolor(DARKGRAY);
            bar(X+X1,Y,X+X1+X2,Y+Y_Jia);
            setfillcolor(LIGHTGRAY);
            bar(X+X1+1,Y+1,X+X1+X2-1,Y+Y_Jia-1);
            xyprintf(X+X1+8,Y+5,"  姓名  ");

            setfillcolor(DARKGRAY);
            bar(X+X1+X2,Y,X+X1+X2+X3,Y+Y_Jia);
            setfillcolor(LIGHTGRAY);
            bar(X+X1+X2+1,Y+1,X+X1+X2+X3-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+7,Y+5," 总分 ");

            setfillcolor(DARKGRAY);
            bar(X+X1+X2+X3,Y,X+X1+X2+X3*2,Y+Y_Jia);
            setfillcolor(LIGHTGRAY);
            bar(X+X1+X2+X3+1,Y+1,X+X1+X2+X3*2-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3+5,Y+5," 语文 ");

            setfillcolor(DARKGRAY);
            bar(X+X1+X2+X3*2,Y,X+X1+X2+X3*3,Y+Y_Jia);
            setfillcolor(LIGHTGRAY);
            bar(X+X1+X2+X3*2+1,Y+1,X+X1+X2+X3*3-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*2+5,Y+5," 数学 ");

            setfillcolor(DARKGRAY);
            bar(X+X1+X2+X3*3,Y,X+X1+X2+X3*4,Y+Y_Jia);
            setfillcolor(LIGHTGRAY);
            bar(X+X1+X2+X3*3+1,Y+1,X+X1+X2+X3*4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*3+5,Y+5," 英语 ");

            setfillcolor(DARKGRAY);
            bar(X+X1+X2+X3*4,Y,X+X1+X2+X3*5,Y+Y_Jia);
            setfillcolor(LIGHTGRAY);
            bar(X+X1+X2+X3*4+1,Y+1,X+X1+X2+X3*5-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*4+5,Y+5," 政治 ");

            setfillcolor(DARKGRAY);
            bar(X+X1+X2+X3*5,Y,X+X1+X2+X3*6,Y+Y_Jia);
            setfillcolor(LIGHTGRAY);
            bar(X+X1+X2+X3*5+1,Y+1,X+X1+X2+X3*6-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*5+5,Y+5," 地理 ");

            setfillcolor(DARKGRAY);
            bar(X+X1+X2+X3*6,Y,X+X1+X2+X3*7,Y+Y_Jia);
            setfillcolor(LIGHTGRAY);
            bar(X+X1+X2+X3*6+1,Y+1,X+X1+X2+X3*7-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*6+5,Y+5," 历史 ");

            setfillcolor(DARKGRAY);
            bar(X+X1+X2+X3*7,Y,X+X1+X2+X3*8,Y+Y_Jia);
            setfillcolor(LIGHTGRAY);
            bar(X+X1+X2+X3*7+1,Y+1,X+X1+X2+X3*8-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*7+5,Y+5," 生物 ");

            setfillcolor(DARKGRAY);
            bar(X+X1+X2+X3*8,Y,X+X1+X2+X3*9,Y+Y_Jia);
            setfillcolor(LIGHTGRAY);
            bar(X+X1+X2+X3*8+1,Y+1,X+X1+X2+X3*9-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*8+5,Y+5," 物理 ");

            setfillcolor(DARKGRAY);
            bar(X+X1+X2+X3*9,Y,X+X1+X2+X3*10,Y+Y_Jia);
            setfillcolor(LIGHTGRAY);
            bar(X+X1+X2+X3*9+1,Y+1,X+X1+X2+X3*10-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*9+5,Y+5," 化学 ");

            if(i==1){
                X=1028;
            }
        }
        X=130,Y=390,Y_Jia=23,X1=22,X2=100,X3=77;
        for(int i=(BanJi-1)*60;i<(BanJi-1)*60+60;i++){
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X,Y,X+X1,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+1,Y+1,X+X1-1,Y+Y_Jia-1);
            setfont(15,0,"楷体 ");
            xyprintf(X+3,Y+4,"%lld",Student[i].XueHao);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1,Y,X+X1+X2,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+1,Y+1,X+X1+X2-1,Y+Y_Jia-1);
            xyprintf(X+X1+5,Y+5,"%s",Student[i].MingZi.c_str());
            setfont(20,0,"楷体 ");

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2,Y,X+X1+X2+X3,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+1,Y+1,X+X1+X2+X3-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+5,Y+5,"%lld",Student[i].ZongFen);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3,Y,X+X1+X2+X3*2,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3+1,Y+1,X+X1+X2+X3*2-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3+5,Y+5,"%lld",Student[i].YuWen);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*2,Y,X+X1+X2+X3*3,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*2+1,Y+1,X+X1+X2+X3*3-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*2+5,Y+5,"%lld",Student[i].ShuXue);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*3,Y,X+X1+X2+X3*4,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*3+1,Y+1,X+X1+X2+X3*4-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*3+5,Y+5,"%lld",Student[i].YingYu);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*4,Y,X+X1+X2+X3*5,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*4+1,Y+1,X+X1+X2+X3*5-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*4+5,Y+5,"%lld",Student[i].ZhengZhi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*5,Y,X+X1+X2+X3*6,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*5+1,Y+1,X+X1+X2+X3*6-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*5+5,Y+5,"%lld",Student[i].LiShi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*6,Y,X+X1+X2+X3*7,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*6+1,Y+1,X+X1+X2+X3*7-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*6+5,Y+5,"%lld",Student[i].DiLi);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*7,Y,X+X1+X2+X3*8,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*7+1,Y+1,X+X1+X2+X3*8-1,Y+Y_Jia-1);
            xyprintf(X+X1+X2+X3*7+5,Y+5,"%lld",Student[i].ShengWu);

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*8,Y,X+X1+X2+X3*9,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*8+1,Y+1,X+X1+X2+X3*9-1,Y+Y_Jia-1);
            if(NianJi==7){
                xyprintf(X+X1+X2+X3*8+5,Y+5,"   /   ");
            }
            else{
                xyprintf(X+X1+X2+X3*8+5,Y+5,"%lld",Student[i].WuLi);
            }

            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(X+X1+X2+X3*9,Y,X+X1+X2+X3*10,Y+Y_Jia);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(X+X1+X2+X3*9+1,Y+1,X+X1+X2+X3*10-1,Y+Y_Jia-1);
            if(NianJi==7 || NianJi==8){
                xyprintf(X+X1+X2+X3*9+5,Y+5,"   /   ");
            }
            else{
                xyprintf(X+X1+X2+X3*9+5,Y+5,"%lld",Student[i].HuaXui);
            }

            Y+=Y_Jia;

            if(i==(BanJi-1)*60+29){
                X=1028;
                Y=390;
            }
        }

        setcolor(LIGHTBLUE);
        setbkmode(TRANSPARENT);
        setfont(80,80,"斜体");
        if(NianJi==7){
            if(BanJi<10){
                xyprintf(width-255,265,"70%lld",BanJi);
            }
            else{
                xyprintf(width-255,265,"7%lld",BanJi);
            }
        }
        else if(NianJi==8){
            if(BanJi<10){
                xyprintf(width-255,265,"80%lld",BanJi);
            }
            else{
                xyprintf(width-255,265,"8%lld",BanJi);
            }
        }
        else if(NianJi==9){
            if(BanJi<10){
                xyprintf(width-255,265,"90%lld",BanJi);
            }
            else{
                xyprintf(width-255,265,"9%lld",BanJi);
            }
        }
        setfillcolor(EGERGB(0x00,0xFF,0x00));
        bar(width-320,260,width-270,310);
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(width-315,265,width-275,305);

        setfillcolor(EGERGB(0x00,0xFF,0x00));
        bar(width-320,305,width-270,350);
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(width-315,310,width-275,345);
        setcolor(BLACK);
        setbkmode(TRANSPARENT);
        setfont(30,30,"粗体");
        xyprintf(width-310,270,"%c",'+');
        xyprintf(width-310,310,"%c",'-');
    }
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

    void XingKongBeiJing(){
        srand(time(NULL));
        setcolor(WHITE);
        setfont(1,1,"黑体"); 
        long long X1_1=130,X1_2=230,Y1_1=390,Y1_2=height,Zhongshu1=60;
        long long X2_1=width-120,X2_2=width-20,Y2_1=390,Y2_2=height,Zhongshu2=60;
        for(int i=1;i<=Zhongshu1;i++){
            long long XX=X1_1+rand()%(X1_2-X1_1);
            long long YY=Y1_1+rand()%(Y1_2-Y1_1);
            xyprintf(XX,YY,"●");
        }
        for(int i=1;i<=Zhongshu2;i++){
            long long XX=X2_1+rand()%(X2_2-X2_1);
            long long YY=Y2_1+rand()%(Y2_2-Y2_1);
            xyprintf(XX,YY,"●");
        }
    }

    void RenWuLanChuShiHua(){
        setfillcolor(EGERGB(0xFF,0xFF,0x00));
        bar(0,250,130,height+1);

        setfillcolor(EGERGB(0x00,0xFF,0x00));
        bar(25,265,95,365);
        bar(25,395,95,495);
        bar(25,525,95,625);
        bar(25,655,95,755);
        bar(25,785,95,885);
        bar(25,915,95,1015);
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(30,270,90,360);
        bar(30,400,90,490);
        bar(30,530,90,620);
        bar(30,660,90,750);
        bar(30,790,90,880);
        bar(30,920,90,1010);
    }

    void DangQianMuLu(long long New){
        if(New==1){
            setfillcolor(EGERGB(0x00,0xFF,0xFF));
            bar(0,250,130,380);
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(25,265,95,365);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(30,270,90,360);
        }
        else if(New==2){
            setfillcolor(EGERGB(0x00,0xFF,0xFF));
            bar(0,380,130,410);
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(25,395,95,495);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(30,400,90,490);
        }
        else if(New==3){
            setfillcolor(EGERGB(0x00,0xFF,0xFF));
            bar(0,410,130,540);
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(25,525,95,625);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(30,530,90,620);

        }
        else if(New==4){
            setfillcolor(EGERGB(0x00,0xFF,0xFF));
            bar(0,540,130,670);
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(25,655,95,755);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(30,660,90,750);

        }
        else if(New==5){
            setfillcolor(EGERGB(0x00,0xFF,0xFF));
            bar(0,670,130,900);
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(25,785,95,885);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(30,790,90,880);

        }
        else if(New==6){
            setfillcolor(EGERGB(0x00,0xFF,0xFF));
            bar(0,900,130,1300);
            setfillcolor(EGERGB(0x00,0xFF,0x00));
            bar(25,915,95,1015);
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            bar(30,920,90,1010);

        }
    }

    void Work_Mu(long long MU){
        setfillcolor(DARKGRAY);
        bar(5,5,35,35);
        setfillcolor(EGERGB(250,85,40));
        bar(7,7,33,33);
        setcolor(EGERGB(0xFF,0xFF,0xFF));
        setbkmode(TRANSPARENT);
        setfont(18,18,"黑体");
        xyprintf(11,11,"%c",'X');

        setfillcolor(EGERGB(0x00,0xFF,0x00));
        bar(155,min(height,max(JiZhun,275-MU*50)),645,min(height,max(JiZhun,525-MU*50)));
        bar(155,min(height,max(JiZhun,550-MU*50)),465,min(height,max(JiZhun,680-MU*50)));
        bar(485,min(height,max(JiZhun,550-MU*50)),645,min(height,max(JiZhun,680-MU*50)));
        bar(155,min(height,max(JiZhun,700-MU*50)),315,min(height,max(JiZhun,830-MU*50)));
        bar(335,min(height,max(JiZhun,700-MU*50)),645,min(height,max(JiZhun,830-MU*50)));
        bar(155,min(height,max(JiZhun,850-MU*50)),315,min(height,max(JiZhun,980-MU*50)));
        bar(335,min(height,max(JiZhun,850-MU*50)),645,min(height,max(JiZhun,980-MU*50)));
        bar(155,min(height,max(JiZhun,1000-MU*50)),315,min(height,max(JiZhun,1130-MU*50)));
        bar(335,min(height,max(JiZhun,1000-MU*50)),645,min(height,max(JiZhun,1130-MU*50)));
        bar(155,min(height,max(JiZhun,1150-MU*50)),315,min(height,max(JiZhun,1280-MU*50)));
        bar(335,min(height,max(JiZhun,1150-MU*50)),645,min(height,max(JiZhun,1280-MU*50)));
        bar(155,min(height,max(JiZhun,1300-MU*50)),315,min(height,max(JiZhun,1430-MU*50)));
        bar(335,min(height,max(JiZhun,1300-MU*50)),645,min(height,max(JiZhun,1430-MU*50)));
        bar(155,min(height,max(JiZhun,1450-MU*50)),315,min(height,max(JiZhun,1580-MU*50)));
        bar(335,min(height,max(JiZhun,1450-MU*50)),645,min(height,max(JiZhun,1580-MU*50)));
        bar(155,min(height,max(JiZhun,1600-MU*50)),315,min(height,max(JiZhun,1730-MU*50)));
        bar(335,min(height,max(JiZhun,1600-MU*50)),645,min(height,max(JiZhun,1730-MU*50)));
        bar(660,min(height,max(JiZhun,275-MU*50)),750,min(height,max(JiZhun,315-MU*50)));
        bar(735,min(height,max(JiZhun,275-MU*50)),750,min(height,max(JiZhun,315-MU*50)));
        bar(735,min(height,max(JiZhun,295-MU*50)),750,min(height,max(JiZhun,315-MU*50)));
        bar(width-75,min(height,max(JiZhun,270-MU*50)),width-15,min(height,max(JiZhun,335-MU*50)));
        bar(705,min(height,max(JiZhun,350-MU*50)),1005,min(height,max(JiZhun,650-MU*50)));
        bar(1045,min(height,max(JiZhun,350-MU*50)),1345,min(height,max(JiZhun,650-MU*50)));
        bar(1385,min(height,max(JiZhun,350-MU*50)),1685,min(height,max(JiZhun,650-MU*50)));
        bar(705,min(height,max(JiZhun,690-MU*50)),1005,min(height,max(JiZhun,990-MU*50)));
        bar(1045,min(height,max(JiZhun,690-MU*50)),1345,min(height,max(JiZhun,990-MU*50)));
        bar(1385,min(height,max(JiZhun,690-MU*50)),1685,min(height,max(JiZhun,990-MU*50)));
        bar(705,min(height,max(JiZhun,1030-MU*50)),1005,min(height,max(JiZhun,1330-MU*50)));
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(160,min(height,max(JiZhun,280-MU*50)),640,min(height,max(JiZhun,520-MU*50)));
        bar(160,min(height,max(JiZhun,555-MU*50)),460,min(height,max(JiZhun,675-MU*50)));
        bar(490,min(height,max(JiZhun,555-MU*50)),640,min(height,max(JiZhun,675-MU*50)));
        bar(160,min(height,max(JiZhun,705-MU*50)),310,min(height,max(JiZhun,825-MU*50)));
        bar(340,min(height,max(JiZhun,705-MU*50)),640,min(height,max(JiZhun,825-MU*50)));
        bar(160,min(height,max(JiZhun,855-MU*50)),310,min(height,max(JiZhun,975-MU*50)));
        bar(340,min(height,max(JiZhun,855-MU*50)),640,min(height,max(JiZhun,975-MU*50)));
        bar(160,min(height,max(JiZhun,1005-MU*50)),310,min(height,max(JiZhun,1125-MU*50)));
        bar(340,min(height,max(JiZhun,1005-MU*50)),640,min(height,max(JiZhun,1125-MU*50)));
        bar(160,min(height,max(JiZhun,1155-MU*50)),310,min(height,max(JiZhun,1275-MU*50)));
        bar(340,min(height,max(JiZhun,1155-MU*50)),640,min(height,max(JiZhun,1275-MU*50)));
        bar(160,min(height,max(JiZhun,1305-MU*50)),310,min(height,max(JiZhun,1425-MU*50)));
        bar(340,min(height,max(JiZhun,1305-MU*50)),640,min(height,max(JiZhun,1425-MU*50)));
        bar(160,min(height,max(JiZhun,1455-MU*50)),310,min(height,max(JiZhun,1575-MU*50)));
        bar(340,min(height,max(JiZhun,1455-MU*50)),640,min(height,max(JiZhun,1575-MU*50)));
        bar(160,min(height,max(JiZhun,1605-MU*50)),310,min(height,max(JiZhun,1725-MU*50)));
        bar(340,min(height,max(JiZhun,1605-MU*50)),640,min(height,max(JiZhun,1725-MU*50)));
        bar(662,min(height,max(JiZhun,277-MU*50)),748,min(height,max(JiZhun,313-MU*50)));
        bar(737,min(height,max(JiZhun,277-MU*50)),748,min(height,max(JiZhun,313-MU*50)));
        bar(737,min(height,max(JiZhun,297-MU*50)),748,min(height,max(JiZhun,313-MU*50)));
        bar(width-73,min(height,max(JiZhun,272-MU*50)),width-17,min(height,max(JiZhun,333-MU*50)));
        bar(710,min(height,max(JiZhun,355-MU*50)),1000,min(height,max(JiZhun,645-MU*50)));
        bar(1050,min(height,max(JiZhun,355-MU*50)),1340,min(height,max(JiZhun,645-MU*50)));
        bar(1390,min(height,max(JiZhun,355-MU*50)),1680,min(height,max(JiZhun,645-MU*50)));
        bar(710,min(height,max(JiZhun,695-MU*50)),1000,min(height,max(JiZhun,985-MU*50)));
        bar(1050,min(height,max(JiZhun,695-MU*50)),1340,min(height,max(JiZhun,985-MU*50)));
        bar(1390,min(height,max(JiZhun,695-MU*50)),1680,min(height,max(JiZhun,985-MU*50)));
        bar(710,min(height,max(JiZhun,1035-MU*50)),1000,min(height,max(JiZhun,1325-MU*50)));
        if(MU==0){
            setcolor(EGERGB(0x00,0xFF,0x00));
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            fillellipse(width-57,289,15,15);
            setcolor(EGERGB(0x00,0xFF,0x00));
            setfillcolor(EGERGB(0xFF,0xFF,0xFF));
            fillellipse(width-57,289,14,14);
        }
        if(MU==14){
            setfillcolor(DARKGRAY);
            bar(130,height-40,width,height);
        }
    }

    void ShouYie(long long NJ){
        long long MU=0,Mu1;
        if(NJ==7){
            while(1){
                setfillcolor(LIGHTGRAY);
                bar(130,250,width,height);
                Work_Mu(MU);
                if(MU>=16 && MU<=23){
                    ChuShiHua();
                    if(MU==16){
                        QuanKeChengJiBiao(BanJi);
                    }
                    else{
                        if(MU==17){
                            YuWenChengJiDan(YuWenChengJiDan_YeMa);
                        }
                        else if(MU==18){
                            ShuXueChengJiDan(ShuXueChengJiDan_YeMa);
                        }
                        else if(MU==19){
                            YingYuChengJiDan(YingYuChengJiDan_YeMa);
                        }
                        else if(MU==20){
                            ZhengZhiChengJiDan(ZhengZhiChengJiDan_YeMa);
                        }
                        else if(MU==21){
                            LiShiChengJiDan(LiShiChengJiDan_YeMa);
                        }
                        else if(MU==22){
                            DiLiChengJiDan(DiLiChengJiDan_YeMa);
                        }
                        else{
                            ShengWuChengJiDan(ShengWuChengJiDan_YeMa);
                        }
                        XingKongBeiJing();
                    }
                    while(mousemsg()) {
                        mouse_msg msg={0};
                        msg=getmouse();
                        if(msg.is_wheel()){
                            if(MU==17){
                                YuWenChengJiDan_YeMa+=(msg.wheel>0)?-1:1;
                                YuWenChengJiDan_YeMa=max(YI,min(YuWenChengJiDan_YeMa,WUSHI));
                            }
                            else if(MU==18){
                                ShuXueChengJiDan_YeMa+=(msg.wheel>0)?-1:1;
                                ShuXueChengJiDan_YeMa=max(YI,min(ShuXueChengJiDan_YeMa,WUSHI));
                            }
                            else if(MU==19){
                                YingYuChengJiDan_YeMa+=(msg.wheel>0)?-1:1;
                                YingYuChengJiDan_YeMa=max(YI,min(YingYuChengJiDan_YeMa,WUSHI));
                            }
                            else if(MU==20){
                                ZhengZhiChengJiDan_YeMa+=(msg.wheel>0)?-1:1;
                                ZhengZhiChengJiDan_YeMa=max(YI,min(ZhengZhiChengJiDan_YeMa,WUSHI));
                            }
                            else if(MU==21){
                                LiShiChengJiDan_YeMa+=(msg.wheel>0)?-1:1;
                                LiShiChengJiDan_YeMa=max(YI,min(LiShiChengJiDan_YeMa,WUSHI));
                            }
                            else if(MU==22){
                                DiLiChengJiDan_YeMa+=(msg.wheel>0)?-1:1;
                                DiLiChengJiDan_YeMa=max(YI,min(DiLiChengJiDan_YeMa,WUSHI));
                            }
                            else{
                                ShengWuChengJiDan_YeMa+=(msg.wheel>0)?-1:1;
                                ShengWuChengJiDan_YeMa=max(YI,min(ShengWuChengJiDan_YeMa,WUSHI));
                            }
                            continue;
                        }
                        if(msg.is_down()){
                            if(msg.is_left()){
                                if(msg.x>=5&msg.x<=35&msg.y>=5&msg.y<=35){
                                    f=0;
                                    return ;
                                }
                                else if(msg.x>=135&msg.x<=165&msg.y>=255&msg.y<=285){
                                    MU=Mu1;
                                }
                                if(MU==16){
                                    if(msg.x>=width-315&msg.x<=width-275&msg.y>=265&msg.y<=305){
                                        BanJi++;
                                        if(BanJi>25){
                                            BanJi=25;
                                        }
                                    }
                                    else if(msg.x>=width-315&msg.x<=width-275&msg.y>=310&msg.y<=345){
                                        BanJi--;
                                        if(BanJi<1){
                                            BanJi=1;
                                        }
                                    }
                                }

                            }
                        }
                    }
                }
                else{
                    while(mousemsg()){
                        mouse_msg msg={0};
                        msg=getmouse();
                        if(msg.is_wheel()){
                            MU+=(msg.wheel>0)?-1:1;
                            MU=max(LING,min(MU,SHISI));
                            continue;
                        }
                        else if(msg.is_left()){
                            if(msg.x>=5&msg.x<=35&msg.y>=5&msg.y<=35){
                                f=0;
                                return ;
                            }
                            else if(msg.x>=155&msg.x<=645&msg.y>=min(height,max(JiZhun,275-MU*50))&msg.y<=min(height,max(JiZhun,525-MU*50))){
                                BanJi=1;
                                QuanKeChengJiBiao(BanJi);
                                Mu1=MU;
                                MU=16;
                            }
                            else if(msg.x>=155&msg.x<=465&msg.y>=min(height,max(JiZhun,550-MU*50))&msg.y<=min(height,max(JiZhun,680-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Quan Ke Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=485&msg.x<=645&msg.y>=min(height,max(JiZhun,550-MU*50))&msg.y<=min(height,max(JiZhun,680-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Quan Ke Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=155&msg.x<=315&msg.y>=min(height,max(JiZhun,700-MU*50))&msg.y<=min(height,max(JiZhun,830-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Yu Wen Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=335&msg.x<=645&msg.y>=min(height,max(JiZhun,700-MU*50))&msg.y<=min(height,max(JiZhun,830-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Yu Wen Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=155&msg.x<=315&msg.y>=min(height,max(JiZhun,850-MU*50))&msg.y<=min(height,max(JiZhun,980-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Shu Xue Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=335&msg.x<=645&msg.y>=min(height,max(JiZhun,850-MU*50))&msg.y<=min(height,max(JiZhun,980-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Shu Xue Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=155&msg.x<=315&msg.y>=min(height,max(JiZhun,1000-MU*50))&msg.y<=min(height,max(JiZhun,1130-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Ying Yu Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=335&msg.x<=645&msg.y>=min(height,max(JiZhun,1000-MU*50))&msg.y<=min(height,max(JiZhun,1130-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Ying Yu Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=155&msg.x<=315&msg.y>=min(height,max(JiZhun,1150-MU*50))&msg.y<=min(height,max(JiZhun,1280-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Zheng Zhi Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=335&msg.x<=645&msg.y>=min(height,max(JiZhun,1150-MU*50))&msg.y<=min(height,max(JiZhun,1280-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Zheng Zhi Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=155&msg.x<=315&msg.y>=min(height,max(JiZhun,1300-MU*50))&msg.y<=min(height,max(JiZhun,1430-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Li Shi Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=335&msg.x<=645&msg.y>=min(height,max(JiZhun,1300-MU*50))&msg.y<=min(height,max(JiZhun,1430-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Li Shi Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=115&msg.x<=315&msg.y>=min(height,max(JiZhun,1450-MU*50))&msg.y<=min(height,max(JiZhun,1580-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Di Li Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=335&msg.x<=645&msg.y>=min(height,max(JiZhun,1450-MU*50))&msg.y<=min(height,max(JiZhun,1580-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Di Li Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=115&msg.x<=315&msg.y>=min(height,max(JiZhun,1600-MU*50))&msg.y<=min(height,max(JiZhun,1730-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Sheng Wu Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=335&msg.x<=645&msg.y>=min(height,max(JiZhun,1600-MU*50))&msg.y<=min(height,max(JiZhun,1730-MU*50))){
                                //  Hua Yi Ge Tu ~~~ 
//                          xyprintf(0,0,"Sheng Wu Di Yi Ming Cheng Ji Biao");
                            }
                            else if(msg.x>=705&msg.x<=1005&msg.y>=min(height,max(JiZhun,350-MU*50))&msg.y<=min(height,max(JiZhun,650-MU*50))){
                                YuWenChengJiDan_YeMa=1;
                                YuWenChengJiDan(YuWenChengJiDan_YeMa);
                                XingKongBeiJing();
                                Mu1=MU;
                                MU=17;
                            }   
                            else if(msg.x>=1045&msg.x<=1345&msg.y>=min(height,max(JiZhun,350-MU*50))&msg.y<=min(height,max(JiZhun,650-MU*50))){
                                ShuXueChengJiDan_YeMa=1;
                                ShuXueChengJiDan(YuWenChengJiDan_YeMa);
                                XingKongBeiJing();
                                Mu1=MU;
                                MU=18;
                            }
                            else if(msg.x>=1385&msg.x<=1685&msg.y>=min(height,max(JiZhun,350-MU*50))&msg.y<=min(height,max(JiZhun,650-MU*50))){
                                YingYuChengJiDan_YeMa=1;
                                YingYuChengJiDan(YingYuChengJiDan_YeMa);
                                XingKongBeiJing();
                                Mu1=MU;
                                MU=19;
                            }
                            else if(msg.x>=705&msg.x<=1005&msg.y>=min(height,max(JiZhun,690-MU*50))&msg.y<=min(height,max(JiZhun,990-MU*50))){
                                ZhengZhiChengJiDan_YeMa=1;
                                ZhengZhiChengJiDan(ZhengZhiChengJiDan_YeMa);
                                XingKongBeiJing();
                                Mu1=MU;
                                MU=20;
                            }
                            else if(msg.x>=1045&msg.x<=1345&msg.y>=min(height,max(JiZhun,690-MU*50))&msg.y<=min(height,max(JiZhun,990-MU*50))){
                                LiShiChengJiDan_YeMa=1;
                                LiShiChengJiDan(LiShiChengJiDan_YeMa);
                                XingKongBeiJing();
                                Mu1=MU;
                                MU=21;
                            }
                            else if(msg.x>=1385&msg.x<=1685&msg.y>=min(height,max(JiZhun,690-MU*50))&msg.y<=min(height,max(JiZhun,990-MU*50))){
                                DiLiChengJiDan_YeMa=1;
                                DiLiChengJiDan(DiLiChengJiDan_YeMa);
                                XingKongBeiJing();
                                Mu1=MU;
                                MU=22;
                            }
                            else if(msg.x>=705&msg.x<=1005&msg.y>=min(height,max(JiZhun,1030-MU*50))&msg.y<=min(height,max(JiZhun,1330-MU*50))){
                                ShengWuChengJiDan_YeMa=1;
                                ShengWuChengJiDan(ShengWuChengJiDan_YeMa);
                                XingKongBeiJing();
                                Mu1=MU;
                                MU=23;
                            }
                        }
                        else if(msg.is_right()){
                            if(msg.x>=735&msg.x<=750&msg.y>=min(height,max(JiZhun,275-MU*50))&msg.y<=min(height,max(JiZhun,294-MU*50))){
                                NianJi++;
                                if(NianJi>9){
                                    NianJi=9;
                                }
                                //          Hua Yi Ge Tu ~~~ 
                                return ;
                            }
                            else if(msg.x>=735&msg.x<=750&msg.y>=min(height,max(JiZhun,295-MU*50))&msg.y<=min(height,max(JiZhun,315-MU*50))){
                                NianJi--;
                                if(NianJi<7){
                                    NianJi=7;
                                }
                                //          Hua Yi Ge Tu ~~~ 
                                return ;
                            }
                        }
                    }
                }
            }
        }
    }

    void Work(){
        while(f==1){
            DangQianMuLu(New);
            if(New==1){
                ShouYie(NianJi);
            }
            else if(New==2){
                ShouYie(NianJi);
            }
            else if(New==3){
                ShouYie(NianJi);
            }
            else if(New==4){
                ShouYie(NianJi);
            }
            else if(New==5){
                ShouYie(NianJi);
            }
            else if(New==6){
                ShouYie(NianJi);
            }
            if(f==0){
                return ;
            }
        }
    }

    int main() {
        setinitmode(1,0,0);
        initgraph(-1,-1);
        setrendermode(RENDER_MANUAL);
        width=getmaxx();
        height=getmaxy();
//  1920 1080
//  1790 830
        setfillcolor(EGERGB(0xFF,0x00,0x00));
        bar(0,0,width,240);
        setfillcolor(EGERGB(0xFF,0x00,0xFF));
        bar(0,240,width,250);
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(width/2-650,50,width/2+200,190);

        setfillcolor(EGERGB(0x00,0xFF,0x00));
        bar(width-150,90,width-50,190);
        bar(width-240,140,width-160,190);
        bar(width-330,140,width-250,190);
        setfillcolor(EGERGB(0xFF,0xFF,0xFF));
        bar(width-145,95,width-55,185);
        bar(width-235,145,width-165,185);
        bar(width-325,145,width-255,185);

        RenWuLanChuShiHua();

        DangQianMuLu(New);

        Work();
        return 0;
    }

//CNAI-SIMS
//邮箱:[email protected]

by zsh_haha @ 2024-11-02 00:05:29

对了,今年合作开发软件吗

@cn_haha


by zsh_haha @ 2024-11-02 00:06:31

@1034211

下次把代码放在剪贴板里哦,不然帖子太长


by zsh_haha @ 2024-11-02 00:07:22

@TIS_Minecraft_CNAI


by TIS_Minecraft_CNAI @ 2024-11-02 08:45:20

@zsh_haha 好的(今年也合作开发,就写这个吧)


|