/in/foo.cc: In function 'void gen()':
/in/foo.cc:29:40: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
29 | for(int i = 1; i <= p; i++)scanf("%d%d", &a[i], &b[i]);
| ~^ ~~~~~
| | |
| int* ll* {aka long long int*}
| %lld
/in/foo.cc:29:42: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll*' {aka 'long long int*'} [-Wformat=]
29 | for(int i = 1; i <= p; i++)scanf("%d%d", &a[i], &b[i]);
| ~^ ~~~~~
| | |
| int* ll* {aka long long int*}
| %lld