fork download
  1. for A in range(10):
  2. for B in range(10):
  3. for C in range(10):
  4. if 100*A+10*B+C==A+B**2+C**3:
  5. print(100*A+10*B+C)
Success #stdin #stdout 0.01s 7896KB
stdin
Standard input is empty
stdout
0
1
43
63
135
175
518
598