You must accept the Terms of Service and Privacy Policy to create a DOJ account. The accepted versions are recorded when the account is created.
For regular problems, you may ask AI about a solution, but submitted code must be your own. In contests and DLC, AI is prohibited except for AI-enabled problems and literal translation.