580
Trolley problem
(sh.itjust.works)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
I assumed that the bomb would only kill 4.5 million people but all 8 billion are acceptable too, unless the teams a and b happen to be in the blast radius which seems unlikely. To me the area was only referencing the location of the bomb not the train.