ogledala.cpp: In function 'int main()':
ogledala.cpp:67:34: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%I64d%d%d", &L, &n, &m);
^
ogledala.cpp:71:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%I64d", &x);
^
ogledala.cpp:88:31: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d", &b[i].F);
^
ogledala.cpp:99:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%I64d\n", ans[i]);
^
ogledala.cpp:95:9: warning: unused variable 'ptr' [-Wunused-variable]
int ptr = 1;
^
ogledala.cpp:96:8: warning: unused variable 'sum' [-Wunused-variable]
ll sum = 0;
^
ogledala.cpp:67:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%d%d", &L, &n, &m);
^
ogledala.cpp:71:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d", &x);
^
ogledala.cpp:88:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d", &b[i].F);
^