delete unecessary variable
ac online 1st, change maxn from 100 to 1000, because input will be 2^7