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