11936

#include <iostream>
#include <cstdio>
#include <sstream>
#include <string>

using namespace std;

int main()
{
	int n,a,b,c;
	scanf("%d",&n);
	while(n--)
	{
		scanf("%d%d%d",&a,&b,&c);
		bool OK=1;
		if(a>=(b+c))
		OK=0;
		if(b>=(a+c))
		OK=0;
		if(c>=(a+b))
		OK=0;
		if(OK)
		printf("OK\n");
		else
		printf("Wrong!!\n");
	}
	return 0;
}

 

Leave a Reply

Your email address will not be published. Required fields are marked *