int cnt = 0; for (int i = 0; i < 10; i++) for (int j = 0; j < i; j++){ cnt += 1; break; } cout << cnt;
正确
错误