Compiler output
prog.cpp: In function 'int main()':
prog.cpp:8:13: warning: unused variable 'cnt' [-Wunused-variable]
int64_t cnt , n , x , i , sol , maxim , minim ;
^
prog.cpp:8:31: warning: unused variable 'sol' [-Wunused-variable]
int64_t cnt , n , x , i , sol , maxim , minim ;
^
prog.cpp:24:59: warning: 'minim' may be used uninitialized in this function [-Wmaybe-uninitialized]
if ( minim < maxim ) x += ( 1 << maxim ) - ( 1 << minim ) ;
^
prog.cpp:24:42: warning: 'maxim' may be used uninitialized in this function [-Wmaybe-uninitialized]
if ( minim < maxim ) x += ( 1 << maxim ) - ( 1 << minim ) ;
^