for(int j=0;j<k;j++){
System.out.print(a%n+" ");
a=a/n;
}
i don't get the logic of the above block and how it can easily solve the nuke problem...!
for(int j=0;j<k;j++){
System.out.print(a%n+" ");
a=a/n;
}
i don't get the logic of the above block and how it can easily solve the nuke problem...!