結果

問題 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
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
53,124 KB
testcase_01 AC 36 ms
52,088 KB
testcase_02 AC 36 ms
52,056 KB
testcase_03 AC 36 ms
51,940 KB
testcase_04 AC 36 ms
52,360 KB
testcase_05 AC 37 ms
53,524 KB
testcase_06 AC 64 ms
52,412 KB
testcase_07 AC 35 ms
53,492 KB
testcase_08 AC 36 ms
52,240 KB
testcase_09 AC 37 ms
52,120 KB
testcase_10 AC 35 ms
52,816 KB
testcase_11 AC 35 ms
52,472 KB
testcase_12 AC 36 ms
52,112 KB
testcase_13 AC 35 ms
52,804 KB
testcase_14 AC 37 ms
53,648 KB
testcase_15 AC 35 ms
52,832 KB
testcase_16 AC 35 ms
52,872 KB
権限があれば一括ダウンロードができます

ソースコード

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