摘要:
link a b 相等等价于 a^b=0. 则问题转换为找一对i,j a[i]^...^a[j]=0. class Solution { public: int countTriplets(vector<int>& arr) { int n=arr.size(); vector<int> pre(n 阅读全文
posted @ 2020-05-10 21:04
feibilun
阅读(166)
评论(0)
推荐(0)
摘要:
link class Solution { public: long mod = 100000000000007L; long head=1L; int distinctEchoSubstrings(string text) { int n=text.size(); unordered_set<lo 阅读全文
posted @ 2020-05-10 09:13
feibilun
阅读(104)
评论(0)
推荐(0)

浙公网安备 33010602011771号