1.[Error] ‘sort’ was not declared in this scope
解决:#include<algorithm>
2.[Error] ‘next_permutation’ was not declared in this scope
解决:#include<algorithm>
3.[Error] reference to ‘plus’ is ambiguous
错误:变量或方法名与库文件里的方法重名
解决:修改变量或方法名即可
4.[Error] ‘fabs’ was not declared in this scope
解决:#include <math.h>
5.[Error]‘sleep’ was not declared in this scope
解决:#include <unistd.h>