2 ms·Intuitively, to be possible I think the target amount has to be divisible by the gcf of the two jugs.by bbcbasic 10y agoIntuitively, to be possible I think the target amount has to be divisible by the gcf of the two jugs.