TopCoder

User's AC Ratio

100.0% (4/4)

Submission's AC Ratio

27.3% (6/22)

Tags

Description

Cheng 想知道 $ax$$2$ $ + bx + c = 0$ 是否有解?
所以給了你 $a,\ b,\ c$ 的值,要你解決這個問題!
如果有解請輸出 Yes,否則輸出 No


對於所有測試資料:
$-10$$5$ $\le a,\ b,\ c\le 10$$5$

Input Format

輸入僅一行,共三個數字,依序代表 $a,\ b,\ c$。

Output Format

輸出依照題目敘述輸出 YesNo

Sample Input 1

1 2 3

Sample Output 1

No

Sample Input 2

1 1 -1

Sample Output 2

Yes

Hints

Problem Source

Subtasks

No. Testdata Range Constraints Score
1 0~11 題目範圍限制 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 65536 65536 1
1 1000 65536 65536 1
2 1000 65536 65536 1
3 1000 65536 65536 1
4 1000 65536 65536 1
5 1000 65536 65536 1
6 1000 65536 65536 1
7 1000 65536 65536 1
8 1000 65536 65536 1
9 1000 65536 65536 1
10 1000 65536 65536 1
11 1000 65536 65536 1