結果

問題 No.1250 汝は倍数なりや?
ユーザー Manuel1024Manuel1024
提出日時 2021-03-11 01:28:23
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 307 bytes
コンパイル時間 831 ms
コンパイル使用メモリ 68,728 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-04-20 18:54:46
合計ジャッジ時間 3,904 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 AC 2 ms
5,376 KB
testcase_02 AC 2 ms
5,376 KB
testcase_03 AC 2 ms
5,376 KB
testcase_04 AC 3 ms
5,376 KB
testcase_05 AC 2 ms
5,376 KB
testcase_06 AC 2 ms
5,376 KB
testcase_07 AC 2 ms
5,376 KB
testcase_08 AC 2 ms
5,376 KB
testcase_09 AC 2 ms
5,376 KB
testcase_10 AC 2 ms
5,376 KB
testcase_11 WA -
testcase_12 AC 2 ms
5,376 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 2 ms
5,376 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 2 ms
5,376 KB
testcase_20 WA -
testcase_21 AC 2 ms
5,376 KB
testcase_22 WA -
testcase_23 AC 3 ms
5,376 KB
testcase_24 AC 3 ms
5,376 KB
testcase_25 AC 3 ms
5,376 KB
testcase_26 WA -
testcase_27 AC 2 ms
5,376 KB
testcase_28 WA -
testcase_29 AC 2 ms
5,376 KB
testcase_30 WA -
testcase_31 AC 2 ms
5,376 KB
testcase_32 WA -
testcase_33 AC 84 ms
5,376 KB
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 AC 47 ms
5,376 KB
testcase_38 AC 51 ms
5,376 KB
testcase_39 WA -
testcase_40 WA -
testcase_41 AC 58 ms
5,376 KB
testcase_42 AC 32 ms
5,376 KB
testcase_43 AC 76 ms
5,376 KB
testcase_44 AC 32 ms
5,376 KB
testcase_45 WA -
testcase_46 AC 24 ms
5,376 KB
testcase_47 WA -
testcase_48 AC 2 ms
5,376 KB
testcase_49 AC 2 ms
5,376 KB
testcase_50 WA -
testcase_51 AC 2 ms
5,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
using namespace std;
using ll = long long int;

int main(){
    ll n, h;
    cin >> n >> h;
    vector<ll> a(n);
    for(auto &p: a) cin >> p;
    string ans = "NO";
    for(auto &p: a){
        if(p % h == 0) ans = "YES";
    }
    cout << ans << endl;
    return 0;
}
0