fork download
  1. printl('Hello, World!')
  2. n = int(input())
  3. for i in [0:n+1]
  4. r = exp(log(2)*i)
  5. printl(r)
  6. end
Success #stdin #stdout 0.01s 6768KB
stdin
30
stdout
Hello, World!
1
2
4
7.999999999999998
16
32
63.99999999999998
128
255.9999999999999
511.9999999999999
1024
2048
4095.999999999997
8191.999999999995
16383.99999999999
32767.99999999999
65535.99999999998
131072
262143.9999999999
524287.9999999999
1048576
2097152
4194304.000000001
8388608.000000002
16777215.99999998
33554432.00000001
67108863.99999992
134217728.0000001
268435455.9999997
536870912.0000004
1073741823.999999