/in/foo.cc: In function 'void OUTPUT()':
/in/foo.cc:13:22: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long unsigned int> >::value_type {aka long unsigned int}' [-Wformat=]
printf("%u ",ways[i]);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:27:15: warning: format '%u' expects argument of type 'unsigned int*', but argument 2 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
scanf("%u",&n);
^
/in/foo.cc:28:15: warning: format '%u' expects argument of type 'unsigned int*', but argument 2 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
scanf("%u",&m);
^
/in/foo.cc:30:22: warning: format '%u' expects argument of type 'unsigned int*', but argument 2 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
scanf("%u %u",&u,&v);
^
/in/foo.cc:30:22: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
/in/foo.cc:41:17: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=]
printf("%u",ans);
^