↓ 3 callersFunctioncalcif high, calculate size of intersection of u%m,(u+d)%m,...,(u+n*d)%m with [-L+1, 0]. else, calculate size of intersection with [0, L-1].
SPOJ/Random/HASH/brute.cc:12
↓ 3 callersFunctioncalcif high, calculate size of intersection of u%m,(u+d)%m,...,(u+n*d)%m with [-L+1, 0]. else, calculate size of intersection with [0, L-1].
SPOJ/Random/HASH/resource/solution.cc:12