strange_device.cpp: In function 'int main()':
strange_device.cpp:39:52: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
int n; ll a, b; scanf("%d %I64d %I64d", &n, &a, &b);
~~ ^
strange_device.cpp:39:52: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll* {aka long long int*}' [-Wformat=]
strange_device.cpp:45:39: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
ll l, r; scanf("%I64d %I64d", &l, &r);
~~ ^
strange_device.cpp:45:39: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
strange_device.cpp:14:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
#define prl(n) printf("%I64d\n", (n))
^
strange_device.cpp:72:2: note: in expansion of macro 'prl'
prl(ans);
^~~
strange_device.cpp:39:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int n; ll a, b; scanf("%d %I64d %I64d", &n, &a, &b);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
strange_device.cpp:45:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
ll l, r; scanf("%I64d %I64d", &l, &r);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~