fork download
  1. for _ in range(int(raw_input())):
  2. N = int(raw_input())
  3. N = N & 0xffffffff # 32 bit representation
  4. print N ^ 0xffffffff
  5.  
Success #stdin #stdout 0.02s 9024KB
stdin
5
50
90
1
0
4294967295
stdout
4294967245
4294967205
4294967294
4294967295
0