結果

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

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

#ifdef LOCAL
#include "debug.h"
#else
#define DEBUG(...)
#endif

int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  int x, y, z;
  cin >> x >> y >> z;
  if (x % 3 == 0 or y % 3 == 0 or z % 3 == 0) {
    cout << "Yes\n";
  } else {
    cout << "No\n";
  }
}
0