結果
問題 |
No.1250 汝は倍数なりや?
|
ユーザー |
![]() |
提出日時 | 2020-10-09 21:57:33 |
言語 | D (dmd 2.109.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 238 bytes |
コンパイル時間 | 2,579 ms |
コンパイル使用メモリ | 172,828 KB |
実行使用メモリ | 12,288 KB |
最終ジャッジ日時 | 2024-06-22 09:22:45 |
合計ジャッジ時間 | 3,833 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 3 WA * 1 RE * 45 |
ソースコード
import std; void main() { auto input = readln.split.to!(ulong[]); auto N = input[0], H = input[1]; auto A = readln.split.to!(ulong[]); writeln(A.filter!(a => a % H == 0).count > 0 ? "YES" : "NO"); }