1.while((scanf"%d,%d",&m,&n)==2)
{
//...
}
2.while((scanf"%d,%d",&m,&n)!=EOF)
3.while(cin>>m>>n)
Powered by: C++博客 Copyright © Kevin_Zhang