lyuboyn.cpp:18:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
18 | main(){
| ^
lyuboyn.cpp: In function 'int main()':
lyuboyn.cpp:37:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (i=0;i<v.size();++i){
| ~^~~~~~~~~
lyuboyn.cpp:41:34: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
41 | int x = (1<<i),xr = (1<<k-1)-1;
| ~^~
lyuboyn.cpp:43:19: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
43 | v.pb(x+v[j]^xr);
lyuboyn.cpp:77:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | for (i=0;i<v.size();++i){
| ~^~~~~~~~~
lyuboyn.cpp:11:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | #define scan3(a,b,c) scanf("%lld %lld %lld",&a,&b,&c);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
lyuboyn.cpp:20:5: note: in expansion of macro 'scan3'
20 | scan3(n,k,t)
| ^~~~~