while(scanf()!=EOF)注意!

如果题目中没有明确说数据只有单组,记得用这个

while(scanf("%d",&a)!=EOF)

{

}

猜你喜欢

转载自www.cnblogs.com/h694879357/p/13398114.html
今日推荐