Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int T,A,B,sum;
- scanf("%d", &T);
- while(T>0){
- T--;
- scanf("%d %d", &A, &B);
- sum=A-B;
- if(sum>-1){
- printf("YES");
- }
- else{
- printf("NO");
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement