結果

問題 No.1337 Fair Otoshidama
ユーザー sten_san
提出日時 2021-01-16 00:55:03
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 407 bytes
コンパイル時間 1,811 ms
コンパイル使用メモリ 191,056 KB
最終ジャッジ日時 2025-01-17 21:04:32
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 18 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
template <typename T> using vec = vector<T>;
template <typename T> using vvec = vec<vec<T>>;
template <typename T> using lqueue = priority_queue<T, vector<T>, greater<T>>;
template <typename T> using gqueue = priority_queue<T, vector<T>, less<T>>;

int main() {
    int x, y, z; cin >> x >> y >> z;
    cout << ((x + y + z) % 3 == 0 ? "Yes" : "No") << endl;
}

0