結果

問題 No.892 タピオカ
ユーザー Mcpu3
提出日時 2019-09-28 10:39:08
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 258 bytes
コンパイル時間 533 ms
コンパイル使用メモリ 68,480 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-01 15:17:46
合計ジャッジ時間 1,140 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <numeric>
#include <vector>
using namespace std;

int main() {
	vector<int> A(3), B(3);
	for (int i = 0; i < 3; ++i) cin >> A[i] >> B[i];
	if (accumulate(A.begin(), A.end(), 0) % 2) cout << ":-(";
	else cout << ":-)";
}
0