結果
| 問題 | No.3455 N-beatsu |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-03-01 22:13:52 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 79 ms / 2,000 ms |
| + 786µs | |
| コード長 | 126 bytes |
| 記録 | |
| コンパイル時間 | 239 ms |
| コンパイル使用メモリ | 95,984 KB |
| 実行使用メモリ | 89,344 KB |
| 最終ジャッジ日時 | 2026-07-25 07:34:10 |
| 合計ジャッジ時間 | 2,424 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 10 |
ソースコード
n,q,*x=[*map(int,open(0).read().split())]
for i in x:
if i%n==0 or str(n)in str(i):
print('Yes')
else:
print('No')