Gravatar
NVIDIA
积分:1171
提交:301 / 546
回复 @BillAlen :

Gravatar
BillAlen
积分:78
提交:16 / 28
回复 @NVIDIA :
cin.eof()

Gravatar
NVIDIA
积分:1171
提交:301 / 546
膜拜
scanf("%d", &n) != EOF;
话说cin怎么用(cin >> n)&&n!=EOF(?????????)