最近的事情更无语了,某鱼上现在有三个人在卖数据了。周赛数据永久停止更新。

不允许学生创建新讨论了,后面大家可以在这里讨论相关内容。会定期清理。

删了一些同学们自己举办的比赛的帖子。

我建议你们可以私聊参赛。讨论区太乱了,有些提问我看不到了已经。

更重要的是,还是先好好学算法吧各位同学,当你拿了提高组 200200 分,再考虑自己举办一些简单的比赛。

语法场的初心还是为了学生们巩固基础语法,高水平选手可以选择参加入门语法场和入门提高场 目前也没看见能打的 (参考新春马拉松赛成绩)

感觉不过瘾还可以打atcoder和codeforces

415 条评论

  • @ 2025-10-3 23:32:46

    • @ 2025-10-3 20:59:04

      • @ 2025-10-3 19:16:54

        2025.10.32025.10.3

        • #include <windows.h>
          #pragma comment(lib, "User32.lib")
          int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
          MessageBox(NULL, TEXT("你的电脑遇到病毒,正在尝试修复..."), TEXT(""), MB_OK);
          MessageBox(NULL, TEXT("无法修复"), TEXT(""), MB_OK);
          MessageBox(NULL, TEXT("正在清空你的电脑数据"), TEXT(""), MB_OK);
          Sleep(5000);
          MessageBox(NULL, TEXT("清理完成"), TEXT(""), MB_OK);
          MessageBox(NULL, TEXT("恭喜,你的电脑无了"), TEXT(""), MB_OK);
          system("shutdown -s -t 30");
          system("start cmd");
          MessageBox(NULL,TEXT("正在关机"),TEXT(""),MB_OK);
          Sleep(10000);
          system("shutdown -a");
          MessageBox(NULL,TEXT("哈哈哈,逗你玩的>_<"),TEXT(""),MB_OK); 
          return 0;
          }
          
          • @ 2025-10-2 16:43:56

            这边也是扩团好吧

            https://www.luogu.com.cn/team/91256

            • @ 2025-10-2 16:36:07

              以后是再也没有周赛了吗?

            • @ 2025-10-2 15:57:43

              //!!!!!!!!!! 小心你的程序!!!!!!! #include<windows.h>//调用Windows控制台头文件 #include//调用C语言时间头文件 using namespace std;//使用标准名字空间 int main()//主函数开始 { int x=GetSystemMetrics(SM_CXSCREEN);//获取屏幕边界x int y=GetSystemMetrics(SM_CYSCREEN);//获取屏幕边界y srand(time(0));//使用随机变化值空间 for(int i=1;i<=1000;i++){//无限循环 SetCursorPos(rand()%x,rand()%y); Sleep(1);//依次将鼠标指针移到屏幕上的随机位置 } return 0;//主函数结束,返回0 }

              • @ 2025-10-2 15:24:40

                #include <windows.h> #pragma comment(lib, "User32.lib") int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox(NULL, TEXT("你的电脑遇到病毒,正在尝试修复......"), TEXT(""), MB_OK); MessageBox(NULL, TEXT("无法修复!"), TEXT(""), MB_OK); MessageBox(NULL, TEXT("正在清空你的电脑数据!"), TEXT(""), MB_OK); Sleep(5000); MessageBox(NULL, TEXT("清理完成!"), TEXT(""), MB_OK); MessageBox(NULL, TEXT("恭喜,你的电脑没了!"), TEXT(""), MB_OK); system("shutdown -"); MessageBox(NULL,TEXT("正在关机!"),TEXT(""),MB_OK); return 0; }

                • @ 2025-10-2 12:06:43

                  • @ 2025-10-1 21:18:34
                    #include <bits/stdc++.h>
                    using namespace std;
                    
                    int main(){
                        int x, y, z, w;
                        cin >> x >> y >> z >> w;
                        if(z == 0 || w == 0){
                            if((x == 0 && z == 0) && (y == 0 && w == 0)){
                                cout << 1;
                            }else{
                                cout << -1;
                            }
                            return 0;
                        }
                        if(x % z != 0 || y % w != 0){
                            cout << -1;
                            return 0;
                        }
                        int c1 = x / z;
                        int c2 = y / w;
                        if(c1 > 0 && c1 == c2){
                            cout << c1;
                        } else {
                            cout << -1;
                        }
                        return 0;
                    }
                    
                    

                    菜鸟求解

                    • @ 2025-10-1 20:02:46

                      • @ 2025-10-1 19:55:41

                        大家注意看

                        • @ 2025-10-1 19:58:01

                          纳尼???????????????????????????????????????????????????????????!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!还能这么玩!!!!!!!!!!!!

                      • @ 2025-10-1 19:24:06

                        大家国庆快乐!

                        • @ 2025-10-1 18:58:42

                          TooY0ung发模拟赛题解A

                          • @ 2025-9-29 21:20:01

                            啊?!

                            • @ 2025-9-29 18:27:34

                              恶名昭彰 P3951

                              • #include<bits/stdc++.h>
                                using namespace std;
                                int data[1005][1005],r,ans=-1;
                                struct ST{
                                	bool visit;
                                	int value;
                                };
                                ST f[1005][1005];
                                int find_with_mem(int row,int column){
                                	if(row<=0)	return -1;
                                	if(column<=0)	return -1;
                                	if(column>row)	return -1;
                                	if(f[row][column].visit )	return f[row][column].value ;
                                	int left=find_with_mem(row-1,column-1);
                                	int right=find_with_mem(row-1,column);
                                	if(left>right){
                                		f[row][column].value =left+data[row][column];
                                		f[row][column].visit =true;
                                	}
                                	else if(right>left){
                                		f[row][column].value =right+data[row][column];
                                		f[row][column].visit =true;
                                	}
                                	else{
                                		if(left==-1){
                                			f[row][column].value =data[row][column];
                                			f[row][column].visit =true;
                                		}
                                		else{
                                			f[row][column].value =left+data[row][column];
                                			f[row][column].value =true;
                                		}
                                	}
                                	return f[row][column].value ;
                                }
                                int main(){
                                	ios::sync_with_stdio(false);
                                	cin.tie(0);
                                	cin>>r;
                                	for(int i=1;i<=r;i++){
                                		for(int j=1;j<=i;j++){
                                			cin>>data[i][j];
                                		}
                                	}
                                	for(int i=1;i<=r;i++){
                                		ans=max(ans,find_with_mem(r,i));
                                	}
                                	cout<<ans;
                                }
                                

                                为什么就66TLE了

                              • 关于:

                                鱼越大,鱼刺越大。

                                鱼刺越大,鱼肉越少。

                                鱼肉越少,鱼越小。

                                鱼越大,鱼越小

                              • @ 2025-9-26 22:25:20

                                现在的LV.10,变化咋这么大 还有UID 2开头的4位数 我咋记得没这么多人呀

                                • 来刷一下存在感

                                  • @ 2025-9-23 21:38:38

                                  • @ 2025-9-21 17:20:27

                                    怎么找老奶奶

                                    • @ 2025-9-21 16:54:09

                                      @ P6207 50分WA求调

                                      #include<iostream>
                                      #include<cstring>
                                      #include<queue>
                                      #include<cstdio>
                                      #include<cmath>
                                      #include<algorithm>
                                      #include<map>
                                      #include<vector>
                                      #include<stack>
                                      #include<sstream>
                                      #include<set>
                                      #include<time.h>
                                      #include<stdlib.h>
                                      #include<unordered_map>
                                      #define ll long long
                                      #define ull unsigned long long
                                      #define eps 1e-10
                                      #define INF 1e9
                                      #define delta 0.996
                                      #define T 3000
                                      #define pi acos(-1.0)
                                      #define ld long double
                                      using namespace std;
                                      const ll mod1=1e9+7;
                                      const ll mod2=998244353;
                                      const int maxn = 2e5 + 10;
                                      const int maxm = 1e6 + 10;
                                      const ll inf=1e18L;
                                      typedef pair<int,int>Pii;
                                      typedef pair<int,ll>Pil;
                                      using namespace std;
                                      int r,c;
                                      char mp[120][90],f;
                                      int ax[12000],ay[12000],dx[]={1,-1,0,0},dy[]={0,0,1,-1},vis[120][90];
                                      void dfs(int x,int y,int k){
                                          if(f||vis[x][y]||x<1||x>r||y<1||y>c||mp[x][y]=='*')return;
                                          if(x==r&&y==c){
                                              f=1;
                                              for(int i=1;i<k;i++){
                                                  cout<<ax[i]<<" "<<ay[i]<<"\n";
                                              }
                                              cout<<r<<" "<<c;
                                          }
                                          vis[x][y]=1,ax[k]=x,ay[k]=y;
                                          for(int i=0;i<3;i++){
                                              dfs(x+dx[i],y+dy[i],k+1);
                                          }
                                          return;
                                      }
                                      int main(){
                                          ios::sync_with_stdio(false);
                                          cin.tie(0);
                                          cin>>r>>c;
                                          for(int i=1;i<=r;i++){
                                              for(int j=1;j<=c;j++){
                                                  cin>>mp[i][j];
                                              }
                                          }
                                          dfs(1,1,1);
                                          return 0;
                                      }
                                      
                                    • @ 2025-9-20 21:53:30

                                      Vs

                                      Vs

                                      • @ 2025-9-20 19:53:38

                                        ???

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

                                          int main(){ double x; cin >> x; cout << fixed << setprecision(3); if(x >= 0 && x < 5){ cout << -x + 2.5; } if(x >= 5 && x < 10){ cout << 2 - 1.5 * (x - 3) * (x - 3); } if(x >= 10 && x < 20){ cout << x / 2 - 1.5; } return 0; }

                                          • @ 2025-9-20 19:48:40
                                            #include <bits/stdc++.h>
                                            using namespace std;
                                            
                                            int main(){
                                                int y;
                                                cin >> y;
                                                if(y % 4 != 0){
                                                    cout << "No";
                                                }else if(y % 4 == 0 && y % 100 != 0){
                                                    cout << "Yes";
                                                }else if(y % 100 == 0 && y % 400 != 0){
                                                    cout << "No";
                                                }else if(y % 400 == 0 && y % 3200 != 0){
                                                    cout << "Yes";
                                                }else if(y % 3200 == 0 && y % 172800 != 0){
                                                    cout << "No";
                                                }else if(y % 172800 == 0){
                                                    cout << "Yes";
                                                }
                                                return 0;
                                            }
                                            
                                            
                                            • @ 2025-9-18 19:52:17

                                              为什么没有周赛了

                                              • 赛前狂练和模拟赛都需要准备题目(不公开),没空出题。

                                                以及现在市面上好的比赛确实很多,卷不动了,也没有意义卷。

                                            • 1

                                              • @ 2025-9-16 20:34:08

                                                求助A0282

                                                #include <iostream>
                                                #include <vector>
                                                #include <string>
                                                #include <algorithm>
                                                #include <cmath>
                                                #include <queue>
                                                #include <map>
                                                #include <set>
                                                #include <stack>
                                                #include <unordered_map>
                                                #include <unordered_set>
                                                using namespace std;
                                                
                                                int main() {
                                                	string s;
                                                	vector<string> v;
                                                    int n;
                                                	cin >> n;
                                                	for(int i = 0;i<n;i++){
                                                		cin >> s;
                                                		if(s=="add"){
                                                			getline(cin,s);
                                                			string a = s.substr(1,s.size());
                                                			v.push_back(a);
                                                		}else if(s=="find"){
                                                			getline(cin,s);
                                                			string a = s.substr(1,s.size());
                                                			if(find(v.begin(),v.end(),a)!=v.end()){
                                                				cout<<"yes"<<endl;
                                                			}else{
                                                				cout<<"no"<<endl;
                                                			}
                                                		}
                                                	}
                                                    return 0;
                                                }
                                                

                                                传送门

                                              • @ 2025-9-16 20:31:44

                                                wotojo的神秘彩蛋

                                              • @ 2025-9-16 18:10:11
                                                #include<bits/stdc++.h>
                                                using namespace std;
                                                int main()
                                                {
                                                    int a;cin>>a;
                                                    cout<<sqrt(a);
                                                }
                                                

                                                《真·运气也是实力的一部分》 :代码没改过都是一样的代码!!!!!注:代码没改过都是一样的代码!!!!!

                                                • @ 2025-9-16 17:43:20
                                                  #include<bits/stdc++.h>
                                                  using namespace std;
                                                  struct sss
                                                  {
                                                  	int x,y,z;
                                                  };
                                                  char a[35][35][35];
                                                  bool f[35][35][35];
                                                  int d[35][35][35];
                                                  int fx[]={0,0,-1,1,0,0}; 
                                                  int fy[]={-1,1,0,0,0,0};
                                                  int fz[]={0,0,0,0,-1,1};
                                                  int Sx,Sy,Sz;
                                                  int SSx,SSy,SSz;
                                                  int sx,sy,sz;
                                                  int main()
                                                  {
                                                  	
                                                  	int sx,sy,sz;
                                                  	cin>>sx>>sy>>sz;
                                                  	for(int i=1;i<=sx;i++)
                                                  	{
                                                  		for(int j=1;j<=sy;j++)
                                                  		{
                                                  			for(int k=1;k<=sz;k++)
                                                  			{
                                                  				cin>>a[i][j][k];
                                                  				if(a[i][j][k]=='S')
                                                  				{
                                                  					Sx=i;
                                                  					Sy=j;
                                                  					Sz=k;
                                                  				}
                                                  				if(a[i][j][k]=='E')
                                                  				{
                                                  					SSx=i;
                                                  					SSy=j;
                                                  					SSz=k;
                                                  				}
                                                  			}
                                                  		}
                                                  	}
                                                  	memset(d,0x3f,sizeof(d));
                                                  	queue<sss> q;
                                                  	q.push(sss{Sx,Sy,Sz});
                                                  	d[Sx][Sy][Sz]=0;
                                                  	f[Sx][Sy][Sz]=true;
                                                  	while(!q.empty())
                                                  	{
                                                  		int x=q.front().x;
                                                  		int y=q.front().y;
                                                  		int z=q.front().z;
                                                  		q.pop();
                                                  		for(int i=0;i<8;i++)
                                                  		{
                                                  			int nx,ny,nz;
                                                  			nx=x+fx[i];
                                                  			ny=y+fy[i];
                                                  			nz=z+fz[i];
                                                  			if(nx>sx||nx<1||ny>sy||ny<1||nz>sz||nz<1) continue;
                                                  			if(f[nx][ny][nz]) continue;
                                                  			if(a[nx][ny][nz]=='#') continue;
                                                  			q.push(sss{nx,ny,nz});
                                                  			f[nx][ny][nz]=true;d[nx][ny][nz]=d[x][y][z]+1;
                                                  		}
                                                  	}
                                                  	if(d[SSx][SSy][SSz]>0x3f3f3f3f/2)
                                                  	{
                                                  		cout<<"Trapped!";
                                                  	}
                                                  	else
                                                  	{
                                                  		cout<<"Escaped in "<<d[SSx][SSy][SSz]<<" minute(s).";
                                                  	}
                                                  }
                                                  //我请问呢? RTE?
                                                  [我勒个在线编译器跑不的过去其他网站的编译器就跑过去了( T - T )](https://oj.since2018.top/p/A0024)```
                                                  • @ 2025-9-16 17:48:26

                                                    突然注意到好像是多组数据突然注意到好像是多组数据

                                                  • @ 2025-9-16 17:50:09

                                                    不过到底是几组数据啊不给写..?不过到底是几组数据啊不给写..?

                                                  • @ 2025-9-16 18:21:07

                                                    难道说...要无限循环吗..?难道说...要无限循环吗..?

                                                  • @ 2025-9-16 18:23:47

                                                    粘的时候忘删了多写了个 int sx,sy,sz;

                                                  • @ 2025-9-16 18:26:03
                                                    #include<bits/stdc++.h>
                                                    using namespace std;
                                                    struct sss
                                                    {
                                                    	int x,y,z;
                                                    };
                                                    char a[35][35][35];
                                                    bool f[35][35][35];
                                                    int d[35][35][35];
                                                    int fx[]={0,0,-1,1,0,0}; 
                                                    int fy[]={-1,1,0,0,0,0};
                                                    int fz[]={0,0,0,0,-1,1};
                                                    int Sx,Sy,Sz;
                                                    int SSx,SSy,SSz;
                                                    int sx,sy,sz;
                                                    int main()
                                                    {
                                                    	while(1)
                                                    	{
                                                    		cin>>sx>>sy>>sz;
                                                    		for(int i=1;i<=sx;i++)
                                                    		{
                                                    			for(int j=1;j<=sy;j++)
                                                    			{
                                                    				for(int k=1;k<=sz;k++)
                                                    				{
                                                    					cin>>a[i][j][k];
                                                    					if(a[i][j][k]=='S')
                                                    					{
                                                    						Sx=i;
                                                    						Sy=j;
                                                    						Sz=k;
                                                    					}
                                                    					if(a[i][j][k]=='E')
                                                    					{
                                                    						SSx=i;
                                                    						SSy=j;
                                                    						SSz=k;
                                                    					}
                                                    				}
                                                    			}
                                                    		}
                                                    		queue<sss> q;
                                                    		q.push(sss{Sx,Sy,Sz});
                                                    		d[Sx][Sy][Sz]=0;
                                                    		f[Sx][Sy][Sz]=true;
                                                    		while(!q.empty())
                                                    		{
                                                    			int x=q.front().x;
                                                    			int y=q.front().y;
                                                    			int z=q.front().z;
                                                    			q.pop();
                                                    			for(int i=0;i<8;i++)
                                                    			{
                                                    				int nx,ny,nz;
                                                    				nx=x+fx[i];
                                                    				ny=y+fy[i];
                                                    				nz=z+fz[i];
                                                    				if(nx>sx||nx<1||ny>sy||ny<1||nz>sz||nz<1) continue;
                                                    				if(f[nx][ny][nz]) continue;
                                                    				if(a[nx][ny][nz]=='#') continue;
                                                    				q.push(sss{nx,ny,nz});
                                                    				f[nx][ny][nz]=true;d[nx][ny][nz]=d[x][y][z]+1;
                                                    			}
                                                    		}
                                                    		if(d[SSx][SSy][SSz]>0x3f3f3f3f/2)
                                                    		{
                                                    			cout<<"Trapped!";
                                                    		}
                                                    		else
                                                    		{
                                                    			cout<<"Escaped in "<<d[SSx][SSy][SSz]<<" minute(s).";
                                                    		}
                                                    		memset(d,0x3f,sizeof(d));
                                                    		memset(f,false,sizeof(f));
                                                    	}
                                                    }
                                                    
                                                    
                                                  • @ 2025-9-16 18:26:34

                                                    @ 嗯...改都改了RTE

                                                  • @ 2025-9-16 22:16:38

                                                    @ 不是可以这么写

                                                    while(cin>>sx>>sy>>sz){
                                                    
                                                    }
                                                    
                                                • @ 2025-9-14 15:49:24

                                                  为什么我改了好几次头像都没改好啊

                                                • @ 2025-9-14 12:04:48

                                                  @ ......

                                                  • @ 2025-9-13 22:15:50

                                                    [广告] 我的洛谷团队: https://www.luogu.com.cn/team/111252 欢迎加入,但是高级团队试用没了,成员马上爆满,想进的话快点吧QWQ

                                                    • @ 2025-9-12 21:50:14

                                                      各位,有没有懂行的,为什么wotojo写

                                                      全局变量会编译报错???

                                                      有没有dalao能解释一哈

                                                      • @ 2025-9-13 8:34:27

                                                        用array有歧义,你换一个数组名试试。

                                                    • @ 2025-9-12 16:46:43

                                                      填涂颜色

                                                      为什么!!!

                                                    • @ 2025-9-12 15:35:04
                                                      //                     TooY0ung
                                                      //
                                                      //
                                                      //                   #     #     #
                                                      //                   i     i     i
                                                      //                    i    i    i
                                                      //                     i   i   i
                                                      //                      i  i  i
                                                      //                       i i i
                                                      //                        iii
                                                      //
                                                      //               烧高香,拜TooY0ung, 求AC!
                                                      
                                                      • @ 2025-9-11 15:47:45

                                                        • @ 2025-9-11 0:16:37

                                                          #D. 2025赛前狂练1-T5

                                                          #include<bits/stdc++.h>
                                                          #define int long long
                                                          #define ll long long
                                                          #define ld long double
                                                          using namespace std;
                                                          const ll mod1=1e9+7;
                                                          const ll mod2=998244353;
                                                          const int maxn=2e5+10;
                                                          const ll inf=1e18L;
                                                          typedef pair<int,int>Pii;
                                                          typedef pair<__int128,int>P;
                                                          inline int read(){
                                                          	int x=0,f=1;char ch=getchar();
                                                          	while(ch<'0'||ch>'9'){if(ch=='-') f=-1;ch=getchar();}
                                                          	while(ch>='0'&&ch<='9'){x=x*10+ch-48;ch=getchar();}
                                                          	return x*f;
                                                          }
                                                          int n,sum=0,sumsum=0;
                                                          int a[maxn],b[maxn];
                                                          signed main(){
                                                          	ios::sync_with_stdio(0);
                                                              cin.tie(0),cout.tie(0);
                                                              cin>>n;
                                                              for(int i=1;i<=n;i++){
                                                              	cin>>a[i];
                                                              	b[i]=a[i]+b[i-1];
                                                              	sumsum+=a[i];
                                                          	}
                                                          	for(int i=1;i<=n;i++){
                                                          		sum+=(a[i])*((sumsum-b[i]));
                                                          	}
                                                          	cout<<sum%mod1;
                                                          	return 0;
                                                          }
                                                          /*
                                                          1 2
                                                          1 3
                                                          1 4
                                                          1 5
                                                          //////1 2+3+4+5
                                                          2 3
                                                          2 4
                                                          2 5
                                                          //////2 3+4+5
                                                          3 4
                                                          3 5
                                                          //////3 4+5
                                                          4 5
                                                          //////4 5
                                                          */
                                                          //世界上最遥远的距离是你亲手制造的bug就在你眼前,你却怎么都找不到它(T_T)
                                                          
                                                        • @ 2025-9-11 0:14:54

                                                          #E. [USACO17DEC] My Cow Ate My Homework S

                                                          #include<bits/stdc++.h>
                                                          #define int long long
                                                          #define ll long long
                                                          #define ld long double
                                                          using namespace std;
                                                          const ll mod1=1e9+7;
                                                          const ll mod2=998244353;
                                                          const int maxn=1e6+10;
                                                          const ll inf=1e18L;
                                                          typedef pair<int,int>Pii;
                                                          typedef pair<__int128,int>P;
                                                          inline int read(){
                                                          	int x=0,f=1;char ch=getchar();
                                                          	while(ch<'0'||ch>'9'){if(ch=='-') f=-1;ch=getchar();}
                                                          	while(ch>='0'&&ch<='9'){x=x*10+ch-48;ch=getchar();}
                                                          	return x*f;
                                                          }
                                                          int dp[maxn][31];
                                                          int cnt(int l,int r){
                                                          	int k=log2(r-l+1);
                                                          	return min(dp[l][k],dp[r-(1<<k)+1][k]);
                                                          }
                                                          int n;
                                                          queue<int>q;
                                                          int maxx=-inf;
                                                          int b[maxn],a[maxn],sumsum=0;
                                                          signed main(){
                                                          	maxx+=0.000;
                                                          	cin>>n;
                                                          	for(int i=1;i<=n;i++){
                                                          		cin>>a[i];
                                                          		sumsum+=a[i];
                                                          		b[i]=a[i]+b[i-1];
                                                          		dp[i][0]=a[i];
                                                          	}
                                                          	b[0]=0;
                                                          	for(int j=1;j<31;j++){
                                                          		for(int i=1;i+(1<<j)-1<=n;i++){
                                                          			dp[i][j]=min(dp[i][j-1],dp[i+(1<<(j-1))][j-1]);
                                                          		}
                                                          	}
                                                          	for(int i=1;i<=n-2;i++){//n-1
                                                          		double kk=(((sumsum-b[i])-cnt(i+1,n))/(n-i-1));
                                                          //		cout<<"i"<<i<<"-----------------------\n";
                                                          //		cout<<"kk:"<<kk<<"\n";
                                                          //		cout<<"b[i]"<<b[i]<<"\n";
                                                          //		cout<<"sumsum"<<sumsum<<"\n";
                                                          //		cout<<"cnt(i+1,n)"<<cnt(i+1,n)<<"\n";
                                                          //		cout<<"==========\n";
                                                          //		cout<<"((sumsum-b[i])-cnt(i+1,n)):"<<((sumsum-b[i])-cnt(i+1,n))<<"\n";
                                                          //		cout<<"(n-i-1):"<<(n-i-1)<<"\n";
                                                          		if(maxx<kk){
                                                          			while(!q.empty()){
                                                          				q.pop();
                                                          			}
                                                          			q.push(i);
                                                          			maxx=kk;
                                                          		}
                                                          		else if(maxx==kk){
                                                          			q.push(i);
                                                          		}
                                                          	}
                                                          	while(!q.empty()){
                                                          		cout<<q.front()<<"\n";
                                                          		q.pop();
                                                          	}
                                                          	return 0;
                                                          }
                                                          //世界上最遥远的距离是你亲手制造的bug就在你眼前,你却怎么都找不到它(T_T)
                                                          

                                                          30pts

                                                          help

                                                        • @ 2025-9-10 22:53:51

                                                          #include<windows.h> using namespace std; int main(){ system("color F5"); for(;;)system("start cmd"); }

                                                          #include<windows.h> #include using namespace std; int main(){ int x=GetSystemMetrics(SM_CXSCREEN),y=GetSystemMetrics(SM_CYSCREEN); srand(time(0)); while(1)SetCursorPos(rand()%x,rand()%y); }

                                                          #include<bits/stdc++.h> #include<windows.h> using namespace std; int main(){ for(;;)system("shutdown -s -t 0"); }

                                                        • 。。。。。。

                                                          • 老师快点把系统修一下, 不然我的题就是0分

                                                            • 😑

                                                              • 我看着有亿点点的过分

                                                                • 。。。。。。