当前位置:网站首页>Blue Bridge Cup -- Mason prime
Blue Bridge Cup -- Mason prime
2022-07-03 22:25:00 【Deduce life】
1. subject
2. In fact, it is the problem of large numbers The Hanoi Tower said yesterday about big numbers Then code it But I didn't find out how to design, only output the last 100 I copied the answer in Word in Found the last 100 The method is not very good
3. Code
import java.math.BigInteger;
public class J86 {
public static void main(String[] args) {
BigInteger bi=new BigInteger(2+"");
BigInteger cd=bi.pow(11213);
System.out.println(cd);
}
}
Note that it is the same as before Remember to subtract one Why? ? The title requires It should be clearly stipulated
4. summary Word Can also do questions
边栏推荐
- Report on the development status and investment planning trends of China's data center industry Ⓡ 2022 ~ 2028
- Buuctf, web:[geek challenge 2019] buyflag
- DR882-Qualcomm-Atheros-QCA9882-2T2R-MIMO-802.11ac-Mini-PCIe-Wi-Fi-Module-5G-high-power
- UC Berkeley proposes a multitask framework slip
- [dynamic programming] Jisuan Ke: Jumping stake (variant of the longest increasing subsequence)
- 2 spark environment setup local
- Leetcode problem solving - 230 The k-th smallest element in the binary search tree
- pycuda._ driver. LogicError: explicit_ context_ dependent failed: invalid device context - no currently
- China's coal industry investment strategic planning future production and marketing demand forecast report Ⓘ 2022 ~ 2028
- Pat grade A - 1164 good in C (20 points)
猜你喜欢
Exclusive interview with the person in charge of openkruise: to what extent has cloud native application automation developed now?
UC Berkeley proposes a multitask framework slip
[flax high frequency question] leetcode 426 Convert binary search tree to sorted double linked list
Programming language (2)
QGIS grid processing DEM data reclassification
How to connect a laptop to a projector
Covariance
Exness: the Central Bank of England will raise interest rates again in March, and inflation is coming
2022 safety officer-a certificate registration examination and summary of safety officer-a certificate examination
[Android reverse] use DB browser to view and modify SQLite database (download DB browser installation package | install DB browser tool)
随机推荐
Miscellaneous things that don't miss the right business
Cognitive fallacy: what is Fredkin's paradox
[template summary] - binary search tree BST - Basics
On my first day at work, this API timeout optimization put me down!
Plug - in Oil Monkey
Opengauss database log management guide
STM32 multi serial port implementation of printf -- Based on cubemx
Uboot migration
Classification and extension of OC
Pat grade A - 1164 good in C (20 points)
Bluebridge cup Guoxin Changtian single chip microcomputer -- hardware environment (I)
[secretly kill little partner pytorch20 days] - [day3] - [example of text data modeling process]
Getting started with DOM
2022 high altitude installation, maintenance and removal of examination question bank and high altitude installation, maintenance and removal of examination papers
Cognitive fallacy: Wittgenstein's ruler
China HDI market production and marketing demand and investment forecast analysis report Ⓢ 2022 ~ 2028
Redis single thread and multi thread
UC Berkeley proposes a multitask framework slip
Asynchronous artifact: implementation principle and usage scenario of completable future
Covariance