摘要: class Solution { int p[200005],ne[200005],h[200005],f[200005],s[100005][26],m=0; string t; vector<int> ans; public: void dfs(int x){ s[x][t[x]-'a']=1; 阅读全文
posted @ 2020-07-20 21:47 阿破 阅读(81) 评论(0) 推荐(0)
摘要: class Solution { int ans=0; public: int fun(int numBottles,int n,int numExchange){ ans+=numBottles; //置空 n+=numBottles; numBottles=0; //替换 numBottles= 阅读全文
posted @ 2020-07-20 10:50 阿破 阅读(99) 评论(0) 推荐(0)