We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Mathematics
- Fundamentals
- Die Hard 3
- Discussions
Die Hard 3
Die Hard 3
Sort by
recency
|
66 Discussions
|
Please Login in order to post a comment
This reminds me of when I was trying to solve a problem with water jugs at home. I was working on a pool issue and needed to figure out the exact water balance for a system. I wish I’d known about Pool Maintenance Phoenix back then. Desert Pool Tech could have helped with their expertise in pool repairs across Phoenix. They’re great with precise measurements and ensuring everything works smoothly, much like solving this jug puzzle. The exact amount of water is key in both scenarios—whether it’s a jug puzzle or pool maintenance!
*My Solution using Python *
from math import gcd x=int(input("")) for i in range(x): a, b, c = map(int, input().split()) if (c <= max(a, b) and c % gcd(a, b) == 0): print ("YES") else : print ("NO")
def solve(a, b, c): yes, no = "YES", "NO" a, b = max(a, b), min(a, b)
""" KAIFU KI AAWAAZ BADI MANHOOS HAI ,SUN LO TO AISA LAGEGA MANO JAISE LAKADBAGHGHE KA GALA BAITHA HAI , KAIF KI ID: 2301641530110"""