Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- long long int a,b;
- while ((scanf("%lld%lld",&a,&b) != EOF)) {
- if (a > b) {
- printf("%lld\n",a-b);
- }
- else {
- printf("%lld\n",b-a);
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment