Wrong Answer
Code
#include<bits/stdc++.h>
using namespace std;
int main(){
long long T;
cin >> T;
for(int i=0;i<T;i++){
long long n,m,x,y,p,q,pos,pos1;
cin >> n >> m >> x >> y >> p >> q;
pos = x+1;
pos1 = y+1;
if(pos==p && pos1==q && n>=x && m>=y){
cout << "YES\n";
}else{
cout << "NO\n";
}
}
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1117 String Sorted
- Contest
- LU IUJPC : Sylhet Division 2024, Mock Round
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2024-12-07 11:43:50
- Judged At
- 2024-12-07 11:43:50
- Judged By
- Score
- 0
- Total Time
- 2ms
- Peak Memory
- 772.0 KiB