Perplexity vs ChatGPT: Winner per Task for Students