結果

問題 No.1721 [Cherry 3rd Tune N] 麗しきNumber
ユーザー ripityripity
提出日時 2021-12-12 21:34:49
言語 Java21
(openjdk 21)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 284 bytes
コンパイル時間 3,461 ms
コンパイル使用メモリ 71,572 KB
実行使用メモリ 56,048 KB
最終ジャッジ日時 2023-09-28 15:03:20
合計ジャッジ時間 8,444 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
55,676 KB
testcase_01 AC 123 ms
55,816 KB
testcase_02 AC 121 ms
55,112 KB
testcase_03 AC 120 ms
55,700 KB
testcase_04 AC 122 ms
55,412 KB
testcase_05 AC 123 ms
55,528 KB
testcase_06 AC 123 ms
55,516 KB
testcase_07 AC 122 ms
55,424 KB
testcase_08 AC 123 ms
55,480 KB
testcase_09 AC 124 ms
55,500 KB
testcase_10 AC 121 ms
53,616 KB
testcase_11 AC 122 ms
56,048 KB
testcase_12 AC 121 ms
55,892 KB
testcase_13 AC 122 ms
55,880 KB
testcase_14 AC 121 ms
55,600 KB
testcase_15 AC 120 ms
55,584 KB
testcase_16 AC 122 ms
55,440 KB
testcase_17 AC 120 ms
55,592 KB
testcase_18 AC 124 ms
55,512 KB
testcase_19 AC 121 ms
55,540 KB
testcase_20 AC 121 ms
55,800 KB
testcase_21 AC 123 ms
55,548 KB
testcase_22 AC 122 ms
55,516 KB
testcase_23 AC 122 ms
55,352 KB
testcase_24 AC 122 ms
55,660 KB
testcase_25 AC 122 ms
55,568 KB
testcase_26 AC 121 ms
55,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    
    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        String N = sc.next();
        System.out.println( N.contains("4") && N.contains("6") ? "Beautiful" : "..." );
        
    }
    
}
0