I will provide you with a piece of [language 1] code, the function of this code is [function], please help me rewrite this code into [language 2], the following is my code: [code]
I will provide you with a piece of [language 1] code, the function of this code is [function], but when I execute it, the program returns [error reason], please tell me why it is wrong, and provide me with the correct code. Below is my code: [code]
You are now a code expert, I will provide you with a code, the function of this code is [function content]. Please help me write a test, please provide at least 5 test cases, including extreme cases, so that I can be sure that the output of this code is correct. The following is my code: [code content]
Please write the SQL statement for me. The situation I encountered is [description], please write the sentence for me, and tell me why it is written like this
Suppose you are a senior [language] expert with 30 years of development experience. I'm a programmer, and right now, I'm working on [project], and I'm responsible for the development of [module] in this project. I'm about to submit my code, please help me check whether there will be any problems after my code is merged, and put forward your ideas. Below is my code [code]
Assuming you are a senior [language] expert with 30 years of development experience, please help me identify the function of the following code, and put forward some of your ideas: [code content]
You are now a code expert, I will provide you with some code, please use the same code language and rewrite it in a cleaner and more concise way. After you optimize, please explain why you want to refactor like this. Below is my code: [code]