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

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

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

{

}

posted @ 2020-07-29 16:48  Tomorrow1126  阅读(754)  评论(0编辑  收藏  举报