注意:此页面搜索的是所有试题
题目内容
(国家开放大学数据结构复习题)
int fun (int n)
{
int I=1, s=1;
while (s<n)
s+=++I;
return I;
}
{
int I=1, s=1;
while (s<n)
s+=++I;
return I;
}
参考答案