結果

問題 No.2863 Base 10 Subsets 1
ユーザー akasia_midori
提出日時 2024-08-30 21:40:27
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 505 bytes
コンパイル時間 278 ms
コンパイル使用メモリ 82,552 KB
実行使用メモリ 53,496 KB
最終ジャッジ日時 2024-08-30 21:40:29
合計ジャッジ時間 1,769 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

def oi(): return int(input())
def os(): return input().rstrip()
def mi(): return list(map(int, input().split()))

# import sys
# input = sys.stdin.readline
# import sys
# sys.setrecursionlimit(10**8)
# import pypyjit
# pypyjit.set_param('max_unroll_recursion=-1')
input_count = 0

A,B = mi()
def check(A,B):
    A = str(A)
    B = str(B).rjust(len(A), "0")
    for a,b in zip(A,B):
        if int(a) < int(b):
            return False
    return True

if check(A,B):
    print("Yes")
else:
    print("No")
0