Problem 1001 输入怎么结束

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