Problem 1003 输入怎么结束

QHULWH | 2017-08-05 15:33:40Author
while(scanf_s("%d %d",&n,&m)!=EOF) 用的这个对吗?