林汐 • 3个月前
//#include
using namespace std; main( ) {
int a,b,c; cin>>a>>b; c=pow(a,b); if(c<=7){ cout<<c; }else{ cout<<c%7; } return 0;
}
评论: