aranjuda's blog

By aranjuda, history, 9 years ago, In English

Hi, http://codeforces.com/contest/222/submission/12429658 My submission is failing test 15, and I cannot figure out why. I find the primes, then go through the numbers in the numerator and denominator. For each, I decrement it if possible and then print out whatever the numerator/denominator is after reduction.

  • Vote: I like it
  • 0
  • Vote: I do not like it