下面 C++ 代码段执行后,其输出是。
int i, j, cnt; cnt = 0; for (i = 0; i < 5; i++) { i = -i; for (j = i; j < -i; j++) cnt += 1; i = -i; } cout << cnt;
5
15
20
30