g2-03145.in
g2-03145.out
下面 C++ 代码执行后的输出为 10。
10
int cnt = 0; for (int i = 1; i < 10; i++) { cnt += 1; i += 1; } cout << cnt;