lightningrod.cpp: In function 'int main()':
lightningrod.cpp:12:11: warning: unused variable 'j' [-Wunused-variable]
12 | int i,j,n,m,ru = -1,cx,cy;
| ^
lightningrod.cpp:12:15: warning: unused variable 'm' [-Wunused-variable]
12 | int i,j,n,m,ru = -1,cx,cy;
| ^
lightningrod.cpp:13:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
lightningrod.cpp:16:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf("%d %d",&cx,&cy);
| ~~~~~^~~~~~~~~~~~~~~~~