fork(3) 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)
Success #stdin #stdout 0s 9032KB
stdin
1
999999996
stdout
62499999500000000