結果

問題 No.3455 N-beatsu
コンテスト
ユーザー KA37RI
提出日時 2026-02-28 15:03:52
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
RE  
実行時間 -
コード長 141 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 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
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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")
0