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 |
注意读入数据存储顺序与初始化问题如果将读入的数据存入a[1], a[2],...,a[n];余数位置数组就赋初值为0即可 如果将读入的数据存入a[0], a[1],...,a[n-1];余数位置数组初值必须为-1,否则f[1]=0即可表示余数为1的出现在位置0,也可表示余数为一的没出现过,出现了双重含义 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator