Help with problem 222C

Правка en1, от aranjuda, 2015-08-10 05:17:56

Hi, http://codeforces.net/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.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский aranjuda 2015-08-10 05:17:56 337 Initial revision (published)