Relation Reflexive Check
Computer Mathematics
Medium
2 views
Problem Description
Given n and a list of pairs (a,b), check if relation is reflexive.
Input Format
n m then m pairs.
Official Solution
Check whether all (i,i) pairs exist for i=1..n. Use a set of pairs.
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!