fork download
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. for (int i=1;i<20;i++)
  8. cout<<pow(9,i)<<endl;
  9. return 0;
  10. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
9
81
729
6561
59049
531441
4.78297e+06
4.30467e+07
3.8742e+08
3.48678e+09
3.13811e+10
2.8243e+11
2.54187e+12
2.28768e+13
2.05891e+14
1.85302e+15
1.66772e+16
1.50095e+17
1.35085e+18