一个 c++ 新手
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; int n; map mp; bool is_ok ( string s2 ) { string s = s2 + '.'; int len = s.size(); int t = 0; int p = 0; for ( int i = 0; i…
```cpp #include using namespace std; const int N=1e6+10; bool vis[N]; vector g[N]; bool cmp(int a,int b) { return a q; q.push(i); vis[i]=1; while(!q.empty()) {…