This depends on your goals, but 20 minutes of work on the rowing machine would burn plenty of calories, though this also depends on the resistance you set on it and the speed at which you row. As with any exercise, trial and error is the best way of figuring out what's best for you.