公民在这可以发表自己的讨论但是要文明

  1. 请勿刷屏[包括代码、文字行数过高、超长图片] (如有需求请适量),如有人反馈他人讨论有违规现象,我们会给予提醒,请及时修改。

  2. (如超1010行)使用以下格式刷屏,防止文字过多影响让人阅读

    <details>
      
    <summary > <strong>点击关闭/展开</strong></summary>
    
    文字
    
    </details>
    
  3. 不要大量使用加粗、标题大量加粗或放大文字。这样做不仅不能起到警示作用,还会很占位置、很费眼睛。

32 条评论

  • @ 2026-8-1 15:05:42

    本世纪最大难题解决!FISH7. 算 24 点 使用 SPJ 测评解决数据问题,已经可以正常通过✅。

    👍 1
  • @ 2026-7-30 15:57:25

    广告

    @所有人 如想将自己的题目进行推广的,可以将其加入DSES原创题中的优题推广中。联系方式:在gf24讨论区@ 或者加本人微信。微信号:18588994321

    免费推广,合作共赢!

    • @ 2026-7-31 16:46:54

      嗯嗯

    • @ 2026-7-31 16:47:22

      不要使用加粗、标题来大量加粗或放大文字

  • @ 2026-7-28 16:04:05

    @ #js25125P3. DSES想当管理员我AC了,用了2个特判过的

    👍 1
    ❤️ 1
    • @ 2026-7-28 18:11:38

      你代码有问题。AI 是不会有问题的

    • @ 2026-7-28 18:13:37

      我用你原来的代码做生成的数据

    • @ 2026-7-29 15:27:57

      OK

    • @ 2026-7-29 20:09:27

      把两个特判样例删了就行了

  • @ 2026-7-27 21:37:32

    不不不没过

    • @ 2026-7-28 18:12:07

      @ 不要使用加粗、标题来大量加粗或放大文字

    • @ 2026-7-29 20:08:11

      @ 收到

  • @ 2026-7-27 15:05:40
    • @ 2026-7-27 14:58:05

      @

      陈子号能不能把橙子缩小一下。

      🤣 2
      • @ 2026-7-27 15:02:30

        方法:

        <img src="https:// .png" width=大小 px></img>
        
        
      • @ 2026-7-27 15:16:47

        @ 不能放超长图片。

      • @ 2026-7-28 16:11:33

        @ 感谢提醒,已缩小

    • @ 2026-7-27 14:55:03

      • @ 2026-7-27 11:51:14

        打个广子

        https://www.bcoi.cn/d/gf24/training/6a6584c8b6aa9cba6d19486b 是DSES的训练,可以将自己的题加入进行推广,若要推广,请将PART TWO的2道题做成CE,方便查看,尤其是

        @

        @

        这俩。

        • @ 2026-7-27 14:20:22

          CE是什么

        • @ 2026-7-27 14:20:36

          @

        • @ 2026-7-27 14:26:39

          @

          就是编译错误

        • @ 2026-7-27 14:28:58

          @

          AC不行吗

        • @ 2026-7-27 14:30:04

          @

          每个人都是AC,我怎么知道哪个是要推广的

        • @ 2026-7-27 14:32:58

          @

          ? 我@你不行吗

        • @ 2026-7-27 14:34:16

          @ 其实个人创建训练是不允许的(人太多了不好管),但是由于之前没发现而且你创建了让我们发现了这个疏忽,于是就没删这个训练(awa)不过后面不能建了

        • @ 2026-7-28 18:32:06

          @ 可以改成你们所有人的自创题目,不要只叫 “DSES(js25125)自创题”

      • @ 2026-7-26 21:22:13
        • @ 2026-7-26 20:51:00

          快来做做我的题

          旅行者的原石

        • @ 2026-7-26 20:38:19

          快来看看js25128发的

          地址

          👍 2
          🤡 1
          👎 1
          😕 1
          • @ 2026-7-26 14:32:45

            HELLO

            👍 2
            ❤️ 1
            👎 1
            🤣 1
            • @ 2026-7-25 20:30:38

              details>

              点击关闭/展开

              文字

              </details>
              • @ 2026-7-25 20:32:57

                details>details>少打了<<

              • @ 2026-7-25 20:39:55

                加粗,可加可不加

                <strong> 123</strong>
                
            • @ 2026-7-25 20:19:16

              快看看我的主页:

              js25111 de 主页

              👍 1
              🤡 1
              👎 1
              • @ 2026-7-25 20:22:00

                js25111 LV 6 @ 4 分钟前 @ Do something Earth-shaking! (js25125) 有没有人管管

              • @ 2026-7-25 20:22:20

                js25128 LV 6 @ 1 小时前 烦不烦啊,不要一直刷屏

              • @ 2026-7-25 20:22:36

                彩蛋:找到两个“不要点开”并点击

              • @ 2026-7-25 20:23:08

                @ 我只发了一遍

              • @ 2026-7-25 20:27:35

                @ 你这样干啥

            • @ 2026-7-25 16:15:01
            • @ 2026-7-24 15:00:16

              #FISH1. 虾米吃大鱼 不会,有大佬教吗?

              👍 3
              👎 1
              😕 1
              🤔 1
              🤡 1
            • @ 2026-7-24 10:16:48

              Dear @ Hi there!how are you today?I'm so happy to chat with you.Can you tell me what are you doing now and how to solve the questions about "Za ti xuan jiang" in Genisis Online Judge? I'm always for you!Please tell me soon. Yours Do something Earth-shaking

              👎 1
              • @ 2026-7-24 10:06:46

                打个广子

                快去看Do something Earth-shaking的blog

                网址:

                https://www.bcoi.cn/blog/563

                主页

                https://www.bcoi.cn/user/563

                😄 4
                🤣 3
                👍 3
                👀 3
                😕 2
                👎 2
                🤡 2
                • @ 2026-7-24 10:04:01

                  https://www.bcoi.cn/d/gf24/user/566

                  唐鸿展,你在干嘛

                  🤡 1
                  👎 1
                  • @ 2026-7-24 8:31:38

                    申请开放知《植知僵,百战不殆》课程

                    👍 2
                    • @ 2026-7-25 21:17:42

                      @

                  • @ 2026-7-24 8:25:13

                    能问什么(刚进域,什么也不懂)

                    • @ 2026-7-25 21:18:02

                      @ 什么都行

                  • @ 2026-5-7 22:03:53

                    SO?

                    为什么 GF25 都占一半了

                    👍 2
                    😄 2
                  • @ 2026-4-22 17:24:12

                    误闯天家(花广金狮的)

                    不要把我踢出去(球球了!)

                    🤔 2
                    👎 2
                    🤣 2
                    👍 2
                    😄 2
                    • @ 2026-4-24 18:16:48

                      好不容易进来的踢出去干嘛

                  • @ 2026-4-17 19:16:26
                    #include <bits/stdc++.h>
                    using namespace std;
                    const int N=1e3+5,M=1e4+5;
                    struct stu {
                    	int p,u,v,w;
                    } g[M];
                    int n,m,cnt,sum,ans;
                    int fa[N];
                    int find(int x) {
                    	if(x==fa[x])return x;
                    	return fa[x]=find(fa[x]);
                    }
                    bool cmp(stu x,stu y) {
                    	return x.w<y.w;
                    }
                    int main() {
                    	cin>>n>>m;
                    	for(int i=1; i<=n; i++) {
                    		fa[i]=i;
                    	}
                    	for(int i=1; i<=m; i++) {
                    		cin>>g[i].p>>g[i].u>>g[i].v>>g[i].w;
                    	}
                    	for(int i=1;i<=m;i++){
                    		if(g[i].p==1){
                    			int x=find(g[i].u);
                    		    int y=find(g[i].v);
                    		    if(x!=y)fa[x]=y;
                    			sum+=g[i].w;
                    		}
                    		
                    	}
                    	sort(g+1,g+m+1,cmp);
                    	
                    	for(int i=1; i<=m; i++) {
                    		if(cnt==n-1)break;
                    		int x=find(g[i].u);
                    		int y=find(g[i].v);
                    		if(x==y)continue;
                    		else {
                    		    fa[x]=y;
                    		    if(g[i].p==1)continue;
                    			cnt++;
                    			sum+=g[i].w;
                    			
                    		}
                    
                    	}
                    	cout<<sum;
                    	return 0;
                    }
                    
                    • @ 2026-7-25 21:17:18

                      @ 代码过长,建议删除 / 折叠

                  • @ 2026-2-4 16:50:59

                    洛谷测试数据全部 TLE

                    点击关闭/展开
                    div.test-case {
                        background-color: #052242 !important;
                    }
                    
                    div.status {
                        /* 不隐藏整个元素,只隐藏原始内容 */
                        font-size: 0 !important;
                        color: transparent !important;
                        background: none !important;
                        border: none !important;
                        /* 但保持元素可见以便显示伪元素 */
                        width: auto !important;
                        height: auto !important;
                        overflow: visible !important;
                        display: block !important; /* 确保是块级元素 */
                    }
                    div.status::after {
                        content: "TLE" !important;
                        font-size: 20px !important;
                         font-weight: normal !important;
                        color: #fff !important;
                        display: block !important;
                        /* 确保伪元素独立显示 */
                        position: relative !important;
                        z-index: 1000 !important;
                    }
                    
                    div.info {
                        /* 不隐藏整个元素,只隐藏原始内容 */
                        font-size: 0 !important;
                        color: transparent !important;
                        background: none !important;
                        border: none !important;
                        /* 但保持元素可见以便显示伪元素 */
                        width: auto !important;
                        height: auto !important;
                        overflow: visible !important;
                        display: block !important; /* 确保是块级元素 */
                    }
                    div.info::after {
                        content: "1200y/102.00PB" !important;
                        font-size: 10px !important;
                         font-weight: normal !important;
                        color: #fff !important;
                        display: block !important;
                        /* 确保伪元素独立显示 */
                        position: relative !important;
                        z-index: 1000 !important;
                    }
                    
                    div.message {
                        color: transparent !important;
                        width: 100px;
                        height: 15px;
                    }
                    div.message::after {
                        content: "Time Limit Exceeded." !important;
                        font-size: 12px !important;
                        font-weight: normal !important;
                        color: #fff !important;
                        display: block !important;
                        position: absolute !important;
                        top: 50% !important;
                        left: 50% !important;
                        transform: translate(-50%, -50%) !important;
                        z-index: 1000 !important;
                        /* 解决换行问题的解决方案 */
                        white-space: nowrap !important; /* 防止换行 */
                        text-align: center !important; /* 居中对齐 */
                        width: 100% !important; /* 占满容器宽度 */
                    }
                    
                    • @ 2026-2-4 16:58:53

                      全部 AC

                      点击关闭/展开
                      div.test-case {
                          background-color: #52c41a !important;
                      }
                      
                      div.status {
                          /* 不隐藏整个元素,只隐藏原始内容 */
                          font-size: 0 !important;
                          color: transparent !important;
                          background: none !important;
                          border: none !important;
                          /* 但保持元素可见以便显示伪元素 */
                          width: auto !important;
                          height: auto !important;
                          overflow: visible !important;
                          display: block !important; /* 确保是块级元素 */
                      }
                      div.status::after {
                          content: "AC" !important;
                          font-size: 20px !important;
                           font-weight: normal !important;
                          color: #fff !important;
                          display: block !important;
                          /* 确保伪元素独立显示 */
                          position: relative !important;
                          z-index: 1000 !important;
                      }
                      
                      /* 隐藏原始的评测状态内容 */
                      /* 修复"评测状态"数值显示 */
                      div.info-rows > div:nth-child(2) > span:last-child span[style*="color"] {
                          color: transparent !important;
                          font-size: 0 !important;
                          position: relative;
                      }
                      
                      div.info-rows > div:nth-child(2) > span:last-child span[style*="color"]::after {
                          content: "Accepted" !important;
                          color: #52c41a !important;
                          font-size: 16px !important;
                          font-weight: normal !important;
                          display: inline-block !important;
                          position: relative !important;
                          z-index: 1000 !important;
                      }
                      
                      /* 修复"评测分数"数值显示 */
                      div.info-rows > div:nth-child(3) > span:last-child span[style*="font-weight"] {
                          color: transparent !important;
                          font-size: 0 !important;
                          position: relative;
                      }
                      
                      div.info-rows > div:nth-child(3) > span:last-child span[style*="font-weight"]::after {
                          content: "100" !important;
                          color: #52c41a !important;
                          font-size: 16px !important;
                          font-weight: bold !important;
                          display: inline-block !important;
                          position: relative !important;
                          z-index: 1000 !important;
                      }
                      
                  • @ 2026-2-3 15:44:41

                    一言观赏

                    点击关闭/展开
                    main.mdl-layout__content {
                        background-image: url(https://picsum.photos/1920/1080) !important;
                        background-repeat: no-repeat;
                        background-size: cover;
                        background-position: center;
                        background-attachment: fixed;
                    }
                    
                    div.word {
                        -webkit-text-stroke: 0.4px #000000; /* 描边 */
                        text-shadow: 0 0 5px currentcolor, 0 0 10px currentcolor; /* 发光 */
                    }
                    
                    div.mdl-layout__header-row, i.material-icons, header.mdl-layout__header.mdl-layout__header--scroll.mdl-layout__header--transparent, p {
                        display: none !important;
                    }
                    
                    • @ 2026-5-5 20:27:16

                      把 AC 的图片换成随机

                      img.swal2-image {
                        content: url('https://picsum.photos/1920/1080') !important;
                      }
                      
                  • @ 2026-1-31 12:08:22

                    面壁者不需要对自己的行为作出任何解释。

                    * { opacity: 0 !important; transition: opacity 0.3s ease !important; }
                    *:hover { opacity: 1.0 !important; }
                    
                    • @ 2026-1-31 11:20:43

                      让 DXD 以为你在打代码

                      点击关闭/展开
                      #include <conio.h>
                      #include <iostream>
                      using namespace std;
                      
                      string prt = R"(ABCDEF)";
                      
                      int main()
                      {
                      	system("color F0");
                      	int i = 0, n = prt.size();
                      	while (i < n)
                      	{
                      		while (!_kbhit());
                      		_getch();
                      		cout << prt[i];
                      		++i;
                      	}
                      	return 0;
                      }
                      

                      换行

                      下面这是啥忘记了
                      * { background-color: #20202000 !important; }
                      body { background-color: #202020 !important; }
                      
                      *:not(a, strong) {
                          color: #fff !important;
                          font-weight: normal !important;
                          text-shadow: 0 0 5px currentcolor, 0 0 10px currentcolor;
                      }
                      a {
                          color: #e3f6ff !important;
                          font-weight: normal !important;
                          text-shadow: 0 0 3px currentcolor, 0 0 7px currentcolor;
                      }
                      strong {
                          color: #c6c7ff !important;
                          font-weight: bold !important;
                          text-shadow: 0 0 3px currentcolor, 0 0 7px currentcolor;
                      }
                      
                      img { opacity: 0.6; transition: opacity 0.3s ease !important; }
                      img:hover { opacity: 1.0; }
                      
                      • @ 2025-12-22 19:13:07

                        A test of pow in <cmath> and user define function fast pow.

                        点击关闭/展开
                        #include <cmath>
                        #include <chrono>
                        #include <iostream>
                        using namespace std;
                        using namespace chrono; 
                        #define ll long long
                        
                        ll time()
                        {
                            auto now = high_resolution_clock::now();
                            return duration_cast<milliseconds>(now.time_since_epoch()).count();
                        }
                        
                        ll fpow(ll a, ll b, ll Mod)
                        {
                        	if (b == 0)return 1;
                        	if (b == 1)return (a % Mod);
                        	ll h = fpow(a, (b >> 1), Mod) % Mod;
                        	if (b & 1)return (h * h * a) % Mod;
                        	return (h * h) % Mod;
                        }
                        
                        int main()
                        {
                        	ll a, b;
                        	while (cin >> a >> b)
                        	{
                        		int st = time();
                        		int c = int(pow(a, b)) % 1145;
                        		cout << "\"pow\" function in <cmath>: ";
                        		if (c < 0)cout << "can't get right answer\n";
                        		else cout << int(pow(a, b)) % 1145 << "\n";
                        		int et = time();
                        		cout << "use time: " << et - st << " ms\n\n";
                        		
                        		st = time();
                        		cout << "user define function \"fast pow\": " << fpow(a, b, 1145) << "\n";
                        		et = time();
                        		cout << "use time: " << et - st << " ms\n\n";
                        	}
                        	return 0;
                        }
                        
                        • @ 2025-12-19 13:35:12
                          • @ 2025-12-8 12:59:45

                            Stylus

                            Stylus 样式查找

                            把洛谷改成BCOI

                            把BCOI改成小拨鼠

                            /*鼠标样式*/
                                * {
                                    cursor: url(https://cdn.luogu.com.cn/upload/image_hosting/m0z68fn1.png), url(https://cdn.luogu.com.cn/upload/image_hosting/m0z68fn1.png), default !important;
                                }
                            
                            • @ 2025-12-4 13:47:48

                              可以用这个做 C++ 中文版

                              点击关闭/展开
                              #include <random>
                              #include <sstream>
                              #include <iostream>
                              #include <unordered_map>
                              using namespace std;
                              int randInt(int l, int r)
                              {
                              	static random_device rd;
                              	static mt19937 gen(rd());
                                  uniform_int_distribution<int> dist(l, r);
                                  return dist(gen);
                              }
                              
                              unordered_map <string, string> def; // 宏替换,优先级最高
                              unordered_map <string, string> Turn; // 名转换,优先级最低 
                              
                              string GetEn(string en)
                              {
                              	if (Turn.count(en))return Turn[en];
                              	string ret = ""; // 随机生成名 
                              	int lenght = randInt(5, 15); // 长度(反正不是给人看的 
                              	char fstCh = randInt('A', 'Z');
                              	--lenght;
                              	ret += fstCh;
                              	while (lenght--)
                              	{
                              		int type = randInt(1, 4);
                              		if (type == 1)ret += char(randInt('A', 'Z'));
                              		else if (type == 2)ret += char(randInt('a', 'z'));
                              		else if (type == 3)ret += char(randInt('0', '9'));
                              		else ret += '_';
                              	}
                              	Turn[en] = ret;
                              	return ret;
                              }
                              
                              string toEn(string str)
                              {
                              	if (def.count(str))return toEn(def[str]);
                              	if (str == "#导入")return "#include";
                              	if (str == "使用")return "using";
                              	if (str == "命名空间")return "namespace";
                              	if (str == "标准")return "std"; 
                              	if (str == "主函数")return "main";
                              	
                              	if (str == "《输入输出流》")return "<iostream>";
                              	
                              	if (str == "无符号")return "unsigned";
                              	if (str == "有符号")return "signed";
                              	if (str == "整型")return "int";
                              	if (str == "字符串")return "string";
                              	if (str == "长整型")return "long long";
                              	if (str == "常量")return "const";
                              	
                              	if (str == "循环")return "for";
                              	if (str == "如果成立则循环")return "while"; 
                              	if (str == "返回")return "return";
                              	if (str == "如果")return "if";
                              	
                              	if (str == "输入")return "cin";
                              	if (str == "输出")return "cout";
                              	
                              	if (str == "或")return "||";
                              	if (str == "且")return "&&";
                              	if (str == "等于")return "==";
                              	if (str == "小于等于")return "<=";
                              	if (str == "小于")return "<";
                              	if (str == "大于")return ">";
                              	if (str == "大于等于")return ">=";
                              	if (str == "不等于")return "!=";
                              	if (str == "加")return "+";
                              	if (str == "加上")return "+=";
                              	if (str == "减")return "-";
                              	if (str == "减去")return "-=";
                              	if (str == "自增")return "++";
                              	if (str == "自减")return "--";
                              	if (str == "为")return "=";
                              	if (str == "(")return "(";
                              	if (str == ")")return ")";
                              	if (str == "()")return "()";
                              	if (str == "【")return "[";
                              	if (str == "】")return "]";
                              	if (str == ";")return ";";
                              	if (str == "》》")return ">>";
                              	if (str == "《《")return "<<";
                              	if (str == ",")return ",";
                              	if (str == "?")return "?";
                              	if (str == "!")return "!";
                              	if (str == "“" || str == "”")return "\"";
                              	if (str == "{" || str == "}" || (str[0] >= '0' && str[0] <= '9'))return str;
                              	if (str[0] == '\\')return str.substr(1, str.size() - 1); 
                              	return GetEn(str); // 变量名
                              }
                              
                              int main()
                              {
                              	freopen("code.in", "r", stdin);
                              	freopen("英文版.txt", "w", stdout);
                              	
                              	int Tabn = 0;
                              	string line;
                              	while (getline(cin, line))
                              	{
                              		stringstream sss(line);
                              		stringstream ss2(line);
                              		string inp, tab;
                              		while (ss2 >> tab)if (tab == "}")--Tabn;
                              		for (int i = 1; i <= Tabn; ++i)cout << "\t";
                              		bool flag = 1;
                              		while (sss >> inp)
                              		{
                              			if (inp == "#替换")
                              			{
                              				string bef, aft;
                              				sss >> bef >> aft;
                              				def[bef] = aft;
                              				flag = 0;
                              				continue;
                              			}
                              			if (inp == "{")++Tabn;
                              			cout << toEn(inp) << " ";
                              		}
                              		if (flag)cout << "\n";
                              	}
                              	return 0;
                              }
                              

                              输入问题就能得到 AI 的回答(false)

                              #include <bits/stdc++.h>
                              using namespace std;
                              int main()
                              {
                              	string a;
                              	getline(cin, a);
                              	a = "start https://chat.baidu.com/search?word=" + a;
                              	system(a.c_str());
                              	system("exit");
                              	return 0;
                              }
                              

                              可以生成你在洛谷练习的表格(生成 LaTeX\LaTeX 复制到洛谷或 BCOI)

                              点击关闭/展开
                              #include <map>
                              #include <iostream>
                              #include <algorithm>
                              using namespace std;
                              
                              int n = 8;
                              
                              string names[10] = {"", "暂无评定", "入门", "普及-", "普及/提高-", "普及+/提高", "提高+/省选-", "省选/NOI-", "NOI/NOI+/CTSC"};
                              string colors[10] = {"", "#bfbfbf", "#fe4c61", "#f39c11", "#ffc116", "#52c41a", "#3498db", "#9d3dcf", "#0e1d69"}; 
                              int lens[10], socs[10];
                              
                              struct stu
                              {
                              	int name;
                              	int soc, len;
                              }a[10];
                              
                              bool cmp(stu x, stu y)
                              {
                              	return x.soc > y.soc;
                              }
                              
                              void print(int name, int len)
                              {
                              	cout << "\\textbf{" << names[name] << "} &: \\color{#ffffff}\\colorbox{" << colors[name] 
                              		 << "}{\\hspace{" << len / 20.0 << "cm}" << socs[name] << "\\hspace{" << len / 20.0 << "cm}} \\\\" << endl;
                              }
                              
                              int main()
                              {
                              	//ios::sync_with_stdio(0);
                              	//cin.tie(0); cout.tie(0);
                              	
                              	for (int i = 1; i <= n; ++i)
                              	{
                              		cin >> a[i].soc;
                              		socs[i] = a[i].soc;
                              		a[i].name = i;
                              		if (a[i].soc == 0)a[i].soc = -1;
                              	}
                              	sort(a + 1, a + 9, cmp);
                              	
                              	a[1].len = 100;
                              	for (int i = 2; i <= n; ++i)
                              	{
                              		a[i].len = a[i].soc * a[i - 1].len / a[i - 1].soc;
                              	}
                              	
                              	for (int i = 1; i <= n; ++i)
                              	{
                              		lens[a[i].name] = a[i].len;
                              	}
                              	
                              	cout << "\\boxed{" << endl;
                              	cout << "\\begin{aligned}" << endl;
                              	for (int i = 1; i <= n; ++i)
                              	{
                              		print(i, lens[i]);
                              	}
                              	cout << "\\end{aligned}" << endl;
                              	cout << "}";
                              	return 0;
                              }
                              
                              • 1