提交时间:2024-02-01 18:22:03

运行 ID: 39447

#include<iostream> using namespace std; int main() { int x,y,z; cin>>x>>y>>z; if(x>=y){ if(x-y<z&&z<x+y){ cout<<"yes"; } else cout<<"no"; } if(y>x){ if(y-x<z&&z<x+y){ cout<<"yes"; } else cout<<"no"; } return 0; }