版本比较
题解:AT_agc047_b [AGC047B] First Second
正文
增加 2 行删除 2 行
171 行未改动全部展开17217317417517617617717817918044 行未改动22522622722822922923023123223315 行未改动171 行未改动全部展开namespace DataStruct { template<const int N> class Trie { private: int num = 0; int num = 0; struct Node{ int CntEnd, son[30]; char c; }nodes[N];44 行未改动 int ans = 0; for (int i = 1; i <= n; i++) { std::string tmp = s[i]; ans += t.query(tmp);
} printf("%d\n", ans); return ;}15 行未改动