Easy problems solved on 2024-11-12
This commit is contained in:
11
dfyrirdreki.py
Normal file
11
dfyrirdreki.py
Normal file
@@ -0,0 +1,11 @@
|
||||
a = int(input())
|
||||
b = int(input())
|
||||
c = int(input())
|
||||
|
||||
d = b**2 - 4 * a * c
|
||||
if d > 0:
|
||||
print(2)
|
||||
elif d < 0:
|
||||
print(0)
|
||||
else:
|
||||
print(1)
|
||||
Reference in New Issue
Block a user