結果

問題 No.2863 Base 10 Subsets 1
ユーザー ra5anchorra5anchor
提出日時 2024-09-02 23:03:15
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 172 bytes
コンパイル時間 324 ms
コンパイル使用メモリ 82,568 KB
実行使用メモリ 53,708 KB
最終ジャッジ日時 2024-09-02 23:03:17
合計ジャッジ時間 1,760 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,708 KB
testcase_01 AC 40 ms
51,752 KB
testcase_02 AC 37 ms
52,208 KB
testcase_03 AC 37 ms
52,340 KB
testcase_04 AC 38 ms
53,160 KB
testcase_05 AC 39 ms
52,612 KB
testcase_06 AC 38 ms
51,936 KB
testcase_07 AC 38 ms
52,360 KB
testcase_08 AC 38 ms
51,756 KB
testcase_09 AC 37 ms
52,220 KB
testcase_10 AC 38 ms
53,508 KB
testcase_11 AC 38 ms
52,824 KB
testcase_12 AC 41 ms
52,152 KB
testcase_13 AC 41 ms
51,944 KB
testcase_14 AC 40 ms
52,412 KB
testcase_15 AC 40 ms
51,960 KB
testcase_16 AC 38 ms
52,688 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())
K = 10
SA = str(A).zfill(K)
SB = str(B).zfill(K)

for i in range(K):
    if SA[i] < SB[i]:
        print('No')
        exit()
print('Yes')
0