C++ 程序:计算总时间 - 输入 N、M、K,输出总时间 日期: 2027-07-02 18:24:33 标签: 常规 #include using namespace std; int main() { for (int i = 0; i < 20; i++) { int N, M, K; cin >> N >> M >> K; int totalTime = N + (M-1) * K; cout << totalTime << endl; } return 0; } 原文地址: https://www.cveoy.top/t/topic/pTmQ 著作权归作者所有。请勿转载和采集! 免费AI点我,无需注册和登录