Not to be _too_ rude here, but clearly you missed the mark on at least one of those things. If you're burning more energy than you're consuming, it's impossible to not lose weight. Maybe you underestimated how many calories you were consuming, overestimated how many calories you were burning, didn't do it often enough, didn't do it for a long enough period of time, had a few too many "cheat days", or some combination thereof.