感觉全是leetcode easy题,第二题找个set<pair<int, int>>存一下,然后find看有没有出现过就行了
1 2

相关推荐

牛客网
牛客企业服务