#include<stdio.h>
#include<math.h>
void main()
{
int x, y, shu=1;
int i;
printf("please input x and y:\n");
scanf("%d%d",&x,&y);
for (i=1;i<=y;i++)
shu=shu*x%1000;
printf("%d",shu);
}
98
最新推荐文章于 2024-05-21 08:17:21 发布