結果
問題 | No.1119 Division 3 |
ユーザー | cider |
提出日時 | 2020-07-22 21:39:52 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 1,000 ms |
コード長 | 287 bytes |
コンパイル時間 | 3,347 ms |
コンパイル使用メモリ | 191,448 KB |
最終ジャッジ日時 | 2025-01-12 02:24:51 |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll = long long; int main() { ll a, b, c; cin >> a >> b >> c; bool flag = false; if (a % 3 == 0)flag = true; if (b % 3 == 0)flag = true; if (c % 3 == 0)flag = true; if (flag)cout << "Yes" << endl; else cout << "No" << endl; }