結果
問題 | No.2863 Base 10 Subsets 1 |
ユーザー |
![]() |
提出日時 | 2024-08-30 21:44:45 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 570 bytes |
コンパイル時間 | 164 ms |
コンパイル使用メモリ | 82,512 KB |
実行使用メモリ | 54,104 KB |
最終ジャッジ日時 | 2024-08-30 21:44:47 |
合計ジャッジ時間 | 1,499 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 |
ソースコード
def oi(): return int(input()) def os(): return input().rstrip() def mi(): return list(map(int, input().split())) # import sys # input = sys.stdin.readline # import sys # sys.setrecursionlimit(10**8) # import pypyjit # pypyjit.set_param('max_unroll_recursion=-1') input_count = 0 A,B = mi() def check(A,B): max_len = max(len(str(A)), len(str(B))) A = str(A).rjust(max_len, "0") B = str(B).rjust(max_len, "0") for a,b in zip(A,B): if int(a) < int(b): return False return True if check(A,B): print("Yes") else: print("No")