fangorn.cpp: In function 'int main()':
fangorn.cpp:31:24: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=]
scanf("%*lld %*lld");
^
fangorn.cpp:31:24: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=]
fangorn.cpp:56:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", ans.size());
~~~~~~~~~~^
fangorn.cpp:57:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<ans.size(); i++)printf("%d ", ans[i]);
~^~~~~~~~~~~
fangorn.cpp: In function 'point get_complex()':
fangorn.cpp:19:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld", &a, &b);
~~~~~^~~~~~~~~~~~~~~~~~~~~
fangorn.cpp: In function 'int main()':
fangorn.cpp:31:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%*lld %*lld");
~~~~~^~~~~~~~~~~~~~~
fangorn.cpp:33:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c);
~~~~~^~~~~~~~~~
fangorn.cpp:35:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~