When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

Pal's blog

By Pal, history, 3 years ago, In English

here is link to the problem -> https://cses.fi/problemset/task/2182 here is link to my code -> https://cses.fi/paste/e0e917d7faed57ac1ae15c/ in this question three things are asked i am able to find out no of divisors and its sum correctly but not able to find out product of divisors can someone tell me where i am wrong and what is the correct way to find it out.

  • Vote: I like it
  • +5
  • Vote: I do not like it

»
3 years ago, # |
  Vote: I like it +8 Vote: I do not like it