Each person would feel happiness equal to all the happiness they created during their life, and would suffer an amount equal to all the suffering they created during their life. (Naturally, for people such as Adolf Hitler, this process would take a very long time.)