| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
很奇怪的问题:这样输入则WA:
scanf("%I64d",&c);
while(scanf("%I64d%I64d%I64d",&n,&k,&m)!=EOF)
{//...
}
而这样输入则AC:
scanf("%I64d",&c);
while(c--)
{
scanf("%I64d%I64d%I64d",&n,&k,&m);
//...
}
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator