Wrong Answer
Code
#include <bits/stdc++.h>
using namespace std;
int main() {
int t; cin >> t;
while (t--)
{
int m, n; cin >> m >> n;
int x, y; cin >> x >> y;
int p, q; cin >> p >> q;
int xdif = abs(x - p);
int ydif = abs(y - q);
(xdif == ydif) ? cout << "Yes" : cout << "No";
cout << endl;
}
}
Information
- Submit By
- Type
- Submission
- Problem
- P1115 Destination
- Contest
- LU IUJPC : Sylhet Division 2024, Mock Round
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2024-12-07 10:28:51
- Judged At
- 2024-12-07 10:28:51
- Judged By
- Score
- 10
- Total Time
- 408ms
- Peak Memory
- 892.0 KiB