摘要:
1 #include 2 #include 3 using namespace std; 4 int main(int argc, char *argv[]) 5 { 6 int x, y; 7 cin >> x >> y; 8 9 int result = 1;10 for(int i=0; i<y; i++)11 result = result * x % 1000;12 13 cout << result << endl;14 15 system("PAUSE");16 return ... 阅读全文