sculpture.cpp: In function 'll f(int, int)':
sculpture.cpp:9:24: warning: integer overflow in expression [-Woverflow]
ll ret = 1987654321*1987654321;
~~~~~~~~~~^~~~~~~~~~~
sculpture.cpp: In function 'int main()':
sculpture.cpp:21:24: warning: integer overflow in expression [-Woverflow]
ll ans = 1987654321*1987654321;
~~~~~~~~~~^~~~~~~~~~~
sculpture.cpp:16:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&N,&A,&B);
~~~~~^~~~~~~~~~~~~~~~~~~~~
sculpture.cpp:18:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=0;i<N;i++) scanf("%lld",&arr[i]);
~~~~~^~~~~~~~~~~~~~~~