7 lines
292 B
Dart
7 lines
292 B
Dart
import "dart:math";
|
|
void main() {
|
|
var a = BigInt.parse("2988348162058574136915891421498819466320163312926952423791023078876139");
|
|
var b = BigInt.parse("2351399303373464486466122544523690094744975233415544072992656881240319");
|
|
var m = BigInt.from(10).pow(40);
|
|
print(a.modPow(b, m));
|
|
}
|