There is no change in meaning. In the first sentence, 'the' has been omitted because its noun phrase is in parallel with the previous noun phrase - so they both use the same 'the'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.