I found that the best strategy is to kill everyone in line at first and give rations to whoever is left. It's better than 0 and 1