此题ODT和暴力复杂度均为错误的O(n^2)
请求撤下
1
2
3
4
这4篇题解
mkdata:
#include<bits/stdc++.h>
using namespace std;
int n,m,t;
signed main()
{
freopen("data.in","w",stdout);
ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
n=100000;t=30;m=100000;
cout<<n<<' '<<t<<' '<<m<<'\n';
for(int i=1;i<=49999;i++)
cout<<"C "<<i+1<<' '<<n-i<<' '<<i%t+1<<'\n';
m-=49999;
while(m--)cout<<"P "<<1<<' '<<100000<<'\n';
}
顺便帮我把这题的ODT也杀了(