Thank you for the comment, maxmixiv. That 100-ая and 100-й distinction makes sense now that I looked into it more carefully.
But I wonder if it wouldn't be more appropriate to writte "Да здравствует 100-ая годовщины Октябрьской революции"...