摘要:
#include<iostream>using namespace std;int power(int x, int n){//分治法,时间复杂度:lgn if(x == 0) { if(n == 0) cout << "WRONG INPUT: SIGNIGICANT!!!" << endl; return 0; } if... 阅读全文
摘要:
#include<iostream>using namespace std;int power(int x, int n){//分治法,时间复杂度:lgn if(x == 0) { if(n == 0) cout << "WRONG INPUT: SIGNIGICANT!!!" << endl; return 0; } if... 阅读全文
|