33OJ
登录 注册

如果某题需要增强数据,在这个讨论帖下留言。

会定时删除无关内容与老旧内容(2 个月前的内容)

6 条评论

  • @ 2026-11-21 16:27:08

    请求修缮题面:LX0025 多出一个空的的样例二

    • @ 2026-11-21 16:29:32

      哟,改名了

  • @ 2026-11-14 11:47:14

    ABC 483 E 卡 unordered_map,但原题上可过

  • @ 2026-11-11 13:37:26

    https://atcoder.jp/contests/abc483/submissions/80757388

    https://oj.33dai.cn/record/6af3fe5e1f54aa5000c955bf

    这个代码在 atcoder 会 TLE

    #include<bits/stdc++.h>
    #define int long long
    using namespace std;
    int n,m;
    string s[200005];
    map<string,int> mp;
    int cnt0,cnt1,cnt2;
    signed main()
    {
    	ios::sync_with_stdio(0);
    	cin.tie(0);
    	cin>>n>>m;
    	for(int i=1;i<=n;i++)
    	{
    		cin>>s[i];
    		cnt0+=mp[s[i]];
    		mp[s[i]]++;
    	}
    	mp.clear();
    	for(int i=1;i<=n;i++)
    	{
    		for(int j=0;j<m;j++)
    		{
    			string t=s[i];
    			t[j]=' ';
    			mp[t]++;
    		}
    	}
    	for(auto i:mp)
    	{
    		cnt1+=(i.second*(i.second-1)/2);
    	}
    	mp.clear();
    	for(int i=1;i<=n;i++)
    	{
    		for(int j=0;j<m;j++)
    		{
    			for(int k=j+1;k<m;k++)
    			{
    				string t=s[i];
    				t[j]=' ';
    				t[k]=' ';
    				mp[t]++;
    			}
    		}
    	}
    	for(auto i:mp)
    	{
    		cnt2+=(i.second*(i.second-1)/2);
    	}
    	mp.clear();
    	cnt1-=cnt0*m;
    	cnt2-=cnt1*(m-1);
    	cnt2-=cnt0*m*(m-1)/2;
    	cout<<cnt0+cnt1+cnt2;
    	return 0;
    }
    
  • @ 2026-10-13 14:00:10

    数据太弱了……

    48周周赛第三题30分记录

    就一个测试点没过,难绷

  • @ 2026-8-31 8:41:46

    manacher这个题把周赛AC代码提交上去居然有28分

  • @ 2026-8-29 22:00:22

    @ ABC472D这题原题是1024MB但是搬过来成了256MB导致我的RE(QWQ)

    • @ 2026-8-29 22:01:04

      ???

    • @ 2026-8-30 10:21:25

      已修复,你的代码之前应该是占了 300MB,刚好差一点点哈哈哈

  • 1