/in/foo.cc: In function 'int main()':
/in/foo.cc:24:74: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
for(int i = 1; i <= m; i++) scanf("%d%d%d", &r[i].a, &r[i].b, &r[i].c);
^
/in/foo.cc:24:74: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
/in/foo.cc:24:74: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll* {aka long long int*}' [-Wformat=]