Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int _pow(int a/* основание степени */,int b/* показатель степени */){
- int c=a,f=a;
- for(int i=1;i<b;i++){
- for(int j=1;j<a;j++){
- c+=f;
- }
- f=c;
- }
- return c;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement