my algorithm template for NOI and ACM years.