結果

問題 No.2863 Base 10 Subsets 1
ユーザー Shirotsume
提出日時 2024-08-30 21:24:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 491 bytes
コンパイル時間 159 ms
コンパイル使用メモリ 82,852 KB
実行使用メモリ 56,860 KB
最終ジャッジ日時 2024-08-30 21:24:21
合計ジャッジ時間 1,576 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys, time, random
from collections import deque, Counter, defaultdict
def debug(*x):print('debug:',*x, file=sys.stderr)
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(mi())
inf = 2 ** 61 - 1
mod = 998244353

x, y = input().split()

L = max(len(x), len(y))


x = x.zfill(L)
y = y.zfill(L)
ans = 'Yes'

for i in range(L):
    if x[i] >= y[i]:
        pass
    else:
        ans = 'No'
        
print(ans)
0