fork download
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7.  
  8. int x = 5;
  9. int y = 3;
  10. int result = 1;
  11. for(int i = 0; i < y; ++i)
  12. {
  13. result *= x;
  14. }
  15.  
  16. return 0;
  17. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
Standard output is empty