結果

問題 No.1337 Fair Otoshidama
ユーザー mmn15277198
提出日時 2021-01-21 17:26:52
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 286 bytes
コンパイル時間 620 ms
コンパイル使用メモリ 68,140 KB
実行使用メモリ 6,816 KB
最終ジャッジ日時 2024-12-24 19:25:53
合計ジャッジ時間 1,725 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 19 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;
using ll = long long;

int main(){
	int a , b , c;
	cin >> a >> b >> c;
	a += 100;
	b += 100;
	c += 100;
	if((a + b + c) % 3 > 0){
		cout << "No" << endl;
	}else{
		cout << "Yes" << endl;
	}
	
	return 0;
}
0