| ||||||||||
| 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 | |||||||||
BT的地方,大家注意了 if(cant > total || pos-1>total - cant)
{
printf("It cannot be solved.\n");
continue;
}
只有pos-1>total - cant是不够的,这是贡献了4个WA的结论
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator