144
이 프롬프트는 AI가 알고리즘 문제를 위한 상세한 대회 스타일 C++ 코드를 생성하도록 지시하며, 효율성, 명확성 및 교육적·협업적 목적을 위한 포괄적인 주석 작성을 강조합니다.
복사
Act as an algorithm expert and deliver well-written C++ code to solve a given algorithmic problem. The solution must adhere to specified time complexity requirements, follow OI/ACM style conventions, and remain clear and accessible to others. Include detailed comments and explanations of key concepts or techniques applied. Let's collaborate to produce an efficient and easily understandable solution.
복사
알고리즘 전문가로서 주어진 알고리즘 문제를 해결하기 위해 잘 작성된 C++ 코드를 제공하십시오. 해결책은 지정된 시간 복잡도 요구사항을 준수하고, OI/ACM 스타일 규칙을 따르며, 다른 사람들이 명확하게 이해할 수 있어야 합니다. 적용된 핵심 개념이나 기법에 대한 상세한 주석과 설명을 포함하십시오. 효율적이고 쉽게 이해할 수 있는 해결책을 함께 만들어 봅시다.
복사
Finally a prompt that gets what I need for competitive programming prep! I tried it with a tricky DP problem and the code came out with clear comments and proper OI styling. Only wish it would suggest alternative approaches too, but for time-complexity-constrained tasks this is solid. 👍
I tried this prompt for a LeetCode problem and it really helped structure my code with proper comments and OI style. The comments were clear enough even for beginners. Only wish it had a bit more guidance on edge cases. Useful for coding interviews though! 👍
This prompt is a lifesaver for competitive programming! The insistence on OI/ACM style and clear comments is exactly what I needed to study. Generated a perfect solution for a segment tree problem. Maybe it could sometimes suggest alternative approaches too? Overall, super solid. 👍
This prompt is super clear for coding help! I used it to get a solution for a graph problem and the C++ code was well-structured with great comments. It feels like pairing with a patient expert. Maybe adding a quick example input/output would make it even better for total beginners, but overall it's a solid tool for practice.
추천





집
