結果
問題 |
No.2682 Visible Divisible
|
ユーザー |
👑 ![]() |
提出日時 | 2023-12-16 13:41:53 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 250 bytes |
コンパイル時間 | 393 ms |
コンパイル使用メモリ | 82,120 KB |
実行使用メモリ | 106,072 KB |
最終ジャッジ日時 | 2024-09-27 07:38:27 |
合計ジャッジ時間 | 3,029 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 10 WA * 4 |
ソースコード
""" WA解 Kの倍数があるかだけ探索 """ import math N,K = map(int,input().split()) A = list(map(int,input().split())) flag = False for a in A: if a % K == 0: flag = True if flag: print ("Yes") else: print ("No")