壶关U663808||OI(2021-?)||严禁接龙
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
``` #include using namespace std; int n,c[310],a[310],f[310][310]; int main() { cin>>n; for(int i=1;i >c[i]; } for(int i=1;i >a[i]; } sort(c+1,c+n+1); for(int i…
在讨论《95pts TLE on #12》回复:
还可以再加一个优化,如果你的`ans`加上最长单词的长度小于当前的`i`的话可以直接输出`ans`。 ``` 1 1 abc abchfugehgkhksynoiuiovnsinugtrngsl ``` 这个数据加上这个优化肥肠有用
谁能解释一下为什么是`End[Son[now][i]]|=End[Son[Fail[now]][i]];`而不是`End[Son[now][i]]=End[now]|End[Son[Fail[now]][i]];`
在讨论《警示后人 If you WA 0》回复:
那很唐了
在讨论《30pts求条》回复:
@[Augustus_Deception](luogu://user/1408853) 谢
``` #include using namespace std; string st,st1; int b[1000010]; int main() { ios::sync_with_stdio(false); cin.tie(nullptr),cout.tie(nullptr); cin>>st>>st1; int…
在讨论《68分求助》回复:
@[_aszxqw_](luogu://user/1425451) 那是针对于每一个矩形的吧
在讨论《68分求助》回复:
欸不对啊,这也算?
在讨论《68分求助》回复:
@[_aszxqw_](luogu://user/1425451) 谢谢
``` #include using namespace std; int a[310][310]; int main() { cout 0) { if(i/12*12+2<=i) { a[i/12*12+2][i]=1; } if(i/12*12+4<=i) { a[i/12*12+4][i-1]=1; } if(i…
[评测记录](https://www.luogu.com.cn/record/256917644) ``` #include using namespace std; const int mod=998244353; long long n,m,c,f,T,a[1010][1010],d[1010][1010],r[1…
在讨论《60求救前两个RE》回复:
@[GMH12138](luogu://user/2007510) 求关注
在讨论《60求救前两个RE》回复:
@[GMH12138](luogu://user/2007510) 还有一个原因,b数组开小了
在讨论《60求救前两个RE》回复:
求关注
在讨论《60求救前两个RE》回复:
`n>MAX`错了,你的MAX存的是20,但是n的范围是小于等于100的。所以当n>20的时候,代码会执行return 1导致RE
在讨论《60求救前两个RE》回复:
``` if (n MAX || m MAX) { return 1; } ```
在讨论《60求救前两个RE》回复:
``` #include #include using namespace std; struct student { int score; }; int jisuanfenshu(int score[],int m) { int sum = 0, minscore = 10, maxscore = 0; for (i…
在讨论《60求救前两个RE》回复:
何意味
在讨论《求调30pts》回复:
现在65勒
``` #include using namespace std; int n,m,a[1010][1010]; long long f[1010][5]; int main() { ios::sync_with_stdio(false); cin.tie(nullptr),cout.tie(nullptr); cin…
在讨论《30pts求助》回复:
难道说我的代码被卡掉了?
``` #include using namespace std; int n,l,r,ans,MAX,a[10010]; int main() { ios::sync_with_stdio(false); cin.tie(nullptr),cout.tie(nullptr); cin>>n; for(int i=1;…
在讨论《Hack & 加强数据》回复:
建议@管理
``` #include using namespace std; int len,ans,f[5000010]; string st,st1; int main() { cin>>len>>st; string st1="&#"; for(int i=0;i r) { r=i+f[i]; mid=i; } ans+=…
``` #include using namespace std; unordered_map mp; int n,MAX,f[2000010]; string st; int main() { ios::sync_with_stdio(false); cin.tie(nullptr),cout.tie(nullptr…
在讨论《80求条》回复:
受着
``` #include using namespace std; int cnt,n,pos[210],len[210],Ans[210]; string s,st[210]; map mp; struct node { int end,fail,vis[30]; }AC[1000010]; inline void…
在文章《题解:P14222 [ICPC 2024 Kunming I] 收集硬币》发表评论:
oalad