beauty.cpp: In function 'bool check(std::vector<int>)':
beauty.cpp:30:6: warning: unused variable 'c' [-Wunused-variable]
int c = 0;
^
beauty.cpp: In function 'void out(std::vector<int>)':
beauty.cpp:50:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < tmp.size(); i++)
~~^~~~~~~~~~~~
beauty.cpp: In function 'void bt(std::vector<int>, std::vector<int>)':
beauty.cpp:57:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(b.size() == n)
~~~~~~~~~^~~~
beauty.cpp: At global scope:
beauty.cpp:77:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main()
^
beauty.cpp: In function 'int main()':
beauty.cpp:88:6: warning: unused variable 'mx' [-Wunused-variable]
int mx = fact(n);
^~