高精度题目(10的1000次方的数)

1.用java

import java.math.BigInteger

public class Main{

  public static void main(){

      Scanner input = new Scanner(System.in);

        BigInteger x = cin.nextBigIntger();

  }

}

2.用Python 

n = int(input())
while a<b
         a=a*3+1
         b++
print(b)

3.用c++

long double n;
    cin>>n;
    cout<<n<<endl;

  

猜你喜欢

转载自www.cnblogs.com/tonyyy/p/10320742.html
今日推荐