#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; }

#include iostreamusing namespace std;int main int N M K; cin N M K; int totalTime = N + M-1 K; cout totalTime endl; return 0;造出这个代码20组输入输出数据

原文地址: https://www.cveoy.top/t/topic/iaAO 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录