OkazakiYumemi / okazakiyumemi.github.io

Maybe just a blog
https://okazakiyumemi.github.io/
0 stars 0 forks source link

「HDU5451」Best Solver | Okazaki Yumemi's blog #104

Open OkazakiYumemi opened 4 years ago

OkazakiYumemi commented 4 years ago

https://okazakiyumemi.github.io/blog/HDU5451/

这都啥年代的套路了 题意简述For a given integer $x$ and a given prime number $p$, print$$[(5 + 2\sqrt{6})^{1 + 2^x}]%p$$$[A]$ means the integer part of $A$.$T$ test cases, $T\le 1000, 1\le x< 2^32, p\le 46337$.