/in/foo.cc: In function 'int main()':
/in/foo.cc:8:19: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
8 | scanf("%lld",&t);
| ~~~^ ~~
| | |
| | int*
| long long int*
| %d
/in/foo.cc:14:27: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
14 | scanf("%lld%lld",&l,&r);
| ~~~^ ~~
| | |
| | int*
| long long int*
| %d
/in/foo.cc:14:31: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
14 | scanf("%lld%lld",&l,&r);
| ~~~^ ~~
| | |
| | int*
| long long int*
| %d
/in/foo.cc:15:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wformat=]
15 | printf("%lld\n",ans[r]^ans[l-1]);
| ~~~^
| |
| long long int
| %d