結果

問題 No.2863 Base 10 Subsets 1
ユーザー cologne
提出日時 2025-04-28 13:00:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 316 bytes
コンパイル時間 468 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 52,352 KB
最終ジャッジ日時 2025-04-28 13:00:26
合計ジャッジ時間 2,325 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
import sys


def input():
    return sys.stdin.readline().strip()


def main():
    a,b=input().split()
    
    a,b = '0'*len(b)+a, '0'*len(a)+b
    
    
    for x,y in zip(a,b):
        if x < y:
            print('No')
            return
    print('Yes')
    


if __name__ == "__main__":
    main()
0