Count binay strings code

Sir i am ubable to understand why am i getting wrong answer for this.
pls help
ide : https://ide.codingblocks.com/s/192386

@aman_ishan
hello Aman,
change dataype of array to long long