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