結果

問題 No.1119 Division 3
ユーザー hiragn
提出日時 2020-08-21 18:28:02
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 300 bytes
コンパイル時間 2,078 ms
コンパイル使用メモリ 191,320 KB
最終ジャッジ日時 2025-01-13 04:48:35
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main() {
    auto ok = false;
    for (int i = 0; i < 3; ++i) {
        int x;
        cin >> x;
        if (x % 3 == 0) ok = true;
    }
    if (ok) {
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
    return 0;
}
0