結果
問題 | No.2863 Base 10 Subsets 1 |
ユーザー |
|
提出日時 | 2024-08-30 21:46:12 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 216 bytes |
コンパイル時間 | 175 ms |
コンパイル使用メモリ | 82,568 KB |
実行使用メモリ | 53,652 KB |
最終ジャッジ日時 | 2024-08-30 21:46:13 |
合計ジャッジ時間 | 1,437 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 |
ソースコード
A,B=input().split()if len(A)>len(B):B=("0"*len(A)+B)[-len(A):]else:A=("0"*len(B)+A)[-len(B):]ok=1for a,b in zip(A,B):if int(a)<int(b):ok=0breakif ok:print("Yes")else:print("No")