运行 ID: 38933

Main.cc: In member function ‘void Solution::main()’:
Main.cc:36:138: error: ‘class std::unordered_set’ has no member named ‘contains’
             if (leaves.size() == graph[u].size() + graph[v].size() || (leaves.size() + 1 == graph[u].size() + graph[v].size() && !leaf_u.contains(v) && !leaf_v.contains(u))) {
                                                                                                                                          ^~~~~~~~
Main.cc:36:161: error: ‘class std::unordered_set’ has no member named ‘contains’
             if (leaves.size() == graph[u].size() + graph[v].size() || (leaves.size() + 1 == graph[u].size() + graph[v].size() && !leaf_u.contains(v) && !leaf_v.contains(u))) {
                                                                                                                                                                 ^~~~~~~~