結果
| 問題 | No.1337 Fair Otoshidama |
| コンテスト | |
| ユーザー |
merom686
|
| 提出日時 | 2021-01-15 21:38:49 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 307 bytes |
| 記録 | |
| コンパイル時間 | 950 ms |
| コンパイル使用メモリ | 88,704 KB |
| 最終ジャッジ日時 | 2025-01-17 18:45:08 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 20 |
ソースコード
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <cstring>
#include <cstdlib>
#include <cmath>
using namespace std;
using ll = long long;
int main() {
ll x, y, z;
cin >> x >> y >> z;
cout << (((x + y + z) % 3 == 0) ? "Yes" : "No") << endl;
return 0;
}
merom686