A Showdown of ChatGPT vs DeepSeek in Solving Programming Tasks