Problem Description

Compare two files by sha256 and print SAME or DIFF.

Input Format

stdin: pathA pathB.

Output Format

Print one word.

Sample Test Case

Input:
a.txt b.txt
Output:
SAME

Constraints

Use crypto.createHash.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next