lightningrod.cpp: In function 'int main()':
lightningrod.cpp:13:11: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
13 | scanf("%d %d",&x[i], &y[i]);
| ~^ ~~~~~
| | |
| int* ll* {aka long long int*}
| %lld
lightningrod.cpp:13:14: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll*' {aka 'long long int*'} [-Wformat=]
13 | scanf("%d %d",&x[i], &y[i]);
| ~^ ~~~~~
| | |
| int* ll* {aka long long int*}
| %lld
lightningrod.cpp:6:6: warning: unused variable 't' [-Wunused-variable]
6 | int t, n, m, ans, i, z;
| ^
lightningrod.cpp:6:12: warning: unused variable 'm' [-Wunused-variable]
6 | int t, n, m, ans, i, z;
| ^
lightningrod.cpp:6:23: warning: unused variable 'z' [-Wunused-variable]
6 | int t, n, m, ans, i, z;
| ^
lightningrod.cpp:13:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d %d",&x[i], &y[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~