sculpture.cpp: In function 'll f(int, int, int)':
sculpture.cpp:11:18: warning: zero-length gnu_printf format string [-Wformat-zero-length]
printf("");
^
sculpture.cpp:15:48: warning: integer overflow in expression [-Woverflow]
if(arr[i] & 1LL<<bit) return 1987654321*1987654321;
~~~~~~~~~~^~~~~~~~~~~
sculpture.cpp:18:22: warning: integer overflow in expression [-Woverflow]
ll ret=1987654321*1987654321;
~~~~~~~~~~^~~~~~~~~~~
sculpture.cpp:28:22: warning: zero-length gnu_printf format string [-Wformat-zero-length]
if(x<0) printf("");
^
sculpture.cpp:29:36: warning: zero-length gnu_printf format string [-Wformat-zero-length]
else if(x & 1LL<<bit) printf("");
^
sculpture.cpp:30:36: warning: zero-length gnu_printf format string [-Wformat-zero-length]
else if(x > 1LL<<bit) printf("");
^
sculpture.cpp: In function 'int main()':
sculpture.cpp:38:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%d %d %d",&N,&A,&B);
~~ ^
sculpture.cpp:38:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
sculpture.cpp:38:30: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll* {aka long long int*}' [-Wformat=]
sculpture.cpp:43:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type* {aka long long int*}' [-Wformat=]
scanf("%d",&arr[i]);
^
sculpture.cpp:38: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:43:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&arr[i]);
~~~~~^~~~~~~~~~~~~~