toy.cpp: In function 'int main()':
toy.cpp:33:26: warning: format '%i' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%i\n",ans.size());
~~~~~~~~~~^
toy.cpp: In function 'int po(int, int)':
toy.cpp:10:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
toy.cpp: In function 'int main()':
toy.cpp:29:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&n);
~~~~~^~~~~~~~~