delete pics to save space

This commit is contained in:
2023-08-03 09:22:52 +08:00
commit de60cd6ed4
1334 changed files with 66221 additions and 0 deletions

19
1.1965.cpp Normal file
View File

@ -0,0 +1,19 @@
#include<cstdio>
typedef long long LL;
LL n,m,k,x;
LL ksm(LL a,int k)
{
LL res=1;
for(;k>0;k>>=1)
{
if(k&1) res=res*a%n;
a=a*a%n;
}
return res;
}
int main()
{
scanf("%lld%lld%lld%lld",&n,&m,&k,&x);
printf("%lld\n",(x%n+m%n*ksm(10,k))%n);
return 0;
}