fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. int i,n,m,o;
  6. cin>>n;
  7. m=1378;
  8. o=power(m,n)
  9. cout<<o;
  10. return 0;
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
2
compilation info
prog.cpp: In function 'int main()':
prog.cpp:8:13: error: 'power' was not declared in this scope
  o=power(m,n)
             ^
stdout
Standard output is empty