TRIBEAU


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 493M

Problem type

Comments


  • 0
    Truongduyhung_lop9  commented on Oct. 17, 2024, 7:19 a.m.

    YES


  • 0
    Baoloc2110  commented on Oct. 17, 2024, 7:18 a.m.

    include <bits/stdc++.h>

    using namespace std; long long A,B,C,D; int main(){ cin>>A>>B>>C>>D; if(max({A,B,C})-min({A,B,C})<=D)cout<<"Yes"; else cout<<"No"; return 0; }