GKM的复试acm练习2039

#include <iostream>
#include <string>
using namespace std;

int main()
{
	int m;
	cin>>m;
	getchar();
	while(m--)
	{
		int a,b,c;
		cin>>a>>b>>c;
		if(a+b>c && a+c>b && b+c>a)
			cout<<"yes"<<endl;
		else
			cout<<"no"<<endl;
	}
	return 0;

}

猜你喜欢

转载自blog.csdn.net/qq_37181805/article/details/88357181
今日推荐