fork(8) download
  1. # your code goes here
  2. EPS = 0.000000000000000001
  3. liczby = list(map(float, input().strip().split()))
  4. while liczby:
  5. a = liczby[0]
  6. b = liczby[1]
  7. c = liczby[2]
  8.  
  9. delta = (b * b) - (4 * a * c)
  10.  
  11. if abs(delta) <= EPS:
  12. print(1)
  13.  
  14. elif delta > 0:
  15. print(2)
  16.  
  17. else:
  18. print(0)
  19.  
  20. liczby = list(map(float, input().strip().split()))
Runtime error #stdin #stdout #stderr 0.13s 23492KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 3, in <module>
EOFError: EOF when reading a line