下面C++代码执行后的输出为 10 。
int cnt=0;
for (int i=1; i < 10; i++){
for (int j=1; j < i; j+=2){
cnt +=1;
i +=1;
}
cout << cnt;