文章

7

粉丝

204

获赞

4

访问

64.5k

头像
Java代码
P1549
发布于2020年1月11日 19:20
阅读数 8.9k

import java.io.*;
import java.math.BigInteger;
import java.util.*;

public class Main {    

        public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        while (cin.hasNext()) {
            String x = cin.next();
            long y = cin.nextLong();
            long z = cin.nextLong();
            BigInteger res = f(new BigInteger(x+""), y, z);
            System.out.println(res);
        }

    }

    static BigInteger f(BigInteger x, long y, long z) {
        BigInteger modz = new BigInteger(z + &qu...

登录查看完整内容


登录后发布评论

暂无评论,来抢沙发