Problem Description

Task: return absolute difference between two ints as a long (avoid overflow).

Input Format

Java method

Output Format

Return value

Constraints

Cast to long first.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next