#include <bits/stdc++.h>
using namespace std;
int main()
{
int y;
freopen("Input.txt","r",stdin);
freopen("Output.txt","w",stdout);
scanf("%i",&y);
int h=floor(log2(y));
int x=1;
if(y==0)
x=0;
Read more… (31 words)
#include <bits/stdc++.h>
using namespace std;
int main()
{
int y;
freopen("Input.txt","r",stdin);
freopen("Output.txt","w",stdout);
scanf("%i",&y);
int h=floor(log2(y));
int x=1;
if(y==0)
x=0;