jobs.cpp: In function 'int main()':
jobs.cpp:25:31: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld%lld%lld",&n,&d,&m);
~~ ^
jobs.cpp:25:31: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
jobs.cpp:25:31: warning: format '%lld' expects argument of type 'long long int*', but argument 4 has type 'int*' [-Wformat=]
jobs.cpp:26:43: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
for(int i=0;i<m;i++) scanf("%lld",&a[i].X), a[i].Y = i+1;
^
jobs.cpp:25:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&n,&d,&m);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
jobs.cpp:26:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=0;i<m;i++) scanf("%lld",&a[i].X), a[i].Y = i+1;
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~