fork(2) download
  1. # your code goes here
  2. #! /usr/bin/python
  3.  
  4. ile = input()
  5. for petla in range(ile):
  6. liczba = input()
  7. if (liczba % 2) | (liczba == 2) | (liczba == 0):
  8. print 'BRAK'
  9. else:
  10. dl = liczba / 2
  11. x = round(dl / 2)
  12. y = dl - x
  13. print int(x*y)
Runtime error #stdin #stdout #stderr 0s 9024KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 4, in <module>
EOFError: EOF when reading a line