Exercising on weekends could help offset an inactive week, according to a study.