代码如下:
#include<bits/stdc++.h> using namespace std; int main() { long a, b; cin >> a >> b; if((long) pow(a, b) >= 0) cout << (long) pow(a, b); else cout << -1; return 0; }
哪位大佬教教我,怎么把科学计数法改成整数?