Easy problems solved on 2024-11-12

This commit is contained in:
2024-11-12 22:53:08 +01:00
parent 799f2283c7
commit 020015474f
21 changed files with 93 additions and 0 deletions

11
dfyrirdreki.py Normal file
View 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)