Skip to content

different

bradendubois edited this page Nov 24, 2021 · 13 revisions

A Different Problem

ID: different

Difficulty: 2.6

CPU Time: 1 second

Memory: 1024 MB

Solution

Just the absolute difference between the two numbers. One may have to use a long over a normal int because of the size of the numbers, possibly.

Clone this wiki locally