Nathan Coulas

DMOPC '19 Contest 6 P0 - Trivial Math

dmopc19c6p0 CPP11 04 May, 2020 0.588s 3 points

Source Code

#include <bits/stdc++.h>
using namespace std;


int main() {
	ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
		
	int a, b, c;
	
	cin >> a >> b >> c;
	if(a + b > c && a + c > b && b + c > a){
		cout << "yes";
	}else{
		cout << "no";
	}
	

	return 0;
  }