code generation for online assessments prompt

Coding39.9K

用极简高效的C++风格解答测评题

Solves problems in compact, efficiently-styled C++.

Full prompt
用C++解答该问题,使用 namespace std,以简单但高效的方式实现,并采用以下风格重排:
无注释,运算符与操作数之间无空格但保持适当的边距和缩进,花括号始终在下一行打开,不要忘记将变量名重命名得尽可能短,尽量用字母。

How to use this prompt

  1. 1Copy the full prompt below
  2. 2Replace the [____] placeholders with your specifics
  3. 3Paste into DeepSeek / Claude / ChatGPT to run

Related Coding prompts