結果

問題 No.1119 Division 3
ユーザー kk
提出日時 2020-11-02 13:52:24
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 453 bytes
コンパイル時間 1,672 ms
コンパイル使用メモリ 193,472 KB
最終ジャッジ日時 2025-01-15 19:00:45
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

#define REP(i,n) for(int i=0; i<(int)(n); i++)
#define FOR(i,b,e) for (int i=(int)(b); i<(int)(e); i++)
#define ALL(x) (x).begin(), (x).end()

const double PI = acos(-1);

int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);

  bool ck = false;
  REP (i, 3) {
    int x;
    cin >> x;
    ck |= x % 3 == 0;
  }

  if (ck)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  
  return 0;
}
0