Jatzz and his fraction
CodeChefOpen on judge ↗
Problem Description : Jatzz is a big fan of mathematics, especially its part related to fractions. Recently, he learned that a fraction is called irreducible if its numerator and its denominator do not have a positive common divisors except 1. The problem states that: You are given two numbers a & b.You have to reduce a and b into a irreducible format. As Jatzz is busy in buying iphone 8(which h
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start