Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 96b5406

Browse files
Triangle Judgement
1 parent 05d81d9 commit 96b5406

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Link: https://leetcode.com/problems/triangle-judgement/
2+
Tool: MS SQL Server
3+
4+
5+
6+
7+
8+
9+
select x, y, z,
10+
(case when x + y > z and x + z > y and y + z > x then 'Yes'
11+
else 'No' end) as triangle
12+
from Triangle

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /