Check Congruent
Computer Mathematics
Easy
3 views
Problem Description
Print YES if a and b are congruent mod m.
Input Format
Three integers a b m.
Official Solution
Normalize both and compare (a mod m) == (b mod m).
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!