6th line cpp solution


#1

Comment body goes here.
if(A==“1”)
return 0;
long double l=stold(A);
if(floor(log2(l))==ceil(log2(l)))
return 1;
else
return 0;