結果
| 問題 | No.795 Restrictions!!!!!!!!!!!!!! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-10-21 22:21:35 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 93 ms / 2,000 ms |
| + 72µs | |
| コード長 | 106 bytes |
| 記録 | |
| コンパイル時間 | 286 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 15,740 KB |
| 最終ジャッジ日時 | 2026-07-15 20:05:50 |
| 合計ジャッジ時間 | 3,569 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
N = input().strip()
M = input().strip()
if M == N + "0" or N == M + "0":
print("Yes")
else:
print("No")