結果
| 問題 |
No.1119 Division 3
|
| コンテスト | |
| ユーザー |
iqueue02
|
| 提出日時 | 2020-07-22 22:14:04 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 1,000 ms |
| コード長 | 381 bytes |
| コンパイル時間 | 1,907 ms |
| コンパイル使用メモリ | 191,468 KB |
| 最終ジャッジ日時 | 2025-01-12 03:04:40 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 16 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i = 0; i < (n);i++)
#define sz(x) int(x.size())
typedef long long ll;
typedef long double ld;
typedef pair<int,int> P;
constexpr int mod = 1e9+7;
int main() {
int x, y, z;
cin >> x >> y >> z;
if (x % 3 == 0 || y % 3 == 0 || z % 3 == 0) cout << "Yes" << endl;
else cout << "No" << endl;
return 0;
}
iqueue02