fork(2) download
  1. #include <iostream>
  2. #include <cmath>
  3.  
  4. int main() {
  5. int i = 23;
  6. int j = 1;
  7. int base = 10;
  8. int k = 2;
  9. i += j * pow(base, k);
  10. std::cout << i << std::endl;
  11. }
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
123