Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- int main()
- {
- int t;
- cin>>t;
- while(t--)
- {
- int n,x,y;
- cin>>n>>x>>y;
- if(n>x)
- cout<<"NO\n";
- else
- {
- x+=(y/3);
- if(n*2<=x) cout<<"yes\n";
- else cout<<"no\n";
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment