#27164: Java 解題心得

#### r1cky (tour1st)

School : No School
ID : 158637
2022-08-17 19:40:34
g310. pD. 甜甜圈大對決(Donut) -- | From: [114.32.128.128] | Post Date : 2021-09-15 21:28

https://r1cky.pixnet.net/blog/post/47950804

#27167: Re:Java 解題心得

#### r1cky (tour1st)

School : No School
ID : 158637
2022-08-17 19:40:34
g310. pD. 甜甜圈大對決(Donut) -- | From: [49.216.50.223] | Post Date : 2021-09-16 07:07

https://r1cky.pixnet.net/blog/post/47950804

ㄨㄚˊ 加強測資後變TLE

#27239: Re:Java 解題心得

#### jam930725@gmail.com (浮沉沉沉沉沉沉沉沉)

School : 國立臺中科技大學
ID : 124762
2022-07-26 17:25:36
g310. pD. 甜甜圈大對決(Donut) -- | From: [123.110.34.107] | Post Date : 2021-09-20 12:47

https://r1cky.pixnet.net/blog/post/47950804

ㄨㄚˊ 加強測資後變TLE

BufferedReader bur = new BufferedReader(new InputStreamReader(System.in));

int n = Integer.parseInt(bur.readLine());

String[] nums = bur.readLine().split(" ");

int[] arr = new int[n];

for(int i = 0; i < n; i++)

    arr[i] = Integer.parseInt(nums[i]);

nums = bur.readLine().split(" ")

public static BufferedReader bur = new BufferedReader(new InputStreamReader(System.in));

public static int readInt()throws IOException{

    int n = 0, tmp = bur.read();

    while(tmp > 47 && tmp < 58){

        n *= 10;

        n += (tmp & 15);

        tmp = bur.read();

    }

    return n;

}

int ans = 0;

#27270: Re:Java 解題心得

#### jam930725@gmail.com (浮沉沉沉沉沉沉沉沉)

School : 國立臺中科技大學
ID : 124762
2022-07-26 17:25:36
g310. pD. 甜甜圈大對決(Donut) -- | From: [123.110.34.107] | Post Date : 2021-09-21 12:39

#27356: Re:Java 解題心得

#### r1cky (tour1st)

School : No School
ID : 158637
2022-08-17 19:40:34
g310. pD. 甜甜圈大對決(Donut) -- | From: [49.216.27.187] | Post Date : 2021-09-27 07:41

https://r1cky.pixnet.net/blog/post/47950804

ㄨㄚˊ 加強測資後變TLE

BufferedReader bur = new BufferedReader(new InputStreamReader(System.in));

int n = Integer.parseInt(bur.readLine());

String[] nums = bur.readLine().split(" ");

int[] arr = new int[n];

for(int i = 0; i < n; i++)

    arr[i] = Integer.parseInt(nums[i]);

nums = bur.readLine().split(" ")

public static BufferedReader bur = new BufferedReader(new InputStreamReader(System.in));

public static int readInt()throws IOException{

    int n = 0, tmp = bur.read();

    while(tmp > 47 && tmp < 58){

        n *= 10;

        n += (tmp & 15);

        tmp = bur.read();

    }

    return n;

}

int ans = 0;

#27442: Re:Java 解題心得

#### r1cky (tour1st)

School : No School
ID : 158637
2022-08-17 19:40:34
g310. pD. 甜甜圈大對決(Donut) -- | From: [210.71.78.245] | Post Date : 2021-10-06 14:53

https://r1cky.pixnet.net/blog/post/47950804

ㄨㄚˊ 加強測資後變TLE

BufferedReader bur = new BufferedReader(new InputStreamReader(System.in));

int n = Integer.parseInt(bur.readLine());

String[] nums = bur.readLine().split(" ");

int[] arr = new int[n];

for(int i = 0; i < n; i++)

    arr[i] = Integer.parseInt(nums[i]);

nums = bur.readLine().split(" ")

public static BufferedReader bur = new BufferedReader(new InputStreamReader(System.in));

public static int readInt()throws IOException{

    int n = 0, tmp = bur.read();

    while(tmp > 47 && tmp < 58){

        n *= 10;

        n += (tmp & 15);

        tmp = bur.read();

    }

    return n;

}

int ans = 0;

ZeroJudge Forum