De Morgan Apply

Computer Mathematics Easy 2 views
Back to Questions

Problem Description

Given X and Y (0/1), compute NOT(X AND Y) and (NOT X) OR (NOT Y) and verify equality.

Input Format

Two bits X Y.

Output Format

Two bits.

Sample Test Case

Input:
1 0
Output:
1 1

Constraints

X,Y in {0,1}

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next