Skip to content

Instantly share code, notes, and snippets.

@peter279k
Created December 22, 2015 01:57
Show Gist options
  • Save peter279k/80877207c515c4483c7a to your computer and use it in GitHub Desktop.
Save peter279k/80877207c515c4483c7a to your computer and use it in GitHub Desktop.
import java.util.*;
public class main{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
while(input.hasNext()) {
long m = input.nextLong();
long n = input.nextLong();
System.out.println(Math.abs(m - n));
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment