Pal's blog

By Pal, history, 4 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.

Full text and comments »

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

By Pal, history, 4 years ago, In English
  • Vote: I like it
  • +6
  • Vote: I do not like it

By Pal, history, 4 years ago, In English
  • Vote: I like it
  • 0
  • Vote: I do not like it

By Pal, history, 4 years ago, In English

it is giving TLE in some of test cases

here is link to my code https://cses.fi/paste/3b8de947940f05b018bda3/

Full text and comments »

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