結果
| 問題 | No.2863 Base 10 Subsets 1 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-30 21:46:12 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 2,000 ms |
| コード長 | 216 bytes |
| 記録 | |
| コンパイル時間 | 177 ms |
| コンパイル使用メモリ | 85,360 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2026-04-03 23:37:31 |
| 合計ジャッジ時間 | 1,634 ms |
|
ジャッジサーバーID (参考情報) |
judge5_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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=1
for a,b in zip(A,B):
if int(a)<int(b):
ok=0
break
if ok:print("Yes")
else:print("No")