Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdio>
- #include <algorithm>
- using namespace std;
- /************************/
- int main(){
- int T;
- scanf("%d", &T);
- while(T--){
- long long unsigned a, b, c;
- scanf("%llu%llu%llu", &a, &b, &c);
- if(a > c || b > c || max(a, b)>=c-min(a, b)){
- printf("yes\n");
- }
- else{
- printf("no\n");
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment