結果
| 問題 | No.3455 N-beatsu |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-02-28 15:03:52 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 141 bytes |
| 記録 | |
| コンパイル時間 | 545 ms |
| コンパイル使用メモリ | 77,928 KB |
| 実行使用メモリ | 67,188 KB |
| 最終ジャッジ日時 | 2026-02-28 15:03:55 |
| 合計ジャッジ時間 | 2,443 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 10 |
ソースコード
n, q = input().split()
nn, nq = int(n), int(q)
for _ in range(q):
x = input()
nx = int(x)
print("Yes" if n in x or nx % nn == 0 else "No")