toy.cpp: In function 'int main()':
toy.cpp:31:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<V.size(); i++)
~^~~~~~~~~
toy.cpp:42:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<long long int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", dp.back().size());
~~~~~~~~~~~~~~~~^
toy.cpp:43:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
for(auto it : dp.back()) printf("%d ", it);
^
toy.cpp:18:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &N);
~~~~~^~~~~~~~~~~~