結果

問題 No.1721 [Cherry 3rd Tune N] 麗しきNumber
ユーザー yassu0320yassu0320
提出日時 2021-11-04 23:05:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 101 ms / 2,000 ms
コード長 679 bytes
コンパイル時間 186 ms
コンパイル使用メモリ 82,272 KB
実行使用メモリ 80,416 KB
最終ジャッジ日時 2024-04-23 05:52:31
合計ジャッジ時間 3,992 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 100 ms
80,128 KB
testcase_01 AC 101 ms
80,088 KB
testcase_02 AC 98 ms
80,048 KB
testcase_03 AC 99 ms
79,980 KB
testcase_04 AC 97 ms
80,076 KB
testcase_05 AC 97 ms
80,040 KB
testcase_06 AC 96 ms
80,120 KB
testcase_07 AC 96 ms
80,060 KB
testcase_08 AC 99 ms
80,128 KB
testcase_09 AC 95 ms
80,256 KB
testcase_10 AC 98 ms
80,252 KB
testcase_11 AC 95 ms
80,136 KB
testcase_12 AC 97 ms
80,152 KB
testcase_13 AC 97 ms
80,076 KB
testcase_14 AC 96 ms
80,036 KB
testcase_15 AC 96 ms
80,080 KB
testcase_16 AC 98 ms
80,256 KB
testcase_17 AC 95 ms
80,000 KB
testcase_18 AC 97 ms
80,120 KB
testcase_19 AC 100 ms
80,120 KB
testcase_20 AC 101 ms
80,256 KB
testcase_21 AC 98 ms
80,048 KB
testcase_22 AC 99 ms
80,036 KB
testcase_23 AC 95 ms
80,416 KB
testcase_24 AC 98 ms
80,128 KB
testcase_25 AC 98 ms
80,128 KB
testcase_26 AC 99 ms
80,184 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3

from pprint import pprint
from sys import setrecursionlimit, stdin
from typing import Dict, Iterable, Set

INF: int = 1 << 62
setrecursionlimit(1_000_000)


def inputs(type_=int):
    ins = input().split(' ')
    ins = [x for x in ins if x != '']

    if isinstance(type_, Iterable):
        return [t(x) for t, x in zip(type_, ins)]
    else:
        return list(map(type_, ins))


def input_(type_=int):
    a, = inputs(type_)
    return a


inputi = input_


def inputstr():
    return input_(str)


def answer(res) -> None:
    print(res)
    exit()


# start coding
n = input()
if '4' in n and '6' in n:
    print('Beautiful')
else:
    print('...')
0