結果

問題 No.1119 Division 3
ユーザー kekenx
提出日時 2020-07-23 19:19:11
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 238 bytes
コンパイル時間 1,593 ms
コンパイル使用メモリ 165,280 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-23 17:55:14
合計ジャッジ時間 2,160 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 6 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {
  int tmp = 1;
  for (int i = 0; i < 3; ++i) {
    int a;
    cin >> a;
    tmp *= a;
  }
  if (tmp % 3 == 0) puts("Yes");
  else puts("No");
  return 0;
}
0