pigus_skrydziai.cpp: In function 'int main()':
pigus_skrydziai.cpp:27:16: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int64_t' {aka 'long int'} [-Wformat=]
27 | printf("%lld\n",ans);
| ~~~^ ~~~
| | |
| | int64_t {aka long int}
| long long int
| %ld
pigus_skrydziai.cpp:7:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
7 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
pigus_skrydziai.cpp:11:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | scanf("%d%d%d",&u,&v,&w);
| ~~~~~^~~~~~~~~~~~~~~~~~~