Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
8
Task/Modular-exponentiation/R/modular-exponentiation.r
Normal file
8
Task/Modular-exponentiation/R/modular-exponentiation.r
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
library(gmp)
|
||||
|
||||
m <- as.bigz(10)^40
|
||||
a <- as.bigz("2988348162058574136915891421498819466320163312926952423791023078876139", mod=m)
|
||||
b <- as.bigz("2351399303373464486466122544523690094744975233415544072992656881240319", mod=m)
|
||||
|
||||
last_40 <- `modulus<-`(a^b, NULL)
|
||||
print(last_40, initLine=FALSE)
|
||||
Loading…
Add table
Add a link
Reference in a new issue