g1-03046.in
g1-03046.out
下面的 C++ 代码执行后将输出 24。
int total; for (int n = 1; n <= 4; n++) { total *= n; } cout << total;