Console.WriteLine("Hello World");
string S = "11111111111111111111111111111111111111";
Console.WriteLine("Input:" + S);
int result = solution(S);
Console.WriteLine("Result:" + result);
public int solution(string S)
long V = Convert.ToInt64(S,2);
}e.WriteLine("Hello World");
string S = "11111111111111111111111111111111111111";
Console.WriteLine("Input:" + S);
int result = solution(S);
Console.WriteLine("Result:" + result);
public int solution(string S)
long V = Convert.ToInt64(S,2);