依旧这样套公式
2026-01-28 20:49:19
发布于:浙江
4阅读
0回复
0点赞
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
//正确公式(覆盖所有场景)
cout << n + n / 2 << endl;
return 0;
}
全部评论 1
这是最短的吧
5天前 来自 浙江
0那包的

4天前 来自 浙江
0
2026-01-28 20:49:19
发布于:浙江
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
//正确公式(覆盖所有场景)
cout << n + n / 2 << endl;
return 0;
}
提交答案之后,这里将显示提交结果~
有帮助,赞一个