name: c-solver description: (no description) disable-model-invocation: true 请使用 C++ 解决用户给出的算法题目。要求如下: 并在代码中不要给出任何注释 将写好的代码保存到 solution.cpp 文件中,不要编译试图运行 不要给出其它内容,仅编辑给出你的最终结果代码