fangorn.cpp: In function 'int wh(pll)':
fangorn.cpp:22:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (a.x>0||a.x==0&&a.y>0) return 0;
^
fangorn.cpp: In function 'void solve(int)':
fangorn.cpp:55:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<tec.size()||j<=c) {
^
fangorn.cpp:56:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i==tec.size()) lab[vrd[j++]][idx] = i%(n-1);
^
fangorn.cpp: In function 'int main()':
fangorn.cpp:69:57: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for (i=0;i<c;i++) scanf("%d%d",&camp[i].x,&camp[i].y);
^
fangorn.cpp:69:57: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fangorn.cpp:72:57: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for (i=0;i<n;i++) scanf("%d%d",&tree[i].x,&tree[i].y);
^
fangorn.cpp:72:57: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fangorn.cpp:86:29: 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",res.size());
^
fangorn.cpp:87:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<res.size();i++) printf("%d ",res[i]);
^
fangorn.cpp:66:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&w,&h);
^
fangorn.cpp:67:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld\n",&st.x,&st.y);
^
fangorn.cpp:68:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c);
^
fangorn.cpp:69:58: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (i=0;i<c;i++) scanf("%d%d",&camp[i].x,&camp[i].y);
^
fangorn.cpp:71:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
fangorn.cpp:72:58: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (i=0;i<n;i++) scanf("%d%d",&tree[i].x,&tree[i].y);
^