結果

問題 No.1721 [Cherry 3rd Tune N] 麗しきNumber
ユーザー toshiro_yanagi
提出日時 2022-07-03 06:45:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 2,118 ms
コンパイル使用メモリ 81,540 KB
実行使用メモリ 53,544 KB
最終ジャッジ日時 2024-11-28 15:45:00
合計ジャッジ時間 2,584 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    n = int(input())

    s = set()
    while n > 0:
        s.add(n % 10)
        n = int(n / 10)

    if {4, 6} <= s:
        print("Beautiful")
    else:
        print("...")


main()
0