#824. 双循环
双循环
以下程序段的输出结果是({{ input(1) }} )
int k,j,s;
for (k=2;k<6;k++,k++)
{
s=1;
for (j=k; j<6; j++) s+=j;
}
printf(“%d\n”,s);
以下程序段的输出结果是({{ input(1) }} )
int k,j,s;
for (k=2;k<6;k++,k++)
{
s=1;
for (j=k; j<6; j++) s+=j;
}
printf(“%d\n”,s);
By signing up a 羽润编程 universal account, you can submit code and join discussions in all online judging services provided by us.