結果

問題 No.892 タピオカ
ユーザー trineutron
提出日時 2019-09-28 04:51:15
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 240 bytes
コンパイル時間 1,668 ms
コンパイル使用メモリ 165,244 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-25 10:37:13
合計ジャッジ時間 2,199 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
    long a, b, c, d, e, f;
    cin >> a >> b >> c >> d >> e >> f;
    if ((a + c + e) % 2 == 0) {
        cout << ":-)" << endl;
    } else {
        cout << ":-(" << endl;
    }
}
0