2016_ho_t3.cpp: In function 'int main()':
2016_ho_t3.cpp:19:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
19 | scanf("%d %d %d",& n,& m,& t);
| ~^ ~~~
| | |
| int* ll* {aka long long int*}
| %lld
2016_ho_t3.cpp:19:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll*' {aka 'long long int*'} [-Wformat=]
19 | scanf("%d %d %d",& n,& m,& t);
| ~^ ~~~
| | |
| int* ll* {aka long long int*}
| %lld
2016_ho_t3.cpp:19:23: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll*' {aka 'long long int*'} [-Wformat=]
19 | scanf("%d %d %d",& n,& m,& t);
| ~^ ~~~
| | |
| int* ll* {aka long long int*}
| %lld
2016_ho_t3.cpp:26:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
26 | scanf("%d %d",& x[i],& y[i]);
| ~^ ~~~~~~
| | |
| int* ll* {aka long long int*}
| %lld
2016_ho_t3.cpp:26:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll*' {aka 'long long int*'} [-Wformat=]
26 | scanf("%d %d",& x[i],& y[i]);
| ~^ ~~~~~~
| | |
| int* ll* {aka long long int*}
| %lld
2016_ho_t3.cpp:65:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
65 | scanf("%d",& r);
| ~^ ~~~
| | |
| | ll* {aka long long int*}
| int*
| %lld
2016_ho_t3.cpp:100:26: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} [-Wformat=]
100 | printf("%d\n", Ans[i]);
| ~^
| |
| int
| %lld
2016_ho_t3.cpp:19:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | scanf("%d %d %d",& n,& m,& t);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
2016_ho_t3.cpp:26:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | scanf("%d %d",& x[i],& y[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
2016_ho_t3.cpp:65:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
65 | scanf("%d",& r);
| ~~~~~^~~~~~~~~~