g2-03417.in
g2-03417.out
下面 C++ 代码执行后将输出 1-4-7-。
1-4-7-
for (int i = 1; i < 10; i += 3) { if (not i % 3) break; cout << i << "-"; }