結果

問題 No.2863 Base 10 Subsets 1
ユーザー hiro1729hiro1729
提出日時 2024-09-10 18:01:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 198 bytes
コンパイル時間 395 ms
コンパイル使用メモリ 82,512 KB
実行使用メモリ 53,648 KB
最終ジャッジ日時 2024-09-10 18:01:06
合計ジャッジ時間 2,347 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())
l = max(len(str(A)), len(str(B)))
a = list(map(int, str(A).zfill(l)))
b = list(map(int, str(B).zfill(l)))
print("Yes" if all(i >= j for i, j in zip(a, b)) else "No")
0