摘要:
#include<iostream> using namespace std; int main(){ int a,b,p; cin>>a>>b>>p; int res=1%p; while(b){ if(b&1) res=res*1ll*a%p; a=a*1ll*a%p; b>>=1; } cou 阅读全文
posted @ 2023-09-18 22:11
psycho_joy
阅读(23)
评论(0)
推荐(0)
2023年9月18日