The Poisoned Glass

You are given 4 identical glasses, completely filled with transparent, odorless liquids. Three of the liquids are pure water, and the fourth is poison, which is slightly heavier. If the water glasses weigh 250 grams each, and the poisoned glass weighs 260 grams, how can you figure out which one is which, using a measuring scale just once?

Empty the first glass, fill around 1/4th of it with liquid from the second glass, and the rest 3/4ths with liquid from the third glass. Then, measure the first and fourth glasses simultaneously. If their total weight is:

– 500 grams -> the first glass is (was) the poisoned one
– between 500 and 505 grams -> the second glass is the poisoned one
– between 505 and 510 grams -> the third glass is the poisoned one
– 510 grams -> the fourth glass is the poisoned one

Source:

Puzzling StackExchange