結果

問題 No.516 赤と青の風船
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2017-05-28 22:14:12
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 252 bytes
コンパイル時間 2,254 ms
コンパイル使用メモリ 74,584 KB
実行使用メモリ 57,608 KB
最終ジャッジ日時 2023-10-21 14:16:53
合計ジャッジ時間 3,913 ms
ジャッジサーバーID
(参考情報)
judge11 / judge9
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
57,424 KB
testcase_01 AC 126 ms
57,524 KB
testcase_02 AC 127 ms
57,476 KB
testcase_03 AC 124 ms
57,424 KB
testcase_04 AC 126 ms
57,600 KB
testcase_05 AC 126 ms
57,216 KB
testcase_06 AC 126 ms
57,608 KB
testcase_07 AC 126 ms
57,416 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String [] S = {sc.next(),sc.next(),sc.next()};
        Arrays.sort(S);
        System.out.println(S[1]);
    }
}
0