fork(1) download
  1. for n in range (100,1000,1):
  2. c = n%10
  3. b = ((n-c)%100)/10
  4. a = n - 10*b -c
  5. if n == a**3 + b**3 + c**3:
  6. print (n)
Success #stdin #stdout 0.03s 9872KB
stdin
Standard input is empty
stdout
Standard output is empty