酷代码 AI
菜单
服务商

使用C++17计算烛龙战队飞船起飞加速路程

```cpp #include <iostream> int main() { double firstDistance; std::cin >> firstDistance; double totalDistance = 0; double currentDistance = firstDistance; for (int i = 0; i < 80; ++i) { totalDistance += currentDistance; currentDistance *= 1.1; } std::cout.precision(0); std::cout << std::fixed << totalDistance << std::endl; return 0; } ``` ######[AI问答 | 144点数解答 | 2026-02-14 19:09:23]

相关提问
发财导航,免费问AI
实用工具查看更多
Linux在线手册 [开发类]
Jquery在线手册 [开发类]
今日油价 [生活类]
图片互转base64 [开发类]
时间转换器 [开发类]