摘要:
##给n个括号,需要排好序保证这个序号是有序的 #include <bits/stdc++.h> using namespace std; const int N = 10010; int n; struct Seq { int l, r, d, id;//id记录第几个,d记录左减去右边相差的值, 阅读全文
摘要:
##一些报错 1.error: non-void function 'inorderTraversal' should return a value [-Wreturn-type] 递归写法应该return什么,应该return一个vector? 2.no matching member funct 阅读全文