結果
| 問題 |
No.1337 Fair Otoshidama
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-08-31 22:23:30 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 8 ms / 2,000 ms |
| コード長 | 452 bytes |
| コンパイル時間 | 3,406 ms |
| コンパイル使用メモリ | 142,492 KB |
| 最終ジャッジ日時 | 2025-01-24 04:19:36 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 20 |
ソースコード
#include <algorithm>
#include <array>
#include <cmath>
#include <cstdio>
#include <deque>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <optional>
#include <queue>
#include <set>
#include <stack>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using namespace std; // NOLINT
int main() {
uint32_t x, y, z;
cin >> x >> y >> z;
cout << ((x + y + z) % 3 == 0 ? "Yes" : "No") << endl;
return 0;
}