532 — AceptaelReto

Solución — 532


#include <bits/stdc++.h>
using namespace std;

int main(){
    int n; scanf("%d",&n);
    while(n--){
        int a,b; scanf("%d %d",&a,&b);
        printf("%d\n",abs(a-b));
    }
    return 0;
}