Among 666 cases on uDebug 598th case is
Code: Select all
1
87 7 116 22
Searched query: 11455
Code: Select all
1
87 7 116 22
reza_cse08 wrote:First sort the value then check it.
"Do not think think about the property (a+b+c)>d(for this problem) only check (a+b+c)>=d. although it can not make a quadrangle"
For this problem the uvatoolkit also give the wrong answer.
It isn't!!!Enzam wrote:It is possible to make an quadrangle when sum of its 3 side is equal to other side.
And Beware of the fact that the lengths are not in sorted order!
I WASTE AT LEAST 10 SUBMISSION FOR THIS REASON.For each test case, there is a line with four positive integer numbers