Can someone explain why I am getting TLE in the following solution? https://codeforces.com/contest/236/submission/86035444
I have pre-calculated the number of factors of all the numbers up to 1000000, and then looped through each a,b,c and added the number of factors of each i*j*k to the answer. I tried multiple test-cases and they all are giving me the correct answer almost immediately. What is the problem here?