Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
72698 sh25_zhuwy 幂的末尾 C++ 通过 0 MS 248 KB 179 2025-11-02 13:52:43

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int a,b; long long s=1; cin>>a>>b; for(int i=0;i<b;i++) { s=s*a%1000; } cout<<s%1000; return 0; }


测评信息: