/C03041 HÌNH VUÔNG

<Problem>

https://code.ptit.edu.vn/student/question/C03041
              #define _CRT_SECURE_NO_WARNINGS
        #include <stdio.h>
        #include <math.h>
        
        int main() {
          int t;
          scanf("%d", &t);
        
          for (int i = 1; i <= t; i++) {
            int x1, y1, x2, y2;
            scanf("%d %d %d %d", &x1, &y1, &x2, &y2);
        
            if (abs(x2 - x1) == abs(y2 - y1)) {
              printf("YES\n");
            }
            else {
              printf("NO\n");
            }
          }
          return 0;
        }