My issue
where my testcase are fail please help me to find out.
My code
import java.util.*;
import java.lang.*;
import java.io.*;
class Codechef
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
for(int i=0;i<t;i++){
long n=sc.nextLong();
long x=n%26;
long a=0,b=0,c=0;
long r=n/26;
if(x<=2 && x!=0){
a=(long)Math.pow(2,r);
System.out.println(a+" 0 0");
}
else if(x>=3 && x<=10){
b=(long)Math.pow(2,r);
System.out.println("0 "+b+" 0");
}
else if(x>=11 && x<26){
c=(long)Math.pow(2,r);
System.out.println("0 "+"0 "+c);
}
}
}
}
Problem Link: Byte to Bit Practice Coding Problem