Fix a bug in add-or-mul of acm icpc