A trivial solution (in philosophy) vis-à-vis negative utilitarianism which advocates the reduction of suffering is kill everybody. (with no one alive, no one will suffer).
Another trivial solution, again to do with hedonistic morality, is maximizing happiness (the greatest happiness principle) can be "achieved" by putting everyone on a morphine drip round the clock.