結果
| 問題 | No.3455 N-beatsu |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-02-28 15:04:18 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 127 ms / 2,000 ms |
| + 479µs | |
| コード長 | 142 bytes |
| 記録 | |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 96,112 KB |
| 実行使用メモリ | 84,480 KB |
| 最終ジャッジ日時 | 2026-07-25 06:12:38 |
| 合計ジャッジ時間 | 2,573 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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")