CSL的字符串(牛客競賽)

題目鏈接 參考代碼(其實本來最早見到這個思想不是這位大佬的,但是由於牛客提交太多了,我參考的那個代碼找不到了) 解釋都放在代碼裏面了,做了些筆記。 #include<bits/stdc++.h> using namespace std; typedef long long LL; const int inf = 0x3f3f3f3f; int cnt[505]; bool vis[505]; /
相關文章
相關標籤/搜索